on 04-07-2009 7:40 AM
hi all,
we are trying to integrate SAP and Smallworld(GIS). Whenever we are sending a request along with username and password in the SOAP request header to SAP XI server, then it is failing at authentication level and throwing a message
"http://ECC6-SERVER:8000/sap/xi/engine terminated due to error in logon "
But in SOAPUI when we enter username and password in the request properties then we are getting appropriate results please help to resolve the problem.
Thanks
Sam
i got useful answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got useful answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i got useful answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
That's because the authentication you have to implement is BASIC authentication, so the user and password goes on the HTTP header and not on the SOAP header level.
That explains why in SOAPUI you are able to post the request and get results.
Good luck,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
It really depends how are you calling PI from your external application. Normally you have to set the HTTP header called "authentication".
In SOAPUI you can open the tab/button http log (under the request window) to see how this header is set and sent to SAP PI.
Another option is to switch off the authentication of your webservices in SAP PI. That ofcourse will open a possible security risk on that same environment but then you don't need to provide any credentials anymore. If you want to do that, then you need to ask the BASIS guys to configure that in the Java Visual Administrator tool.
Regards,
Roberto
Hi Roberto
We are trying to integrate SAP with SmallWorld. Whenever we are sending the request1 to XI server from SOAPUI, then it shows LOGON ERROR because we are not supplying username and password explicitly.
request1
<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://Query_Builder">
- <SOAP-ENV:Header>
- <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
- <wsse:UsernameToken>
<wsse:User>user</wsse:User>
<wsse:Password>psswd</wsse:Password>
<wsse:sap-client>001</wsse:sap-client>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
- <SOAP-ENV:Body>
- <ns0:Query_Request_MT xmlns:ns0="http://query_builder">
<Class>DIST_TRANSFORMER</Class>
<Class_Type>002</Class_Type>
<Weight_Low>0</Weight_Low>
<Weight_High>10</Weight_High>
</ns0:Query_Request_MT>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
whereas for the request2 as well as request1 if we provide username and password in the request properties tab in SOAPUI then
request2
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:quer="http://query_builder">
<soapenv:Header/>
<soapenv:Body>
<quer:Query_Request_MT>
<Class>DIST_TRANSFORMER</Class>
<Class_Type>002</Class_Type>
<Weight_Low>0</Weight_Low>
<Weight_High>10</Weight_High>
</quer:Query_Request_MT>
</soapenv:Body>
</soapenv:Envelope>
it gives the correct output.
But we are intending to send the username and password details with the request itself instead of supplying them explicitly.
Thanks in advance
Sam
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.