You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Srinivas Rao Pilli <sr...@seacomindia.com> on 2001/08/13 12:12:18 UTC
pls help me
Hi,
I installed Apache-Soap. It is running successfuly.
But i want to call server from VB client. If anybody knows
please send one example.
thank u.
regards
srinivas
Re: pls help me
Posted by Arnold Poon <Ar...@oracle.com>.
Hi Nicholas
Is there any chance that a high level API VB example will be avaliable
from soapuser.com? Maybe a MSSOAP C++ also?
Arnold
----- Original Message -----
From: "Nicholas Quaine" <nq...@soapuser.com>
To: <so...@xml.apache.org>
Sent: Monday, August 13, 2001 3:49 AM
Subject: Re: pls help me
> Srinivas,
>
> you will need to download and install the Microsoft SOAP Toolkit -
available
> at
>
http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms
> dn-files/027/001/580/msdncompositedoc.xml
>
> A typical VB client using the low level API looks like the one below
> Check out this page for more details http://www.soapuser.com/client4.html
>
> regards,
> Nicholas Quaine
>
> Visit http://www.soapuser.com/
>
> nquaine@soapuser.com
>
>
> Dim Serializer As SoapSerializer
> Dim Reader As SoapReader
> Dim ResultElm As IXMLDOMElement
> Dim FaultElm As IXMLDOMElement
> Dim Connector As SoapConnector
>
> Set Connector = New HttpConnector
> Connector.Property("EndPointURL") = END_POINT_URL
> Connector.Connect Nothing
>
> Connector.Property("SoapAction") = "uri:" & Method
> Connector.BeginMessage Nothing
>
> Set Serializer = New SoapSerializer
> Serializer.Init Connector.InputStream
>
> Serializer.startEnvelope
> Serializer.startBody
> Serializer.startElement Method, CALC_NS, , "m"
> Serializer.startElement "A"
> Serializer.writeString CStr(A)
> Serializer.endElement
> Serializer.startElement "B"
> Serializer.writeString CStr(B)
> 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
> MsgBox Reader.faultstring.text, vbExclamation
> Else
> Execute = CDbl(Reader.RPCResult.text)
> End If
>
>
> ----- Original Message -----
> From: "Srinivas Rao Pilli" <sr...@seacomindia.com>
> To: <so...@xml.apache.org>
> Sent: Monday, August 13, 2001 12:12 PM
> Subject: pls help me
>
>
> > Hi,
> >
> > I installed Apache-Soap. It is running successfuly.
> > But i want to call server from VB client. If anybody knows
> > please send one example.
> >
> > thank u.
> >
> > regards
> > srinivas
>
>
Re: pls help me
Posted by Arnold Poon <Ar...@oracle.com>.
Hi Nicholas
Is there any chance that a high level API VB example will be avaliable
from soapuser.com? Maybe a MSSOAP C++ also?
Arnold
----- Original Message -----
From: "Nicholas Quaine" <nq...@soapuser.com>
To: <so...@xml.apache.org>
Sent: Monday, August 13, 2001 3:49 AM
Subject: Re: pls help me
> Srinivas,
>
> you will need to download and install the Microsoft SOAP Toolkit -
available
> at
>
http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms
> dn-files/027/001/580/msdncompositedoc.xml
>
> A typical VB client using the low level API looks like the one below
> Check out this page for more details http://www.soapuser.com/client4.html
>
> regards,
> Nicholas Quaine
>
> Visit http://www.soapuser.com/
>
> nquaine@soapuser.com
>
>
> Dim Serializer As SoapSerializer
> Dim Reader As SoapReader
> Dim ResultElm As IXMLDOMElement
> Dim FaultElm As IXMLDOMElement
> Dim Connector As SoapConnector
>
> Set Connector = New HttpConnector
> Connector.Property("EndPointURL") = END_POINT_URL
> Connector.Connect Nothing
>
> Connector.Property("SoapAction") = "uri:" & Method
> Connector.BeginMessage Nothing
>
> Set Serializer = New SoapSerializer
> Serializer.Init Connector.InputStream
>
> Serializer.startEnvelope
> Serializer.startBody
> Serializer.startElement Method, CALC_NS, , "m"
> Serializer.startElement "A"
> Serializer.writeString CStr(A)
> Serializer.endElement
> Serializer.startElement "B"
> Serializer.writeString CStr(B)
> 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
> MsgBox Reader.faultstring.text, vbExclamation
> Else
> Execute = CDbl(Reader.RPCResult.text)
> End If
>
>
> ----- Original Message -----
> From: "Srinivas Rao Pilli" <sr...@seacomindia.com>
> To: <so...@xml.apache.org>
> Sent: Monday, August 13, 2001 12:12 PM
> Subject: pls help me
>
>
> > Hi,
> >
> > I installed Apache-Soap. It is running successfuly.
> > But i want to call server from VB client. If anybody knows
> > please send one example.
> >
> > thank u.
> >
> > regards
> > srinivas
>
>
Re: pls help me
Posted by Nicholas Quaine <nq...@soapuser.com>.
Srinivas,
you will need to download and install the Microsoft SOAP Toolkit - available
at
http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms
dn-files/027/001/580/msdncompositedoc.xml
A typical VB client using the low level API looks like the one below
Check out this page for more details http://www.soapuser.com/client4.html
regards,
Nicholas Quaine
Visit http://www.soapuser.com/
nquaine@soapuser.com
Dim Serializer As SoapSerializer
Dim Reader As SoapReader
Dim ResultElm As IXMLDOMElement
Dim FaultElm As IXMLDOMElement
Dim Connector As SoapConnector
Set Connector = New HttpConnector
Connector.Property("EndPointURL") = END_POINT_URL
Connector.Connect Nothing
Connector.Property("SoapAction") = "uri:" & Method
Connector.BeginMessage Nothing
Set Serializer = New SoapSerializer
Serializer.Init Connector.InputStream
Serializer.startEnvelope
Serializer.startBody
Serializer.startElement Method, CALC_NS, , "m"
Serializer.startElement "A"
Serializer.writeString CStr(A)
Serializer.endElement
Serializer.startElement "B"
Serializer.writeString CStr(B)
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
MsgBox Reader.faultstring.text, vbExclamation
Else
Execute = CDbl(Reader.RPCResult.text)
End If
----- Original Message -----
From: "Srinivas Rao Pilli" <sr...@seacomindia.com>
To: <so...@xml.apache.org>
Sent: Monday, August 13, 2001 12:12 PM
Subject: pls help me
> Hi,
>
> I installed Apache-Soap. It is running successfuly.
> But i want to call server from VB client. If anybody knows
> please send one example.
>
> thank u.
>
> regards
> srinivas
Re: pls help me
Posted by Nicholas Quaine <nq...@soapuser.com>.
Srinivas,
you will need to download and install the Microsoft SOAP Toolkit - available
at
http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms
dn-files/027/001/580/msdncompositedoc.xml
A typical VB client using the low level API looks like the one below
Check out this page for more details http://www.soapuser.com/client4.html
regards,
Nicholas Quaine
Visit http://www.soapuser.com/
nquaine@soapuser.com
Dim Serializer As SoapSerializer
Dim Reader As SoapReader
Dim ResultElm As IXMLDOMElement
Dim FaultElm As IXMLDOMElement
Dim Connector As SoapConnector
Set Connector = New HttpConnector
Connector.Property("EndPointURL") = END_POINT_URL
Connector.Connect Nothing
Connector.Property("SoapAction") = "uri:" & Method
Connector.BeginMessage Nothing
Set Serializer = New SoapSerializer
Serializer.Init Connector.InputStream
Serializer.startEnvelope
Serializer.startBody
Serializer.startElement Method, CALC_NS, , "m"
Serializer.startElement "A"
Serializer.writeString CStr(A)
Serializer.endElement
Serializer.startElement "B"
Serializer.writeString CStr(B)
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
MsgBox Reader.faultstring.text, vbExclamation
Else
Execute = CDbl(Reader.RPCResult.text)
End If
----- Original Message -----
From: "Srinivas Rao Pilli" <sr...@seacomindia.com>
To: <so...@xml.apache.org>
Sent: Monday, August 13, 2001 12:12 PM
Subject: pls help me
> Hi,
>
> I installed Apache-Soap. It is running successfuly.
> But i want to call server from VB client. If anybody knows
> please send one example.
>
> thank u.
>
> regards
> srinivas