ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP 1.2 Webservice Response Issue with ContentType

Post new topic  Reply to topic
 SOAP 1.2 Webservice Response Issue with ContentType « View previous topic :: View next topic » 
Author Message
wmbprimer
PostPosted: Mon Nov 11, 2013 10:31 am    Post subject: SOAP 1.2 Webservice Response Issue with ContentType Reply with quote

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.

Any inputs highly appreciated.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 11, 2013 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

see if you have the same problem with one of the sample applications.
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Nov 11, 2013 10:53 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP 1.2 Webservice Response Issue with ContentType
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.