on 04-10-2007 4:29 PM
Hi all
I have created web Service for an Enterprise Service.
And i could able to see the Service DEfinition in the WS Administration for SOAP Runtime.
And I collected the WSDL definition !
How do i access/use this Service from the Outside World ?
What are the Essential things that i have do it for the External Access ?
Many Thanks
hi jack,
well, the world outside is large. there are numerous platforms from which you might want to call the service. so you had to be more specific.
actually it's simple: give your WSDL URL to your partner who wants to connect to your SAP system. He's supposed to know what to do with it as long as he basically knows how to call webservices from his platform.
AS an example - if you happen to know PHP - you can have a look at this basic <a href="/people/anton.wenzelhuemer/blog/2006/03/05/integrating-php-and-abap-using-webservices of mine to get a start.
If your partner system is on a known platform you might want to search here for other blogs specific to that platform.
regards,
anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi anton
Thanks for the suggestion !
I have designed a Web Service(RFC) and able to test it from the Outside application ! I took WSDL and passed it to the Partner and he is able to use this service SUCCESSFULLY !
Then I have taken a Service Interface(which is a Inbound Message Interface) and developed a Web Service for that(based on it). I could see this Web Service on the SOAP Engine for XI Proxies ! I took the WSDL and passed it to the Partner. But unforunately when he accesses the WSDL Url on his application, he faces an Error Message saying "<b>Method present in the Web Service does not provide valid XML data</b>" .
What is causing this problem ? How could I eliminate this error ?
Thanks
hi jack,
gratz on the first one.
the new problem is hard to diagnose from a distance. sounds like the WSDL is simply broken.
if you want to, post the WSDL here or send it to my email addy to have a look at it. Note: send the WSDL, not the WSDL URL (open the URL in your browser, receive the WSDL, right click, select page source, copy, paste here or to a file).
and find out what platform(language) 'he' is using.
regards anton
As written in an email to you, duplicated for public reference:
From a qucik inspection the WSDL looks fine.
As further tests I generated WebService Consumers (aka proxies, aka clients) for this service in
- ABAP
- PHP
- VBA (MS Office 2003)
and all frameworks were able to create such consumers and instanciate them without any problems.
So, with a very high probability it's an issue of the programming environment you're in.
anton.
btw,
to the very end of the WSDL you sent me, you find a parameter <soap:address location...
Inside you find the actual URL of your service which is
http://sapsbxcrmci1.xxx.xxx.xxx.xxx:8030/sap/bc/srt/xip/sap/ZBPBASICDATAREADBYID?sap-client=300";
enter that into your browser and you can see if
- the service is reachable from your workplace
- is up and running
(it should throw a soap exception, that is, some XML stating that you didn't send any HTTP body and stuff)
Anton
When i put http://sapsbxcrmci1.xxx.xxx.xxx.xxx:8030/sap/bc/srt/xip/sap/ZBPBASICDATAREADBYID?sap-client=300 on the IE, i am getting the Error: <b>HTTP 500 Internal server Error</b>.
But this URL for getting the WSDL is working : http://sapsbxcrmci1.xxx.xxx.xxx.xxx:8030/sap/bc/srt/xip/sap/ZBPBASICDATAREADBYID?sap-client=300&wsdl...
We might want to consume the Service using any 3rd Party Integration Broker(Since we have a one alreeady running) ! Also there are possibility of consuming using InfoPath !
Thanks
User | Count |
---|---|
93 | |
10 | |
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.