cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse proxy settings needed for exposing webservice to external world?

Former Member
0 Kudos

Hi guys,

Internal PI system have exposed a WebService endpoint URL. There is firewall point lets say it <EXT_POINT:EXT_PORT>, which is accessible from outside the company premises, with http://<EXT_POINT:EXT_PORT>/<SomeService>, then request is forwarded to the PI. However, I believe on PI system, the reverse proxy should be configured. What I shall do is to setup the HTTP mapping:

<EXT_POINT:EXT_PORT> TO <PI_SYSTEM:PI_HTTP_PORT>

and

<SomeService> TO XISOAPAdapter/MessageServlet?channel=<PARTY>:<SENDER_COMP>:<CHANNEL>

Or am I missing something in the whole picture ..?

Thanks,

Lalo

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rajesh,

1) I am speaking for the functionality found in PI NWA "SOA Middleware Global Settings: Reverse Proxy", not for some other standalone revese proxy and the routing it can provide

2) I want to rewrite the

External URL

http://<EXT_POINT>:<EXT_PORT>/<SomeService>;

To Internal URL

http://<PI_HOST>:<PI_PORT>/XISOAPAdapter/MessageServlet?channel=<SEND_PARTY>:<SEND_COMP>:<CHANNEL>;

in order that "external world" do not have concrete details about the SEND_COMP and CHANNEL, but just to call <SomeService>.

That's why I need URL rewriting (and HTTP WS mapping)

Best Regards,

Lalo

Former Member
0 Kudos

Hello,

Please correct me if my understanding is wrong.

You have exposed a webserice in your PI system which should be called by an external application through firewall. Reversre proxy rule should be set up in the proxy server to route the incoming request to appropriate URL (i.e) SOAP adapter URl or Integration engine URL.

Former Member
0 Kudos

Hi,

You don't need to setup rules for each partner or each interface. which requires lot of rule set up at reverse proxy server table. To avoid this, I would suggest to have a common rule for SOAP adapter and HTTP adapter which should be maintained in proxy server.

Let say, your webservice URL in SAP PI is something like this,

http://<; PI host>:< PI port>/XISOAPAdapter/MessageServlet?channel=:<Service>:<channel name>

and reverser proxy server URL ( exposed to external world....URL should have Business servie, communication details as well)

http://<; Reverse proxy server host>:< Reverse proxy server port>/XISOAPAdapter/MessageServlet?channel=:<Service>:<channel name>

then the rule should be set like,

whatever request coming from any application with http://<; Reverse proxy server host>:< Reverse proxy server port>/XISOAPAdapter/ ** then route the request to http://<; PI host>:< PI port>/XISOAPAdapter/**.

So the webservice request will be routed to respective interface.

The same way can be applied for HTTP.

Hope this helps.

Thanks

Rajesh

Edited by: Rajesh on Jun 23, 2010 9:52 PM