Skip to Content
0
Former Member
Dec 21, 2007 at 04:12 PM

Function published as web service does not execute in correct client

70 Views

Hello All,

I want to use a function call as a web services. Therefore I create the function call in ABAP and test it in ABAP first. It is working and I got the correct answer from my ABAP coding.

Then I go into the menu Utilities->More utilities->Create webservices->From the function module.

Follwo the wizard and get my webservice publiushed into WSADMIN. So far so good.

Then I test my Wsdl into wsnavigator.

But I program into client 020 and publish the web service into client 020. Then when I have to use it into test client (040) I need to publish again my web service into client 040.

When I test this webservice call with url configured for client 040, the function call always call client 020?

Can somebody tell me where and what should I change in the url/web service generation to have my function/sweb service working in client 040?

Url looks like

http://...../sap/bc/srt/rfc/sap/ZBAPI_REG_AUTH_GET?sap-client=040&wsdl=1.1&mode=sap_wsdl

and in the wsdl

....

- <wsdl:service name="ZBAPI_REG_AUTH_GETService">

- <wsdl:port name="ZBAPI_REG_AUTH_GETSoapBinding" binding="tns:ZBAPI_REG_AUTH_GETSoapBinding">

<soap:address location="http://..../sap/bc/srt/rfc/sap/ZBAPI_REG_AUTH_GET?sap-client=040" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Thanks a lot.

André-Louis