You don't really need the Soap toolkit. The minimum you'd need would be
and HTTP component, and something that could create/parse XML.
The simplest thng to use is MSXML, and with a "known" soap
implementation you can hand craft your SOAP messages, and then, parse
Your basic SOAP package looks like:
<?xml version='1.0' encoding='UTF-8'?>
<Body>soap message goes here</Body>
Your message is whatever your SOAP.WSDL would tell you it is. For
example, a UDDI message which would go in the "soap message goes here"
<find_service generic='2.0' xmlns='urn:uddi-org:api_v2'>
You'll need to tweak the headers in your request...
Set objHTTP = CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "POST", address, False
If Err.Number <> 0 Then
' handle connection error
objHTTP.setRequestHeader "Accept", "text/xml"
objHTTP.setRequestHeader "Cache-Control", "no-cache"
objHTTP.setRequestHeader "Content-Type", "text/xml; charset=""utf-8"""
objHTTP.setRequestHeader "SOAPAction", """"""
And then, if there are no SOAP/HTTP specific errors, the web service
Set objDOC = New MSXML2.DOMDocument30
Where the response text, after stripping out all of the nice soap stuff
would be something like (just look at the objDoc and use Xpath to select
appropriate "xml element" you're expecting, in this case "//serviceList"
<serviceList generic="2.0" operator="Blah" truncated="false"
SOAP toolkit is better though, because it allows you to get rid of this
extra processing. It is also fairly easy to install with your VB
installation (documentation is on the MSDN site, but don't use the .msi
From: ihadtohaveanid [mailto:marcus_halb@...
Sent: Thursday, September 05, 2002 9:34 AM
Subject: [soapbuilders] Q: VB6/Web-service/SOAP?
I'm kind of stuck again it seems!
I just realized that i can't rely on SOAP toolkit in my VB6- application
as it makes an impact on other users (they too need the
toolkit on their machines or so i guess anyway).
Is it possible to develop an application in VB6 (not .net) that
construct it's own soap request and responses and just 'fires away'
against a webservice (with standard components and without no
involvment whatsoever from the SOAP toolkit)?
I found an interesting article on this matter
Couln't i just replace the .asp-file with the actual webservice and
make it run ok?
Thanx & Best regards,
This group is a forum for builders of SOAP implementations to discuss
implementation and interoperability issues. Please stay on-topic.
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to