Don't look for 2.0 binaries; do this instead:

Replace the line that sets the soap action with

    If Len(SOAP_ACTION) > 0 Then Connector.Property("SoapAction") = SOAP_ACTION

Apparently, SP2 does not allow you to set an empty soap action.  However, not
setting it at all achieves the same result.

Scott

----- Original Message ----- 
From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 1:55 PM
Subject: RE: Coinnector.EndMessage error: Invalid procedure call or argument!


> I've tried to look for the binaries of 2.0 to download but did not find any.
> Do u know where can I found them?
> 
> Tiago Fernandes Thomaz
> 
> 
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: quarta-feira, 3 de Abril de 2002 19:50
> To: [EMAIL PROTECTED]
> Subject: Re: Coinnector.EndMessage error: Invalid procedure call or
> argument!
> 
> 
> I copied the 2.0 binaries to my Win2k machine, unregistered the SP2 binaries
> and
> registered the 2.0, and the code works.  I don't know whether this is a bug
> or
> feature of SP2.  Unfortunately, I overwrote my 2.0 distribution with the SP2
> one, so all I can do is move the binaries around.
> 
> Scott
> 
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 12:18 PM
> Subject: Re: Coinnector.EndMessage error: Invalid procedure call or
> argument!
> 
> 
> Here is something interesting: I was testing using the SOAP Toolkit 2.0 (not
> 2.0
> SP2) on NT 4 SP 6.  When I tried using SOAP Toolkit 2.0 SP2 on Windows 2000
> SP1,
> I got the same error as Tiago.  I will investigate further....
> 
> Scott
> 
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 11:03 AM
> Subject: Re: Coinnector.EndMessage error: Invalid procedure call or
> argument!
> 
> 
> > My next suggestion would be to run TcpTunnelGui and point the VB client at
> it
> so
> > that you can see if anything is sent over the wire.
> >
> > Scott
> >
> > ----- Original Message -----
> > From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 03, 2002 10:37 AM
> > Subject: RE: Coinnector.EndMessage error: Invalid procedure call or
> argument!
> >
> >
> > > I'm running the vb client from my machine.
> > > Thnaks anyway, Scott!
> > >
> > > Tiago Fernandes Thomaz
> > >
> > >
> > > -----Original Message-----
> > > From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> > > Sent: quarta-feira, 3 de Abril de 2002 16:25
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Coinnector.EndMessage error: Invalid procedure call or
> > > argument!
> > >
> > >
> > > I believe this error indicates that the client was not able to connect
> to
> > > the
> > > server.  Note that the server is set by this line of code:
> > >
> > > END_POINT_URL = "http://localhost:8080/soap/servlet/rpcrouter";
> > >
> > > If your Apache SOAP rpcrouter is at a different URL, you must change
> this
> > > code.
> > > Of course, you should also be certain that the Web container (e.g.
> Tomcat)
> > > is
> > > running.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, April 03, 2002 9:40 AM
> > > Subject: Coinnector.EndMessage error: Invalid procedure call or
> argument!
> > >
> > >
> > > > I believe the problem is nopt in the string since I've tried with a
> > > simpler
> > > > one (sXML="Tiago") and still got the same error.
> > > > I've done that scott and still get the same error in line:
> > > >
> > > > Connector.EndMessage
> > > >
> > > > Any ideas??
> > > >
> > > > Tiago Fernandes Thomaz
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> > > > Sent: quarta-feira, 3 de Abril de 2002 15:18
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: How to setUp a Visual Basic Client to talk to Apache
> > > > Service
> > > >
> > > >
> > > > At what line of source code does the error occur?
> > > >
> > > > Also, you will need to "escape" sSOAPMsg, e.g. turn "<" into "&lt;"
> and
> > > ">"
> > > > into
> > > > "&gt;".
> > > >
> > > > Scott
> > > >
> > > > ----- Original Message -----
> > > > From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, April 03, 2002 5:57 AM
> > > > Subject: RE: How to setUp a Visual Basic Client to talk to Apache
> Service
> > > >
> > > >
> > > > > 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
> > > > >
> > > >
> > > >
> > > >
> > > > _________________________________________________________
> > > >
> > > > Do You Yahoo!?
> > > >
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > >
> > >
> > >
> > >
> > > _________________________________________________________
> > >
> > > Do You Yahoo!?
> > >
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to