Hello Bastian,
I tried several ways with soapUI as you mentioned, but I never get it to work.
I tried with this authentication types:
- User authentication (sap.Xcelsius)
- B1 Authentication
But I always get an unauthorized error:
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "HTTP/1.1 401 Unauthorized[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Set-Cookie: JSESSIONID=5EB57F06A0B4E11F3C3425CC61E5CBC9; Path=/B1iXcellerator; HttpOnly[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "WWW-Authenticate: Basic realm="B1iP_soap_/vP.001sap0003.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc"[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Content-Type: text/html[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Content-Length: 962[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Date: Sat, 25 Oct 2014 15:44:04 GMT[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "Server: [\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:<< "
SAP B1iP detected an error:
Emitted HTTP-Code:
401 - UnauthorizedInternal Reason:
XCL199 Authentication required; further details: Reason: not able to find the assigned user id in SAP Business One
Recommendation:
Check for the correctness of your activity or environment or ask your system-administrator for further help.
Full Internal Error Message:XCL199 Authentication required; further details: Reason: not able to find the assigned user id in SAP Business One
Log-ID:LID14102507571863119551C0A838651468
My SOAP request is:
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "POST /B1iXcellerator/exec/soap/vP.001sap0003.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc HTTP/1.1[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "SOAPAction: ""[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Content-Length: 174[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Host: POSTO071:8080[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Cookie: JSESSIONID=C7828E9D9BA53D499EDACBB649B455E5[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Cookie2: $Version=1[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "Authorization: Basic ZW4tVVMvbWFuYWdlci9ERU1POnNic3M=[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "[\r][\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> "[\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> " [\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> " [\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> " [\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> " [\n]"
- Sat Oct 25 16:44:14 BST 2014:DEBUG:>> ""
Do you have any idea what could be the problem?
The webservice username I'm using is in the format en-US/manager/DEMO and normal SBO password for manager.
Regards,
mdias