Soap Exception Handling and soap header credentials

Home Page Forums BizTalk 2004 – BizTalk 2010 Soap Exception Handling and soap header credentials

Viewing 0 reply threads
  • Author
    Posts
    • #26218

      Hi, I have been developing for BizTalk 2010 for about 6 months now so I am somewhat a newbie, especially compared to the people here, so please be patient with me 😉

      I have created a rather simple orchestration where I have a request/response port I get a request from, I then query a webservice and with the response, I send a message back to the port. The issue I have is that when there is a problem communicating with the webserver (which is the second part of my question), I can’t seem to get an exception back to the response operation of the port.

      I other words, I want to send the same outbound message if I succeed or not, just containing an error message in case of failure or leaving the error message element blank in case of success (among other information I send back).

      The trouble is I can’t seem to catch the soap exception and then I can’t seem to construct the message in the exception back to the response operation of the port. Is this possible? Any help would be appreciated.

       

      My second issue is with credentials. We will pass them along from the request to the webservice. That is, when a client requests the operation to our exposed orchestration’s webservice, they will send the credentials (username, password and domain) in the soap header. I then need to put together the request message for the webservice using a soap header and including these credentials in the header. I have found very little on how to do this for real. The examples I followed with creating a Property Schema don’t seem to work. I mean, I can get the values from the inbound message`s soap header and throw them in variables, but not assign them to the Request Message’s soap header.

       

      Thank you everyone

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