on 01-12-2010 12:07 PM
Hi,
We have been supplied with an XSD file for an interface to a third party.
The requirement is not to interface real-time but to generate an XML file conforming to the XSD schema.
As I don't believe our backend system has any capability for generating proxies/output automatically from the XSD I was hoping I could use the XSD as an external definition in the Integration Repository so that I could generate an ABAP proxy easily from it for the required data format then write the file back to the source business system (effectively just using SAP PI to simplify the processing of the data) or allow the user to download to their PC.
The XSD doesn't have any messages only simple and complex types - I can't seem to relate (via drag and drop) them to a data or message type to generate the required objects.
Can anyone suggest the correct/easiest way to utilise the provided XSD to produce the XML output I require?
Thanks,
Alan
Hi Alan,
If my understanding is rite, you requirement is to generate the XML with the XSD being provided to you.
If that is the case, then try creating DataType and MessageType importing the XSD into your ESR. Once the MessageType is created, try using it in some message mapping as a source structure. Go to the test tab of the message mapping, you can get the xml for the same.Hope this works.
Regards,
Swetha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
>>The XSD doesn't have any messages only simple and complex types - I can't seem to relate (via drag and drop) them to a data or message type to generate the required objects.
IF you have XSD then you can directly start with the Service Interface rather than creating Message Types. XSD itself acts as a message Type.
Or if you looking to convert the XML to a XSD structure? Then try to do a google and you will find many online products (For eg: flame-ware)
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>The XSD doesn't have any messages only simple and complex types - I can't seem to relate (via drag and drop) them to a data or message type to generate the required objects.
maybe it has some reference inside to some other types which you did not get?
if so you need to import into IR/ESR all files and put the correct reference (external archives)
this would be the proper way to get the file generated according to the xml schema
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.