cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing the Webservice endpoint

former_member186851
Active Contributor
0 Kudos

Hello Tean,

If we have a webservice sender scenario,we will configure the Soap Sender adapter and give the Endpoint to Client to the WSDL.

Two URLS are possible that is a normal case

Is there a way to customize the endpoint with just system details in the URL?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Raghuraman,

You need to make use of reverse proxy for such a case with respect to your system details.

Regards,

Souvik

former_member186851
Active Contributor
0 Kudos

Hello Souvik,

I also heard of reverse proxy, How to achieve it?

Apart from that any way?

Former Member
0 Kudos

Hello Raghuraman,

The actual url which you have for the client, that will be converted into the required format if you contact your global service desk where if you raise a request, they will give you the required format.

Global service desk is project specific.

Regards,

Souvik

former_member186851
Active Contributor
0 Kudos

Hello Souvik,

And how to do reverse proxy?

Former Member
0 Kudos

Hello Raghuraman,

You needn't need to perform anything extra in case of reverse proxy (just for information). The Service desk performs the required operation in case of reverse proxy as I have described in my previous post. Basically, this is what we have in our project.

Additional remarks : In case of SOAP being on the sender side, the interface will always be dual stack.

Regards,

Souvik

former_member186851
Active Contributor
0 Kudos

Hello Souvik,

The service desk will change the endpoint for webservices?

In case of SOAP being on the sender side, the interface will always be dual stack.

we have single stack, so this option is not possible?

Former Member
0 Kudos

Hello Raghuraman,

The url which is initially in the form : http://xxx.com (lets say)

will be changed into the form http://<host>:<port>/yyy by the service desk. That is, in other words it will change the endpoint for web services.

Yes SOAP sender is possible through dual stack only.

Regards,

Souvik

former_member186851
Active Contributor
0 Kudos

Hello Souvik,

How service desk can change the URL?

Yes SOAP sender is possible through dual stack only.

What it means?

Former Member
0 Kudos

Hello Raghuraman,

Let me give a clearer picture. I know you must be knowing but I am just trying to help you out .

There is a firewall that exists  between Web service and PI system. The service desk which I am talking about actually uses the address of this firewall, in terms of host name and port number to connect PI to Web service.

Now, since we have WSDL being generated from Web service, therefore it acts like a SAP proxy (just like we have in case of ABAP proxy), and hence it acts like a dual stack.

If you note when SOAP is on the receiver side, we check the check box for "Do not use SOAP envelope". Hence we need not have a dual stack in case of receiver.

Now in your case, since you have a single stack interface, therefore, in the converted url you can add the parameter "noSOAP=true", that is,

http://<host>:<port>/yyy?noSOAP=true

OR if you have other parameters involved then try this:

http://<host>:<port>/yyy?zzzz=aaaa&noSOAP=true

On doing the above, it will avoid SOAP internally (in the form of WSDL), and hence will be applicable for single stack.

Regards,

Souvik

Answers (1)

Answers (1)

Former Member
0 Kudos

Raghuraman,

The Web Service Endpoint URL can be defined as below in the client:

http://<HOST>:<PORT>/XISOAPAdapter/MessageServlet?channel=:<BUSINESS_COMPONENT_NAME>:<CHANNEL_NAME>

You can even download the WSDL and change the HTTP URL as above and send the updated WSDL to client application.

former_member186851
Active Contributor
0 Kudos

Hello Shreyansh,

Thanks. But this is standard one. I want to customize

Former Member
0 Kudos

Hello Raghuraman,

Additional customization are possible with Web Dispatcher in addition to its core functionalities of load balancing and security. Below links will give you more information:

SAP Web Dispatcher - SAP Library

Rewriting URLs - SAP Web Dispatcher - SAP Library

former_member186851
Active Contributor
0 Kudos

Let me check on this Shreyansh.