WCF BasicHttp Sendport and empty SOAP action


hi

we have integrate soap service uses empty soap action (""). how can call service using biztalk? once leave action field blank in send port configuration, biztalk not sending soap action.

if enter "" in action field, biztalk sends """"....

do have suggestions?

regards

hi mrks83,

as per w3c notes:

the soapaction attribute specifies value of soapaction header operation. uri value should used directly value soapaction header; no attempt should made make relative uri value absolute when making request. http protocol binding of soap, value required (it has no default value). other soap protocol bindings, must not specified, , soap:operation element may be omitted.

in .net, soapaction generated you. explicitly make empty below code, in .net think can services empty soapaction..

[operationcontract(action = "")] public void donothing() { }

did try following soap action header in send port:

<btsactionmapping xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema"> <operation name="yfcallpostmanagerrfc" action="" /> </btsactionmapping>

other option worth trying using soap adapter not wcf based adapter.


if answers question please mark accordingly. if post helpful, please vote helpful.




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'