Forum Discussion
What is the error message are you getting ?
- gteachout6 years agoIdeator I
Thanks for the response, here is the error message I receive
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault xmlns:af="http://www.aras.com/InnovatorFault">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>
<![CDATA[Data at the root level is invalid. Line 1, position 1.]]>
</faultstring>
<detail>
<af:legacy_detail>
<![CDATA[Data at the root level is invalid. Line 1, position 1.]]>
</af:legacy_detail>
<af:exception message="Data at the root level is invalid. Line 1, position 1." type="System.Xml.XmlException"/>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>- Gopikrishnan6 years agoAccelerator II
Hi
Can you try with below
<AML>
<Item type="re_Requirement" action="add">
<classification>Text</classification>
<global_version>34012</global_version>
<req_complexity>Low</req_complexity>
<req_document_type>8DF7037346A64816B8BBD8700AFCFE15</req_document_type>
<managed_by_id>EA1E67E3DD2340CEA4D49E1670AFBCE0</managed_by_id>
<req_title>Batch load test3</req_title>
<req_priority>Low</req_priority>
<req_risk>Low</req_risk>
<content>Aras ReviewDocument Control
11977 and 12666| This goes hand and hand15964 Aras or Scale?
13207 Does Scale need Legacy classification/Remove</content>
</Item>
</AML>It it doesn't work, try removing special characters in content tags
- gteachout6 years agoIdeator I
Gopikrishnan
I tried your sugguestion and the Requirement item was created without any errors. But the text in the <content> tags was ignored. See sample of content tag data.
<content xml:lang="en"><RequirementText aras:id="0fddf12f26304b82b916cfb8c2f18e22" reqId="C2D3C4A12EC340CF89B6C40A8390FF00" xmlns:aras="http://aras.com/ArasTechDoc" xmlns="http://www.aras.com/REStandard"><Requirement-Info aras:id="f5f3f187e804454796564866249721c5"><Requirement-Chapter aras:id="a4d94950d4bb4dcd8385229a5c3883bd"><aras:emph> </aras:emph></Requirement-Chapter><Requirement-Title aras:id="e15e247fc81a4237ada1608b173d09d3"><aras:emph> </aras:emph></Requirement-Title><Requirement-Number aras:id="66bfd75999174ed0bf2bdf4d6e08cbfe"><aras:emph>Server Assigned</aras:emph></Requirement-Number></Requirement-Info></RequirementText></content>
Any thoughts?