cancel
Showing results for 
Search instead for 
Did you mean: 

webservices call using xsd

Former Member
0 Kudos

I got an excel sheet (CSV) with schema description,i want to convert to an xsd is there to any tool convert automatically,i have a wsdl file the messages in the wsdl can be used to call webservices or i have to take xsd,i am confused because when i am working on a scenario

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

This weblog says that we have to take xsd for the message structure (At my first try i used the messages getDistanceRequest and getDistanceResponse in my mapping but later found out that it wasnt the message structure that the webservice expected.) For the response structure of the SOAP i created a XSD and imported it as a external definition.

In some scnearios which i have seen for the webservices they have taken wsdl.

In my work i have to work with rfc to webservices,so any please help me out how to take the message structure in message mapping.

Thanks

sriram

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Abhy

My scenario is calling external webserivces from rfc.I have wsdl to call webservice &rfc functional module in sap r3.I will go thru the links which u have send.Thanks for your help.i am worried because i dint work on the webservices before............

Thanks

sriam

Former Member
0 Kudos

Hi Sriram,

please go thru the link below and see if u have followed the steps mentioned in it while defining the web service. if it still doesn’t help you, please do give a little more detail about the scenario you are doing...

http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm

You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

You've to expose your outbound message interface as a WSDL which can be used by say EP.

Also go thru the following threads

In any B2B scenario, you're going to have stricter security requirements. XI and other SAP applications in the vast majority of cases reside within the internal network of a company, as I'm sure it does for your company A. It is recommended to have some kind of reverse proxy/web switch hardware/software residing in the DMZ to intercept the external request. Direct requests (especially HTTP) by most, if not all, companies will not be allowed to freely pass to applications within a company's intranet.

SAP has something called the Web Dispatcher that is commonly used for such a purpose. You can find more info on it at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm

You'll also find some visuals and more security related topics at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/frameset.htm

In addition, you'll probably require a more secure transport protocol like HTTPS/SSL as well.

Regards,

Abhy

Former Member
0 Kudos

Thanks moorthy for immediate response,i will try to work with wsdl and let u know if i have any problems,if i want to work on file webservice file i need to use bpm or there is another alternative.

But last time when i am working on the scenraio

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

i have taken initially wsdl as the message structure but the scenario dint work,when i used xsd for the response as its given in weblog it was working fine.....

Thanks

sriram

moorthy
Active Contributor
0 Kudos

HI Sriram,

If you have to call Webservice, then you need to use wsdl as a Message Type . FOr this you can download wsdl and import into External Definition.

You will be having Request/Response in the Wsdl itself. No need of creating new one for Response.

>>> In mappings (2)

1) RFC req source and WSDL ReQ Target (External Definition)

2) WSDL Res as a Source Structure and RFC Response as a Target Structure

Check these Threads

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Hope this helps,

Regards,

Moorthy