cancel
Showing results for 
Search instead for 
Did you mean: 

XML format issue for source structure....

Former Member
0 Kudos

Hi Experts,

I work on a interface as "File to ABAP Proxy". The incoming file is in XML format.

There is a incoming xml file to PI i did the structure same like the IB file, bt when checking the source with the test file its not coming.

(Below is from the input file)

<?xml version="1.0" encoding="ISO-8888-88"?>

<Envelope xmlns="http://asf.xxxxx">

<Sender>

<Id idOwner="EXT0">

When I try using encoding-"UTF-8">  and remove the <Envelope xmlns="http://asf.xxxxx"> the fields are in greenin Msg Mapping.


Also I tried to generate XSD using the incoming XML, but once the xsd is generated using th ALTOVA the nodes are in different orders.(change in stucture)



Can any on tell how should I go for this....

View Entire Topic
Former Member
0 Kudos

Hi

Please create the XSD from the input xml and then use the same as external definition in SAP PI.

I don't think the order of the fields in the input strcuture will have any impact on the interface.

Thanks,

Indrajit

Former Member
0 Kudos

HI Indrajit,

I have created the xsd from the input xml and used.