on 04-07-2009 1:29 PM
Hi all
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
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,
I have done a lot of Smallworld-SAP integration and I'm interested in what you are doing. On the Smallworld side are you using SBI or are you tring the new GeoSpatial Server 4.1.1?
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>But we are intending to send the username and password details with the request itself instead of supplying them explicitly.
The standard way for SOAP authentication is the HTTP User Name and Password only. If you dont want rhis you can probably go for digital certificates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.