VB6 SOAP client err object + SOAP response fault element

"Weiler, Jim" <[email protected]>
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <[email protected]>
1. VB 6 soap clients will have the VB err object populated when an error is
returned from calling a .Net web service, using the MS SOAP toolkit 2.0 high
level client objects. The err.source and
SoapClient.faultcode are the same, the err.description and
SoapClient.faultstring are the same, SoapClient.detail and .faultactor
are usually empty.
Even when the SOAP return XML 'fault' element does not contain a 'detail'
element (seen using MSSOAP Trace utility) the VB6 err object has the
err.number populated. Where does the error number in the VB6 error object
come from after a SOAP call to a .Net method?

2. I understand the SOAP spec says the 'detail' element is optional but what
controls whether the SOAP 'fault' element has a 'detail' element with any
content when calling a .Net web service? Has MS decided never to use it with
.Net?



Jim Weiler
Staples.com  Architecture Group
[email protected]
508 253 3884
'I fear that all we have done is awaken a sleeping giant, and fill it with a
desire for vengeance' - Adm. Yamamoto, architect of the Pearl Harbor attack,
to his celebrating Admirals the day after.

 <<...OLE_Obj...>>

You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.