send a message includes SOAP Header to a web service – failed

Home Page Forums BizTalk 2004 – BizTalk 2010 send a message includes SOAP Header to a web service – failed

Viewing 0 reply threads
  • Author
    Posts
    • #19572

      I fixed the issue below. That because one element has got a wrong type data.

      But now get this error:

      he adapter failed to transmit message going to send port  with URL “the web service wsdl link” It will be retransmitted after the retry interval specified for this Send Port. Details:”WebException: The remote server returned an error: (400) Bad Request.

      I can browse the webservice link, is there any other possible reasons cause this error?

      Cheers,

      ===============================================================================================

      I suspect the SOAP Header is not created correctly.

      To create the SOAP Header part I used message assignment and steps like below:

      • create a property schema using target namespace of http://schemas.microsoft.com/Biztalk/2003/SOAPHeader
      • the root name “Request” in the property schema matches the root element (defined as SOPA Header) in Reference.xsd from the web service
      • assign the XML Part of the SOAP Header as a string to the property
        msg_sendMessage(PropertySchemaName.Request)=”XML SOAP Header String”;

      Before sending the message out i saved it locally and i can only see the body part constructed for the message.

      And i got an error saying:

      Failed to serialize the message part “JobSubmitRequest” into the type “JobSubmitRequest” using namespace “http://blablabla“. Please ensure that the message part stream is created properly.

      Could anyone shed some light what would being wrong?

      Thanks,

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.