You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "federico.fiorillo@inwind.it" <fe...@inwind.it> on 2001/08/27 18:32:06 UTC

call a apache soap service from vb

i have un apache-soap service that i call from a java client:
:
     URL url = new URL( "http://localhost:8080/soap/servlet/rpcrouter" ); 
     String urn = "urn:demo1:exchange"; 
:
     params.addElement( new Parameter( "country1", String.class, "USA", null ) ); 
     params.addElement( new Parameter( "country2", String.class, "japan", null ) ); 
     call.setParams( params ); 
:
       Response response = call.invoke( url, "" ); // invoke the service 
:
       Parameter result = response.getReturnValue(); // response was OK 
:
how can i call the same service from a vb client?
:
    Set sc = New SoapClient
    sc.mssoapinit  "????????"
:
    sRes = sc.getRate("USA", "japan")
:

federico


Re: call a apache soap service from vb

Posted by "Carlos Vinueza M." <ca...@vimeworks.com>.
Check this sample, is really useful:

http://marc.theaimsgroup.com/?l=soap-user&m=98683038702626&w=2

Of course you should have MS SOAP Toolkit

Regards

"federico.fiorillo@inwind.it" wrote:

> i have un apache-soap service that i call from a java client:
> :
>      URL url = new URL( "http://localhost:8080/soap/servlet/rpcrouter" );
>      String urn = "urn:demo1:exchange";
> :
>      params.addElement( new Parameter( "country1", String.class, "USA", null ) );
>      params.addElement( new Parameter( "country2", String.class, "japan", null ) );
>      call.setParams( params );
> :
>        Response response = call.invoke( url, "" ); // invoke the service
> :
>        Parameter result = response.getReturnValue(); // response was OK
> :
> how can i call the same service from a vb client?
> :
>     Set sc = New SoapClient
>     sc.mssoapinit  "????????"
> :
>     sRes = sc.getRate("USA", "japan")
> :
>
> federico

--
Carlos Vinueza M.
Investigación y Desarrollo
VIMEWorks Cia. Ltda.
Construyendo Sueños en Internet
(CEL)  (593)(9)703375
(OFIC) (593)(2)237784 / (593)(2)903925


Re: call a apache soap service from vb

Posted by "Carlos Vinueza M." <ca...@vimeworks.com>.
Check this sample, is really useful:

http://marc.theaimsgroup.com/?l=soap-user&m=98683038702626&w=2

Of course you should have MS SOAP Toolkit

Regards

"federico.fiorillo@inwind.it" wrote:

> i have un apache-soap service that i call from a java client:
> :
>      URL url = new URL( "http://localhost:8080/soap/servlet/rpcrouter" );
>      String urn = "urn:demo1:exchange";
> :
>      params.addElement( new Parameter( "country1", String.class, "USA", null ) );
>      params.addElement( new Parameter( "country2", String.class, "japan", null ) );
>      call.setParams( params );
> :
>        Response response = call.invoke( url, "" ); // invoke the service
> :
>        Parameter result = response.getReturnValue(); // response was OK
> :
> how can i call the same service from a vb client?
> :
>     Set sc = New SoapClient
>     sc.mssoapinit  "????????"
> :
>     sRes = sc.getRate("USA", "japan")
> :
>
> federico

--
Carlos Vinueza M.
Investigación y Desarrollo
VIMEWorks Cia. Ltda.
Construyendo Sueños en Internet
(CEL)  (593)(9)703375
(OFIC) (593)(2)237784 / (593)(2)903925