Forum Discussion
Former_Member
8 years agoAccelerator III
getting this error:
SOAP-ENV:Envelope>
-<SOAP-ENV:Body>
-<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>'./Document Number' has an invalid token.</faultstring>
-<detail>
<af:legacy_detail>'./Document Number' has an invalid token.</af:legacy_detail>
<af:exception message =" './Document Number' has an invalid token. " type ="System.Xml.XPath.XPathException " />
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
code is :
Innovator inn = this.getInnovator();
if (this.getProperty("classification","") == "Design Document")
{
this.setProperty("Document Number",inn.getNextSequence("Design Document"));
}
else if (this.getProperty("classification","") == "Engineering Document")
{
this.setProperty("Document Number",inn.getNextSequence("Engineering Document"));
}
else if (this.getProperty("classification","") == "Specification Document")
{
this.setProperty("Document Number",inn.getNextSequence("Specification Document"));
}
return this;