how to debug SOAPReader?
Ragnar Heil <[email protected]> Tue, 2 Nov 2004 09:47:06 +0200
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
On our production-server I get this error if I want to load an
HTTP-connector-stream into the SoapReader:
ERROR 5051: Application-defined or object-defined error
my code looks like this:
Set Serializer = New SoapSerializer
Serializer.Init Connector.InputStream
Serializer.startEnvelope "SOAP-ENV", SOAP_ENCODING_STYLE_URI
Serializer.startBody
Serializer.startElement SOAP_METHOD_EXECUTE,
SOAP_WRAPPER_ELEMENT_NAMESPACE, , "SOAPSDK1"
Serializer.startElement "farmName"
Serializer.writeString strFarmName
Serializer.endElement
Serializer.startElement "requestXML"
Serializer.writeString strRequest
Serializer.endElement
Serializer.endElement
Serializer.endBody
Serializer.endEnvelope
Connector.EndMessage
Set Reader = New SoapReader
Reader.Load Connector.OutputStream
If Not Reader.Fault Is Nothing Then
Err.Raise -1, "Soap", Reader.Fault.xml
...
(here it jumps into the if-clause)
- strFarmName and strRequest were filled fine.
- I am using SOAP 3.
Is there any way to find out if the SOAP-installation went fine?
regards, Ragnar