INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Jobs from Indeed

MS SOAP 3.0 - Handling Non-Soap Responses(0x800A13BD)

MS SOAP 3.0 - Handling Non-Soap Responses(0x800A13BD)

(OP)
Hi all,

I've built a C++ client which makes SOAP calls against a .NET web service using the Low Level APIs.

Under testing I have found that when the server returns a non-soap response no error isn't generated by the toolkit.

The following code extract depicts in greater detail what I am attempting to do:

--------------------------------------------------------
#define NO_SOAP_MESSAGE_IN_RESPONSE 0x800A13BD
.
.
.
try
{
  HRESULT hr = Connector->EndMessage()
}
catch( _com_error ce )
{
  if ( ce.Error() == (HRESULT)NO_SOAP_MESSAGE_IN_RESPONSE )
  /* Handle Error */

}
.
.
.
try
{
  Reader->Load(_variant_t((IUnknown*)Connector->OutputStream), "");
}
catch( _com_error ce )
{
  /* Handle Error */
}

--------------------------------------------------------

Previous toolkits indicated an error on the first try/catch block.

In v3.0 the only reported error is when an attempt is made to associate the Connector outputstream to the Soap Reader object. The reported error is:

ce.ErrorMessage = "The parameter is incorrect"

Anyone got any ideas how I could verify, in advance whether a soap message has actually been received.

Sorry for the excess blurp.

Thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close