on 05-26-2011 1:56 PM
Hi,
I have a sender file/ftp adapter which is using content conversion to generate an XML document from the contents of a text file. This works fine and when I go into the SXI Monitor I can see the XML document I expect:
<ns:DN_360BalanceExtract xmlns:ns="http://xxx">
<ns:RN_360BalanceExtract xmlns:ns="http://xxx">
<BalanceRecord>
<SerialNo>xx10000780</SerialNo>
<RegNo>A1</RegNo>
<LocationTicketIssued>ALBERT ROAD SOUTH</LocationTicketIssued>
<DateOfOffence>2008-02-15</DateOfOffence>
<TimeOfOffence>13:38</TimeOfOffence>
<OffenceDescription>xxx</OffenceDescription>
<CurrentStateOfCase>RE-OPENED; CLOSED IN ERROR</CurrentStateOfCase>
<OutstandingBalance>70.00</OutstandingBalance>
</BalanceRecord
<BalanceRecord>
<SerialNo>xx90001245</SerialNo>
<RegNo>S849KMR</RegNo>
<LocationTicketIssued>ALBION PLACE</LocationTicketIssued>
<DateOfOffence>2011-03-01</DateOfOffence>
<TimeOfOffence>10:59</TimeOfOffence>
<OffenceDescription>xxx1</OffenceDescription>
<CurrentStateOfCase>xxx</CurrentStateOfCase>
<OutstandingBalance>60.00</OutstandingBalance>
</BalanceRecord>
</ns:RN_360BalanceExtract>
</ns:DN_360BalanceExtract>
Having created the XML document from a text file I now wish to use the XML as input to a web service. This will of course involve mapping the XML document to a message in the inbound interface. Question is how do associate the XML generated with a Message Type in the outbound interface. Do I need to make sure the Document or Recordset names match that of a Message Type ?
Cheers,
PaulC.
hi,
you need to create a Data Type and a corresponding Message Type that will be of the same structure as the XML structure after the content conversion.
regards,
roi grosfeld
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul
You need to insert correct values in the Content conversion parameters.
Document name (and Document namespace) must match the name of your message type (and its namespace).
You can find more information about sender content conversion on this page:
http://help.sap.com/saphelp_nw04/helpdata/EN/0d/00453c91f37151e10000000a11402f/frameset.htm
Regards,
Giuseppe
Hi Paul
The content conversion will create a document like that if you insert DN_360BalanceExtract as Document name, "http://xxx" as namespace.
RN_360BalanceExtract will probably be your recordset, with its namespace.
More information about content conversion on sender file adapter:
http://help.sap.com/saphelp_nw04/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
I'm not sure what you mean by bound. If you mean that PI has to execute mapping you created for that DN_360BalanceExtract message type, you need to associate DN_360BalanceExtract to a message interface and then create all configuration objects and choose that message mapping when you create the interface determination object.
Regards,
Giuseppe
Giuseppe,
The XML shown in my first post is the output from the content conversion.
I think what you are saying is that if I have a message type called DN_360BalanceExtract then the output from the content conversion will be bound to the DN_360BalanceExtract message type as the Document Name and Message match . By bound I mean associated with.
PaulC.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.