on 11-18-2014 4:41 PM
Hi There,
As the direct access is not allowed from external parties to PI in our landscape. We have used a other server to redirect PI URL.
Like when 3rd party hits https://www.example.co.uk it will redirect to http://xxx.yyyy.co.uk:50000/XISSOAPAdapter/MessageServlet?channel=:BD_WebService:CC_SND_SOAP_WebServ...
When we hit the URL (https://www.example.co.uk) in browser, it asks for credentials and responds with 'Message Servlet is in Status ok'. Now we have started testing using SOAP UI with updated wsdl by keeping https://www.example.co.uk as end point.
In SOAP UI we have provided PI credentials in Auth. part and also tried in sending in Header(Authorization Basic ewee345rtrtyop89). Which did not work and response was 'java.net.unknownhostexception: www.example.co.uk' in both cases.
When accessed from Browser it is ok. But when testing, it is throwing exception as above.
We have tried the below way as well,
If 3rd party hits https://www.example.co.uk the server will redirect to http://xxx.yyyy.co.uk:50000/XISOAPAdapter/MessageServlet?Channel=:BC_WebService:CC_SND_SOAP_WebServi...
But, when https://www.example.co.uk is accessed in Browser it still prompts for credentials and from SOAP UI the response is still same.
Though we are passing the credentials in URL it is still prompting for credentials for both.
Can someone help with this to sort out?. .
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
comment removed as it is already shared.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Yes, but this did not help in our scenario. As there is a redirection when accessed externally and it also prompts for credentials when http://www.xxx.yyyy.co.uk:50000/XISOAPAdapter/MessageServlet?Channel=:BC_WebService:CC_SND_SOAP_WebS... accessed in browser.
Hello,
>>As there is a redirection when accessed externally and it also prompts for credentials when
You cannot set username/password in the Adapter engine SOAP URL call. User/password embedded in the URL only works when u are directly passing message to PI IE.
So either try to set passoword in the soap header (as suggested in the blog) or everytime while making a soap call send user name and password from the sender application.
Thanks
Amit Srivastava
Hi Amit,
Even though I access the URL directly, http://xxx.yyyy.co.uk:50000/XISOAPAdapter/MessageServlet?Channel=:BC_WebService:CC_SND_SOAP_WebServi... it is prompting for the password. Is there something in above format?
The credentials have to be part of HTTP header but not part of the URL.(unlike HTTP_AAE adapter where in you can pass credentials as part of URL)
You have to set this authentication information as HTTP header when you reroute the request to PI.
That is how Soap adapter works.
Have a look at the below discussion and see if that helps in setting the HTTP header with PI user credentials in base64 encoded format as suggested in the blog.
Hello,
>> it is prompting for the password. Is there something in above format?
I think u haven't read my reply properly. Statement from my previous post -
You cannot set username/password in the Adapter engine SOAP URL call. User/password embedded in the URL only works when u are directly passing message to PI IE.
Thanks
Amit Srivastava
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.