I am calling some webservices using SOAP Toolkit 3.0, and my requests reach their destination and I receive my replies correctly.
Everything is fine and dandy - but how can I see the XML that I send out?
Currently I am using:
SoapSerialize.StartEnvelope(...);
SoapSerialize.StartBody(...);
SoapSerialize.WriteXML(...);
SoapSerialize.EndBody(...);
SoapSerialize.EndEnvelope(...);
... and such, and would like to see what all of this looks like in the end as plain text (XML).
Now, I get my reply in the "OutPutStream".
What I would like would be to be able to view my "InPutStream" in the same way that I can with my OutputStream, but my InputStream seems to always be empty.
There must be some way to be able to see what you are actually sending. Anyone know how? :-k
0
Comments
An exception was raised in method EndMessage. The OLE control or Automation server has returned error (HRESULT) -2147352567. The component did not provide the exception description.
I suspect that the SoapHttpConnector.Connect() call is failing, but the error does not reveal itselft until I try to send the request down the connection.
Any revelations are welcome!
I also have the same HRESULT -2147352567 error calling the EndMessage method.
Can anybody tell me anything about this?
Thank you.
DISP_E_EXCEPTION 0x80020009 -2147352567
usually means that you made an error, for example, call EndMessage with inappropriate input or something like that.
check that you followed all rules while creating http connection and xml in bitween.
btw. you may found (unofficial) HRESULTS Error list here:
http://news.speeple.com/msdn.com/2007/0 ... -codes.htm
not too helpfull but can be usefull in some situations.
for example, on this list you will find appropriate HEX code for that error (list is made in format: Name, Hex, Decimal) and then google for hex code results which are usual as an error code for standard program languages.
Google gave me this:
http://discuss.develop.com/archives/wa. ... ap&P=10547