I'm using BizTalk Server 2016 Dynamic Solicit-Response send port with WCF-WebHttp adapter to handle rest api. Send pipeline and Receive pipiline have been set on the send port. While rest api client response http status 200 i don't have a problem. But rest api response http status 400, adapter throw an exception and i don't receive rest api response body. Also receive pipeline don't execute. I want to receive rest api response body json. What can i do for this issue?
<SOAP:Body>
<SOAP:Fault>
<faultcode>Microsoft BizTalk Server Negative Acknowledgment </faultcode>
<faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring>
<faultactor>https://xxxxx/external/bill</faultactor>
<detail>
<ns0:NACK Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd">
<NAckID>{D7694C87-CEA3-4C1B-BA18-3ECC2B12857A}</NAckID>
<ErrorCode>0xc0c0167a</ErrorCode>
<ErrorCategory>0</ErrorCategory>
<ErrorDescription>
System.Net.WebException: The remote server returned an unexpected response: (400) BadRequest.
{"responseCode":"POST-2013","responseDesc":"Bu işlemi yapmaya yetkili değildir.", "errorDetails":"Credential cannot use related institutionId"}
</ErrorDescription>
</ns0:NACK>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>