Scott,

I adapt your VB client (StockQuoteClient) in order to call my service and
the changes were:

dim sSOAPMsg as string

sSOAPMsg = "<?xml version=\"1.0\" encoding=\"US-ASCII\"?><request client =
\"TiagoTest\" action = \"SayHello\"><parameter name = \"sCustCode\" list =
\"false\" separator = \"\">1.1000008"+i+"</parameter><parameter name =
\"sCurrency\" list = \"false\" separator = \"\">7</parameter><parameter name
= \"MSISDNList\" list = \"true\" separator =
\"@\">934527842@935255660@936493989</parameter></request>" (note that I
changed that \ character to  visual basic, & chr(34) &, and there was no
problem)

Method: sendRequest;

STOCKQUOTE_NS: urn:Example3 (my service);

Serializer.startElement "sXML"
                    Serializer.SoapAttribute "xsi:type", , "xsd:string"
                    Serializer.writeString sSOAPMsg
                Serializer.endElement 

It keeps gwetting the following error: Invalid procedure call or argument.
Any ideas?

Tiago Fernandes Thomaz

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: quarta-feira, 3 de Abril de 2002 05:28
To: [EMAIL PROTECTED]
Subject: Re: How to setUp a Visual Basic Client to talk to Apache
Service


Nigel,

I have quickly put together a pair of Web pages regarding Apache SOAP and
Visual Basic clients.  They are

Using a VB Client:
http://mywebpages.comcast.net/scottnichol/vbclientapachesoap.htm
Installing Apache SOAP, Tomcat, etc.:
http://mywebpages.comcast.net/scottnichol/apachesoapinstall.htm

Scott Nichol


----- Original Message ----- 
From: "Cornyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 01, 2002 9:48 AM
Subject: How to setUp a Visual Basic Client to talk to Apache Service


Can anyone please tell me how to set up a Visual Basic Client that will
communicate with a java service.  Do i have to create a dll and what are the
proper libraries i should include.  I am running on Windows 98.  I have a
java client and server communicating but i cannot get the vb client to do
this. I would be greatful if some body could give me some sample code and
steps to do this.

Thanks in advance
NigelMcPartland




_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to