Page 1 of 1

Auth API failed when server is remote.

Posted: Thu Sep 08, 2016 9:16 am
by khot.raj
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

Re: Auth API failed when server is remote.

Posted: Wed Sep 14, 2016 4:36 pm
by agaspa
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.

Re: Auth API failed when server is remote.

Posted: Tue Sep 20, 2016 9:08 am
by khot.raj
Thanks mate. Problem has been solved.