on 01-11-2010 10:00 PM
Hello,
I use Plain HTTP adapter for calling a web service. So it's sznchronous scenario. Problem is that content-type of response payload is appliacation/octet-stream and therefore message mapping doesn't work. Is any way how to change content type to text/xml. Unfortunetally it's not possible to use modules for http plain adapter.
Thank you in advance for every advice!
Regards
Zbynek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zbynek,
>>Is any way how to change content type to text/xml. Unfortunetally it's not possible to use modules for http plain adapter.
YEs we cannptuse adapter modules, but the same logic can be used in java mapping.. and have your response interface mapping as
1. Java mapping (to change the content Type)
2. Normal message mapping..
Give this a try.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While creating receiver HTTP communication channel, you will find a option content type....give text/xml there....
Regds,
Pinangshuk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Give Content Type as " text/xml" in yout receiver HTTP adapter.
Regards,
Swetha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
In receiver HTTP adapter there is an option to change the contet type of the payload.
thanks,
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.