on 06-03-2009 7:45 AM
Hi,
i have scenario (XML file to RFC), it's by BPM, I can see XML content by file sender adapter but can't get detail field data into my data type of interface. what's wrong, please advise! Thanks!
my data type as follows,
EXPORT Complex type
SHIP element
INVOICE element
and file content as follow
<?xml version="1.0" ?>
- <EXPORT>
<SHIP>A</SHIP>
<INVOICE>ZZ12387379</INVOICE>
<?xml version="1.0" ?>
</EXPORT>
Hi,
If this is the your source XML file, then it is not proper.
Remove the bold line and try again.
<?xml version="1.0" ?>
<EXPORT>
<SHIP>A</SHIP>
<INVOICE>ZZ12387379</INVOICE>
<?xml version="1.0" ?>
</EXPORT>
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> I still can't understand, Could you give me more information? Thanks!
when you receive/ process an XML....this XML has a namespace associated to it.....which in your case should be http://aaa.bbb.com/SVRFIS/Forwarder_File.
However looking at your Payload ther is no namespace in it....so what you do is...open the Interface/Message mapping--- go to the Test tab and click on the SRC tab and then check what/ how the namespace should be or rather how the XML should be while testing...it would be something like:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Name xmlns:ns0="http://aaa.bbb.com/SVRFIS/Forwarder_File">
>
> it still can't get field data content in message after add follows in my XML file
> <?xml version="1.0" encoding="UTF-8"?>
> <ns0:MT_Name xmlns:ns0="http://aaa.bbb.com/SVRFIS/Forwarder_File">
>
> what's wrong! please advise,Thanks!
you just need to check in the SRC tab (IM/ MM ---> test) what is the format of the first two lines .....
if there is no namespace alongwith MT then check if there is any in the MT definition....if there is no reference to namespace at both the locations then you need not add it in the XML...
hi,
>>>but can't get detail field data into my data type of interface. what's wrong, please advise! Thanks!
maybe you created the data type in a wrong way?
create a mapping and put your message type (based on this data type) inside
open TEST tab and you will see how the data type is represented there
is it the same as your XML file ?
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 |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.