on 01-29-2013 9:34 AM
Hi experts
I want to consume a web service that has format .svc . When I consume it in abap it results in error like No vendor specified . How to avoid this error
Thanks
Prabaharan
Hi Prabaharan,
What steps have you done so far to reach this point of your testing?
Regards, Trevor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabaharan,
You would need to generate a Consumer Proxy in SAP first. Try a search through SCN for guides on creating a Consumer Proxy for a Windows web service - you should get some hits. It creates a sort or shell for the Windows service on SAP of how your resquest message and response message whould look - and the "import" and "export" parameters.
The Consumer Proxy is generated using the WSDL (web sevice deifintion) of the the Windows Service, so you will need to get that first. Once you have the WSDL, you can generate the consumer proxy on SAP (TCode SPROXY) using this WSDL. You can then add your Abap code in this proxy to populate the calling parameters. Then you create a logical port for this proxy (also using the Windows web service WSDL) using TCode SOAMANAGER and add any necessary authentication for the web service and set it as a default port for you Consumer Proxy. When you then execute your proxy from Abap it will call initiate your request to the web service endpoint and you get a proper response (success or failure).
Regards, Trevor
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.