on 12-05-2005 1:40 PM
Hi,
Below is the XML response we generate and send it to HTTP Receiver.
- <ns1:CATSIMPORT xmlns:ns1="urn:pweh.com:erp:hr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Version>1.0</Version>
<TrackID>{5A3C87A5-48FD-4BCD-9178-A200F10F118D}</TrackID>
- <ReturnCode>
<value>Success</value>
</ReturnCode>
</ns1:CATSIMPORT>
Can we remove the first and last line of the xml content and send it.
Please send in your suggestions or answers.
Regards,
Amar Nemalikanti
hi amar,
Use External Definitions, this will solve the namespace problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a look at the following blog. This may throw some light.
<a href="/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi:///people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
regards
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amereshwar,
You can via a Java Mapping, scan for the first and last tag and do not put them in the return messagestream.
But if you remove the first and last tag, you will not get a valid xml file.
Cheers,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I still get the namespace attached in the xml content. I believe XI automatically attaches the namespace in all xml files it generates from it.
The problem is that the receiver end is a BizTalk system and they are not able to read the response xml payload because of the namespace.
Please pass on some more ideas.
Regards,
Amar
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.