Avatar of moonlight
moonlight

asked on 

MS SOAP Toolkit 3.0: Saving before sending

I haven't seen a simple example on how to save a copy before sending
the soap message using the low API of ms soap toolkit 3.0 (httpconnector30, soapserializer30
and soapreader30). I'm guessing the problem is that I'm not familiar with win32 istreams in general

Could anyone be kind and provide me an example on how to save the XML
that is being sent by a client to disk before sending?

usually serializer takes an istream, which is provided by
httpconnector inputstream, perhaps something should be in between to
intercept as a proxy.

Use visual basic syntax, that way it is easier for me to translate it
to the programming interface I'm using... some code snippets are provided below

Thanks in advance..

ps. I searched the web, only found someone else asking the same thing here:
http://objectmix.com/xml-soap/88869-reading-istream-vb.html

Connector.BeginMessage;
 
CREATE(Serializer);
Serializer.Init (Connector.InputStream); <-- use some other istream here?
 
Serializer.StartEnvelope ('soap','NONE','utf-8');
 
For the response I usaually use MSXML DomDocument
 
XMLDOM.load (Connector.OutputStream);
XMLDOM.save path
 
XMLDOM being MSXML DomDocument. I'm not sure how to use XMLDOM.QueryInterface, if that can be used...

Open in new window

Web Languages and StandardsWeb ComponentsXML

Avatar of undefined
Last Comment
moonlight
ASKER CERTIFIED SOLUTION
Avatar of moonlight
moonlight

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Web Languages and Standards
Web Languages and Standards

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

40K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo