moningisatish
Programmer
Hi Team,
I am invoking these web services following way,
Step 1 : I am invoking authenticateUser from Authentication web service using username and password. I am getting Authentication token
Step 2 : I am invoking getCategoryTemplate in DocumentManagement web service using categoryID, I am getting following response.
<S:Envelope xmlns:S=" <S:Header>
<OTAuthentication xmlns="urn:api.ecm.opentext.com">
<AuthenticationToken>s1xghy596F9YO0yFXmrNJfWGMA1o42%2Fjh1SCU0KFK8U%3D</AuthenticationToken>
</OTAuthentication>
</S:Header>
<S:Body>
<GetCategoryTemplateResponse xmlns="urnocMan.service.livelink.opentext.com" xmlns:ns2="urn:Core.service.livelink.opentext.com">
<GetCategoryTemplateResult>
<DisplayName>satishCategory</DisplayName>
<Key>188354.1</Key>
<Type>Category</Type>
<Values xsi:type="ns2:StringValue" xmlns:xsi=" <ns2escription>username</ns2escription>
<ns2:Key>188354.1.2</ns2:Key>
</Values>
<Values xsi:type="ns2:StringValue" xmlns:xsi=" <ns2escription>password</ns2escription>
<ns2:Key>188354.1.3</ns2:Key>
</Values>
</GetCategoryTemplateResult>
</GetCategoryTemplateResponse>
</S:Body>
</S:Envelope>
step 3: Now I am invoking the createDocument using following 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>s1xghy596F9YO0yFXmrNJe8EG97yX59Idko5JQS83gA%3D</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:CreateDocument>
<urn1arentID>188791</urn1arentID>
<!--Optional:-->
<urn1:name>upload.xml</urn1:name>
<!--Optional:-->
<urn1:comment>upload by iid</urn1:comment>
<urn1:advancedVersionControl>false</urn1:advancedVersionControl>
<!--Optional:-->
<urn1:metadata>
<!--Zero or more repetitions:-->
<urn1:AttributeGroups>
<!--Optional:-->
<urn1isplayName>satishCategory</urn1isplayName>
<!--Optional:-->
<urn1:Key>188354.1</urn1:Key>
<!--Optional:-->
<urn1:Type>Category</urn1:Type>
<!--Zero or more repetitions:-->
<urn1:Values>
<!--Optional:-->
<urn2escription>name</urn2escription>
<!--Optional:-->
<urn2:Key>188354.1.2</urn2:Key>
</urn1:Values>
<urn1:Values>
<!--Optional:-->
<urn2escription>password</urn2escription>
<!--Optional:-->
<urn2:Key>188354.1.3</urn2:Key>
</urn1:Values>
</urn1:AttributeGroups>
</urn1:metadata>
<!--Optional:-->
<urn1:attach>
<urn2:CreatedDate>2014-12-02T15:38:29.770+05:30</urn2:CreatedDate>
<!--Optional:-->
<urn2:FileName>upload.xml</urn2:FileName>
<urn2:FileSize>2139</urn2:FileSize>
<urn2:ModifiedDate>2014-12-02T15:38:29.770+05:30</urn2:ModifiedDate>
<urn2:Contents>giving contents in Base64Binay format</urn2:Contents>
</urn1:attach>
</urn1:CreateDocument>
</soapenv:Body>
</soapenv:Envelope>
When I give this request, I am getting error as
<faultcode>Core.ServiceException</faultcode>
<faultstring>DocumentManagement.CreateDocument() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs.</faultstring>
<detail>
<ns2:exception class="javax.xml.ws.soap.SOAPFaultException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" xmlns:ns2=" <message>DocumentManagement.CreateDocument() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs.</message>
Please let me know where I went wrong. I am very new to OT Livelink. I am not a livelink programmer. I am a SOA developer. I need to create a SOA application which will be used by Siebel programmer.
Thanks and Regards,
Thanks & Regards
Satish Moningi
Systems Engineer, Hyderabad
IBM Certified BPM Advanced V8.0 Integration Developer.
From SOAP UI I have imported three web services name Authentication, ContentService, DocumentManagement
I am invoking these web services following way,
Step 1 : I am invoking authenticateUser from Authentication web service using username and password. I am getting Authentication token
as a response from this serviceStep 2 : I am invoking getCategoryTemplate in DocumentManagement web service using categoryID, I am getting following response.
<S:Envelope xmlns:S=" <S:Header>
<OTAuthentication xmlns="urn:api.ecm.opentext.com">
<AuthenticationToken>s1xghy596F9YO0yFXmrNJfWGMA1o42%2Fjh1SCU0KFK8U%3D</AuthenticationToken>
</OTAuthentication>
</S:Header>
<S:Body>
<GetCategoryTemplateResponse xmlns="urnocMan.service.livelink.opentext.com" xmlns:ns2="urn:Core.service.livelink.opentext.com">
<GetCategoryTemplateResult>
<DisplayName>satishCategory</DisplayName>
<Key>188354.1</Key>
<Type>Category</Type>
<Values xsi:type="ns2:StringValue" xmlns:xsi=" <ns2escription>username</ns2escription>
<ns2:Key>188354.1.2</ns2:Key>
</Values>
<Values xsi:type="ns2:StringValue" xmlns:xsi=" <ns2escription>password</ns2escription>
<ns2:Key>188354.1.3</ns2:Key>
</Values>
</GetCategoryTemplateResult>
</GetCategoryTemplateResponse>
</S:Body>
</S:Envelope>
step 3: Now I am invoking the createDocument using following 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>s1xghy596F9YO0yFXmrNJe8EG97yX59Idko5JQS83gA%3D</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:CreateDocument>
<urn1arentID>188791</urn1arentID>
<!--Optional:-->
<urn1:name>upload.xml</urn1:name>
<!--Optional:-->
<urn1:comment>upload by iid</urn1:comment>
<urn1:advancedVersionControl>false</urn1:advancedVersionControl>
<!--Optional:-->
<urn1:metadata>
<!--Zero or more repetitions:-->
<urn1:AttributeGroups>
<!--Optional:-->
<urn1isplayName>satishCategory</urn1isplayName>
<!--Optional:-->
<urn1:Key>188354.1</urn1:Key>
<!--Optional:-->
<urn1:Type>Category</urn1:Type>
<!--Zero or more repetitions:-->
<urn1:Values>
<!--Optional:-->
<urn2escription>name</urn2escription>
<!--Optional:-->
<urn2:Key>188354.1.2</urn2:Key>
</urn1:Values>
<urn1:Values>
<!--Optional:-->
<urn2escription>password</urn2escription>
<!--Optional:-->
<urn2:Key>188354.1.3</urn2:Key>
</urn1:Values>
</urn1:AttributeGroups>
</urn1:metadata>
<!--Optional:-->
<urn1:attach>
<urn2:CreatedDate>2014-12-02T15:38:29.770+05:30</urn2:CreatedDate>
<!--Optional:-->
<urn2:FileName>upload.xml</urn2:FileName>
<urn2:FileSize>2139</urn2:FileSize>
<urn2:ModifiedDate>2014-12-02T15:38:29.770+05:30</urn2:ModifiedDate>
<urn2:Contents>giving contents in Base64Binay format</urn2:Contents>
</urn1:attach>
</urn1:CreateDocument>
</soapenv:Body>
</soapenv:Envelope>
When I give this request, I am getting error as
<faultcode>Core.ServiceException</faultcode>
<faultstring>DocumentManagement.CreateDocument() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs.</faultstring>
<detail>
<ns2:exception class="javax.xml.ws.soap.SOAPFaultException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" xmlns:ns2=" <message>DocumentManagement.CreateDocument() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs.</message>
Please let me know where I went wrong. I am very new to OT Livelink. I am not a livelink programmer. I am a SOA developer. I need to create a SOA application which will be used by Siebel programmer.
Thanks and Regards,
Thanks & Regards
Satish Moningi
Systems Engineer, Hyderabad
IBM Certified BPM Advanced V8.0 Integration Developer.