none
EDI Request/Response using WCF Adapter RRS feed

  • General discussion

  • Real Time EDI Request/Response using WCF

    http://blog.tsathish.com/?p=113

     


    Sathish
    Saturday, September 25, 2010 10:56 PM

All replies

  • [4688] <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><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>net.tcp://localhost:10500/SubmitBTSMessage</faultactor><detail><ns0:NACK Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{3C76B3F8-21EC-4169-9649-23D1326F8D56}</NAckID><ErrorCode>0xc0c016aa</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>There was a failure executing the response(send) pipeline: "BTS27677.ReqResponseEDISend, BTS27677, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9e7afc091cc9262a" Source: "EDI assembler" Receive Port: "ReqResp" URI: "net.tcp://localhost:10500/SubmitBTSMessage" Reason: Root element is missing. </ErrorDescription></ns0:NACK></detail></SOAP:Fault></SOAP:Body></SOAP:Envelope>

    SV
    Tuesday, October 5, 2010 4:49 PM
  • You are getting this due to the Default Empty Message created by BizTalk Server for Request/Response Port to create the Subscription.

    When the Empty message reaches Send Pipeline EDI Assembler will not be able to recognize the Empty Message an gives the specified error.

    To avoid this error in the Receive Pipeline create a custom component to set the RouteDirectToTP Propertyto false.

    I have attached the source code to blog, have a look at the custom component. It will help you.


    Sathish
    Wednesday, October 6, 2010 3:14 AM