cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Enterprise Services

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Mail sent !

Thanks

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks for your help!

Since we do not have SAP J2EE Engine installed, do that would be a Problem ?

Former Member
0 Kudos

no, you don't need an SAP J2EE engine being installed to consume a webservice.

of course I do assume that your webservice is up and running properly.

what is the platform from which you want to consume the webservice?

anton

Former Member
0 Kudos

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)

Former Member
0 Kudos

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

Answers (0)