2008 Nov 18 5:29 PM
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.
2008 Nov 18 6:17 PM
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
2008 Nov 19 4:53 AM
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
2008 Nov 19 8:07 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |