BizUnit with WCF WSHttp Adapter


i using bizunit test service....

my recive port using wcf-wshttp addapter

while submitteing request using bizunit got error

cannot process message because content type 'text/xml; charset=utf-8' not expected type 'application/soap+xml; charset=utf-8'.

on researching found error because

"this mismatch in client/server bindings, message version in service uses soap 1.2 (which expects application/soap+xml) , version in client uses soap 1.1 (which sends text/xml). wshttpbinding uses soap 1.2, basichttpbinding uses soap 1.1"

is there way bizunit work wcf-wshttp adapater , can submit request..

hi,

for issue, you can try use 2 methods below:

1. change , make binding information in client , service same.

2.  make the custombinding to change basichttpbinding. use soap 1.2 instead of soap 1.1 message encoding.

for details, please check links below:

http://www.pvle.be/2008/10/soap-12-message-format-with-basichttpbinding/

http://www.dotnetfunda.com/forums/thread3652-cannot-process-the-message-because-the-content-type-39textxml-cha.aspx

best wishes,


catherine
msdn community support | feedback us
develop , promote apps in windows store
please remember mark replies answers if , unmark them if provide no help.



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'