on 03-31-2011 8:45 PM
Hi Guys,
I am working on a SOAP to proxy scenario for a client...I have created a WSDL from PI as usual ...
when i try testing that wsdl from soap ui i get a exception "java.net.unknown host exception "
but when i start the clients VPN...i.e i get into the clients network and then test using soap ui it works fine...
Actually the appllication that is going to consume the webservice hosted by PI is outside the clients network. so I think they will get the same exception while consuming this wsdl..
Do i need to open some ports for this..
Also in another scenario when the same application hosts a webservice and i consume it in PI ( proxy to SOAP ) it works fine without any issue
Hi Tarang,
Check if you can resolve the DNS correctly by doing a reverse ping for the hostname, for example.
Also you may try to test using the IP and Full qualified host name under /etc/hosts file just like:
<IP> <Full name of the host>
Kind regards,
Caio Cagnani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your PI server is in network. Only if you get into that network via VPN, you will be able to see host. This is pretty common.
>>Do i need to open some ports for this..
Yes, you host webservice. YOu have to tell your unix team or basis team to open port for the communication. Or that client should be authorized to work in your network.
>>Also in another scenario when the same application hosts a webservice and i consume it in PI ( proxy to SOAP ) it works fine without any issue
This is outbound. Your PI server is configured to communicate outside system. So it works. You try to enable port for inbound communication.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I have asked them to open the port...
but now the issue is they are having a DMZ zone with a webdispatcher....
So the Internet world sends the request to the web dispatcher through the firewall and then there is another firewall between the webdispatcher and the AS JAVA server of PI..
They want to know if the messages can be routed to webdispatcher or messages will go directly to the AS JAVA PI
>
> Hi ,
>
> I have asked them to open the port...
>
> but now the issue is they are having a DMZ zone with a webdispatcher....
>
>
> So the Internet world sends the request to the web dispatcher through the firewall and then there is another firewall between the webdispatcher and the AS JAVA server of PI..
>
> They want to know if the messages can be routed to webdispatcher or messages will go directly to the AS JAVA PI
If you have web dispacher in the landscape, it can route the external request to PI server. Please change host/port entry in WSDL to make it point to web dispacher host/port instead of PI server.
Regards,
Sunil Chandra
Hi Sunil,
Thanks for a quick reply....next question is ...do we have an option of skipping the webdispatcher and directly sending the data to PI.....I want to use the same host and port in the WSDL.....
OR is it compulsory for the calling application to go through the web dispatcher....
I suppose in both the cases the port needs to be opened
>
> Hi Sunil,
>
> Thanks for a quick reply....next question is ...do we have an option of skipping the webdispatcher and directly sending the data to PI.....I want to use the same host and port in the WSDL.....
>
> OR is it compulsory for the calling application to go through the web dispatcher....
>
> I suppose in both the cases the port needs to be opened
It depends on the security policy of the organisation. Normally security guys doesn't allow to expose the PI sever directly to the outside world. So it's recommended to receive the request thru web dispacher.
Yes, the port needs to be opened to receive any external request.
Regards,
Sunil Chandra
If not on VPN i am not able to ping the host name / IP address..
will an entry in host file help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.