Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Basic doubts related to interfaces using webservices...

Former Member
0 Likes
347

Hi,

I am new to Webservices, XML, ST and XSLT. I have read couple of blogs on sdn and they have been very helpful. Still I had some basic doubts. If someone can clear it, that would be great.

For interfaces in our project, instead of using <b>.NET connector</b> between non-SAP and SAP systems, we are planning to use <b>webservices</b> now.

Following are my doubts associated with this.

1) When I say consuming webservices, in simple terms does it mean that I will get the data from non-sap system in XML format ?

2) Is there some way that the whole XML datastream can be automatcially converted in to ABAP data, so that I can then pass that ABAP data to my custom Function module ?

3) If the answer to Q2 is no, then do I need to know the XML datastream beforehand so that I can write a ST or XSLT code (CALL TRansformation) to convert (filter) it in ABAP data or is there a way I can write a generic ST or XSLT to convert the data from any type of incoming XML datastream to ABAP data structure ?

In other words , is the coding of ST or XSLT Transformation is based on the type of incoming XML datastream ?

Inputs will be greaty apprciated and awarded.

Regards,

Rajesh.

Hi,

I am new to Webservices, XML, ST and XSLT. I have read couple of blogs on sdn and they have been very helpful. Still I had some basic doubts. If someone can clear it, that would be great.

For interfaces in our project, instead of using <b>.NET connector</b> between non-SAP and SAP systems, we are planning to use <b>webservices</b> now.

Following are my doubts associated with this.

1) When I say consuming webservices, in simple terms does it mean that I will get the data from non-sap system in XML format ?

2) Is there some way that the whole XML datastream can be automatcially converted in to ABAP data, so that I can then pass that ABAP data to my custom Function module ?

3) If the answer to Q2 is no, then do I need to know the XML datastream beforehand so that I can write a ST or XSLT code (CALL TRansformation) to convert (filter) it in ABAP data or is there a way I can write a generic ST or XSLT to convert the data from any type of incoming XML datastream to ABAP data structure ?

In other words , is the coding of ST or XSLT Transformation is based on the type of incoming XML datastream ?

Inputs will be greaty apprciated and awarded.

Regards,

Rajesh.

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
325

1) Web services is a standard, so the providing system need not be an SAP, could be any system that is exposing the web service. When you break it down, it is XML which is passed.

2) When you consume a web service in an ABAP system, you create what is called a proxy object, which is a generated class which you will use to consume the web service and get the data. THe data will come back in an internal table which has been defined by the WSDL document. The proxy object is generated from this WSDL, so all of the strutures and table types are generated based on this WSDL document.

3) No need to know this stuff as it is automatically generated for you when you create the proxy object.

Regards,

Rich Heilman