Auth API failed when server is remote.

Do you want to create a native client or integrate with third party applications: webservices are the solution.

Moderator: car031

khot.raj
Posts: 8
Joined: Thu Sep 08, 2016 8:14 am

Auth API failed when server is remote.

Thu Sep 08, 2016 9:16 am

I have used few APIs to upload, create document on server(localhost). Now I want to used same concept but on different machine. My server is on one machine and code to upload document on other machine. But its says "org.apache.cxf.binding.soap.SoapFault: Unexpected wrapper element {http://auth.webservice.logicaldoc.com/}login found. Expected{http://ws.logicaldoc.com}login." I am new to this concept of SOAP. I don't know how to debug it. Please can anyone help me to find out solution for this.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ID: 1
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {connection=[close], Content-Length=[318], content-type=[text/xml;charset=UTF-8], Date=[Thu, 08 Sep 2016 06:52:35 GMT], Server=[Undisclosed/8.41]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelop ... Unexpected wrapper element {http://auth.webservice.logicaldoc.com/}login found. Expected {http://ws.logicaldoc.com}login.</faultstring></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Auth API failed when server is remote.

Wed Sep 14, 2016 4:36 pm

Hi khot.raj,
if you're using LogicalDOC version 7.5.2
you should definitely look at the latest Java samples we published today

http://wiki.logicaldoc.com/wiki/Binding ... A_Examples

Be aware that the version of your LD server must be 7.5.2 or upper and that firewall is turned off on the server or properly configured to allow you to connet to the remote server.
khot.raj
Posts: 8
Joined: Thu Sep 08, 2016 8:14 am

Re: Auth API failed when server is remote.

Tue Sep 20, 2016 9:08 am

Thanks mate. Problem has been solved.

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 20 guests