Posted: Mon Nov 11, 2013 10:31 am Post subject: SOAP 1.2 Webservice Response Issue with ContentType
Newbie
Joined: 18 Dec 2012 Posts: 8
I have a Webservice Provider flow on WMB 8 Windows.
The Consumer(.net app) getting below exception when receiving the response from MB.
My flow is: SOAP Request-->SOAP Extract-->Compute-->SOAP Reply.
I also tried without SOAP extract but no luck.
The content type text/xml;charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-. If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 389 bytes of the response were: Inner Exception:
MB is sending content type 'text/xml;charset=utf-8' but .net is expecting 'application/soap+xml; charset=utf-8'.
Is there a way from MB we can send 'application/soap+xml; charset=utf-8' from SOAP reply node/ESQL. I tried copying the Input/SOAPrequest properties to output but didn't work.
If you use the SOAP parser domain to build the response message and the WSDL on the matching SOAP Input node says the binding is SOAP 1.2 then the SOAPReply node will automatically set the content type to the SOAP 1.2 type.
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum