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

Converting WSDL to Internal Table

premal_mistry2
Active Participant
0 Likes
1,428

Hi,

I have a scenario in which I am receiving a WSDL file through EDI. Now that WSDL file contains two parts i.e. One containing Data Security part and Other is my actual data part.

Now my concern is with the actual data. I need to get the data from that WSDL file into internal table and from there into the database table.

I needed to know whether there is any sort of adapters or class through which i could convert the WSDL file into the XML file and from there I can read that XMl file into the internal table.

Hi,

I have a scenario in which I am receiving a WSDL file through EDI. Now that WSDL file contains two parts i.e. One containing Data Security part and Other is my actual data part.

Now my concern is with the actual data. I need to get the data from that WSDL file into internal table and from there into the database table.

I needed to know whether there is any sort of adapters or class through which i could convert the WSDL file into the XML file and from there I can read that XMl file into the internal table.

3 REPLIES 3
Read only

Former Member
0 Likes
896

Hi,

WSDL file itself will not contain any data, it is just the description of the web service which describes what data will be sent etc... What you will receive is a instance of the WSDL which is in XML format. Thus the data you will receive will already be in xml format. You can then use CALL TRANSFORMATION to parse that XML into a internal table. You can write a xslt for the same and call the xslt using CALL TRANSFORMATION. Refer to online documentation for the same.

regards,

Advait

Read only

0 Likes
896

Thanks Advait... your reply really helped me a lot..

So as per you there is no requirement for any sort adapters which will convert the WSDL to XML ?

Edited by: Premal Mistry on Nov 19, 2008 10:36 AM

Read only

0 Likes
896

Yes, that is correct, you won't need any kind of adapters to convert the wsdl to a xml, infact if you take a look at any wsdl, it is already in a xml format , so even if you were to parse a wsdl it would already be in a xml format.

But remember as I said WSDL only describes the webservice , the instance of a wsdl is the actual message. So WSDL is a skeleton which describes the web service and how to call it.

Take a look at this [Tutorial on WSDL|http://w3schools.com/wsdl/default.asp]

Take a look at this [Tutorial on XML|http://w3schools.com/xml/default.asp]

Hope these links will help you.

regards,

Advait