on 03-16-2013 12:38 PM
Hi,
I have a Netweaver portal, a mobile application running on a local server and a PI server in the landscape.
The PI server is hosting a webservice, which needs to be consumed using the application hosted on the local machine using Javascript(ajax) / JSP.
When the webservice is requested from the locally hosted application on Tomcat, the PI server rejects the request, because of the origin policy, as the service is being hosted in the different domain.
We want to understand if there is any work around to complete the webservice consumption.
Is there anyway we can make use of HTTP destinations configured on the portal to access the webservices on the PI server?
Any help will be appreciated.
Thanks!
The issue here is your client java application and the hosted PI web service are in the different network. Basically your web service is allowed within its network. Talk to Basis and firewalls team to allow the web service to expose for all. Or you can use network gateway devices such as F5 or apache proxy server to forward the client request to the pi server via firewall rules. If you configure gateway devices then the client will refer gateway device URL and the gateway device map the client url request to PI address and port.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roshan,
You need to expose your web service to reverse poxy server through DMZ layer web server which will communicate back n forth(Users& internal PI server) . This way the users outside your network can access to your internal network.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your JAVA based appalictaion not part of client network then PI team has to expose PI web service to outside world then only you can access it.
Some clients not ready to expose PI web services outside world then SAP Web dispatcher required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.