cancel
Showing results for 
Search instead for 
Did you mean: 

How to create 2nd web service proxy in SAP?

Former Member
0 Kudos

Hello all,

for an external web service we have created a proxy class via SE80 (this works fine). Now I want to add another proxy class that should target the same web service, but at another address (it's a test machine). The problem is now that SAP tells me it can't create this 2nd proxy, because the namespace is already in use (which is correct, because of the 1st proxy in SAP).

However, I need to create a proxy to this 2nd web service with the same name space (unfortunately they can't change it). What can I do to solve this problem, any ideas?

Thanks in advance for your help!

Kind regards, Matthias

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

create a logical point for your one WSDL and use it to call both addresses

(you can have multiple logical points per one web service client proxy)

http://help.sap.com/saphelp_nw04/helpdata/en/16/285d32996b25428dc2eedf2b0eadd8/content.htm

this way you only need to generate it once but you can call it using different addresses,

Regards,

Michal Krawczyk

Former Member
0 Kudos

thanks!

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Matthias,

Do you have a PI available?, You could create two scenarios, supposing that the data is different, with different namespaces  and in the configuration to send the request to one or another URL

Regards.

Former Member
0 Kudos

no PI available