Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

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

MukeshMak (TechnicalUser)
10 Sep 03 8:16
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.

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!

Back To Forum

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