on 01-29-2009 5:51 AM
Hi All,
I am using http receiver adapter to send a request to a website and in turn i am getting the response in a plain text format.How to get the response in an XML format so that XI can understand that?
Jack
Hi,
This could be resolved by changing the Content Type options in the HTTP Receiver Adapter
Now, I'm not sure what is exactly your requirement, but basically, it's like this:
Content Type: text/plain or application/x-www-form-urlencoded
Just make sure that the field Mask Special Characters(URL Escaping) is checked
Then
Prolog: xmldata=
Hope this helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for this you will have to ask the target HTTP application to change their application to send the HTTP response msg data in XML tags and that structure you will define in XI for recieving the HTTP response msg.
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but they are sending the response in XML only. i.e if I call that url in internet explorer it displays the response in XML format like below.
<Output> result </Output>
But the same url when I call from my http receiver adapter I am getting the same message '<Output> result </Output>' but in the text format.
Hi,
see even if you are getting the HTTP response in text and it is having data like '<Output> result </Output>' means data in a proper XML structure, then i think there is no issue in it..........just define its structure in IR for HTTP response structure and then when your target HTTP application will send a response msg, it will be received in your XI system.
Regards,
Rajeev Gupta
Hi,
i dont think that your HTTP receiver adapter setting will help you in this issue because HTTP receiver adapter settings will be used only in sending the HTTP req msg and not for getting back its response...
well, just check from your target HTTP application that they are sending the HTTP response msg to your XI integration engine URL defined in SXMB_ADM transaction in your XI system..........and get the data type XSD from HTTP application and use it in an external definition in IR and then use it in a msg interface.........then you will get your HTTP response msg in your XI system.
Regards,
Rajeev Gupta
User | Count |
---|---|
84 | |
24 | |
11 | |
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.