samyak260590
Programmer
I am trying to invoke CreateDocument Operation from SOAP UI to publish a document on LiveLink.
SOAP Request:
<soapenv:Envelope xmlns:soapenv=" xmlns:urn="urn:api.ecm.opentext.com" xmlns:urn1="urnocMan.service.livelink.opentext.com" xmlns:urn2="urn:Core.service.livelink.opentext.com">
<soapenv:Header>
<urn:OTAuthentication>
<!--Optional:-->
<urn:AuthenticationToken>hK3bSHhRx1IM%2Brc4mLM6sF6qbCWMBkh4yidLX0fYQkE%3D</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:CreateDocument>
<urn1arentID>8073372</urn1arentID>
<urn1:advancedVersionControl>false</urn1:advancedVersionControl>
<urn1:attach>
<urn2:CreatedDate>2014-12-02</urn2:CreatedDate>
<urn2:FileName>ModifyPerson</urn2:FileName>
<urn2:FileSize>12</urn2:FileSize>
<urn2:ModifiedDate>2014-12-02</urn2:ModifiedDate>
<urn2:Contents>base 64 formatted file</urn2:Contents>
</urn1:attach>
</urn1:CreateDocument>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response:
<s:Envelope xmlns:s=" <s:Body>
<s:Fault>
<faultcode xmlns:a="urnocMan.service.livelink.opentext.com">aocMan.Error</faultcode>
<faultstring xml:lang="en-US">Create failed - Name not specified.</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>
Please provide some suggestions on this.
Thanks in anticipation.
SOAP Request:
<soapenv:Envelope xmlns:soapenv=" xmlns:urn="urn:api.ecm.opentext.com" xmlns:urn1="urnocMan.service.livelink.opentext.com" xmlns:urn2="urn:Core.service.livelink.opentext.com">
<soapenv:Header>
<urn:OTAuthentication>
<!--Optional:-->
<urn:AuthenticationToken>hK3bSHhRx1IM%2Brc4mLM6sF6qbCWMBkh4yidLX0fYQkE%3D</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:CreateDocument>
<urn1arentID>8073372</urn1arentID>
<urn1:advancedVersionControl>false</urn1:advancedVersionControl>
<urn1:attach>
<urn2:CreatedDate>2014-12-02</urn2:CreatedDate>
<urn2:FileName>ModifyPerson</urn2:FileName>
<urn2:FileSize>12</urn2:FileSize>
<urn2:ModifiedDate>2014-12-02</urn2:ModifiedDate>
<urn2:Contents>base 64 formatted file</urn2:Contents>
</urn1:attach>
</urn1:CreateDocument>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response:
<s:Envelope xmlns:s=" <s:Body>
<s:Fault>
<faultcode xmlns:a="urnocMan.service.livelink.opentext.com">aocMan.Error</faultcode>
<faultstring xml:lang="en-US">Create failed - Name not specified.</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>
Please provide some suggestions on this.
Thanks in anticipation.