axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vairamuthu thayapavan" <vtpa...@vijayaba.cse.mrt.ac.lk>
Subject Re: wsdl2java generated client transport method
Date Wed, 08 Oct 2003 07:42:56 GMT
hi

u can create call object using
Service service = new Service();
Call call = (Call) service.createCall();

sometimes u need to add some handlers/chains and services in the client
side. so u need client deploy wsdd. see the exaple
axis-1_1\samples\transport-client deploy.

regards

vtpavan

----- Original Message -----
From: "Wolfram Ditzer" <ditzer@optel-informatik.de>
To: <axis-user@ws.apache.org>
Sent: Wednesday, October 08, 2003 12:05 PM
Subject: wsdl2java generated client transport method


> Hello,
>
> I use classes created by WSDL2Java an d wsdl file.  My aim is to build a
> client for a web service.
>
>  String serviceName = ...
>  Url myAppUrl = ...
>
>  Service service = new Service();
>  MyAppServerStub myAppServer = new MyAppServerStub(myAppUrl, service);
>  myAppServer.setPortName(serviceName);
>
>  DataType1 dat1 ...
>  DataType2 dat2 ...
>  DataType3 dat3 ...
>
>  dat3 = myAppServer.requestFoo(dat1, dat2)
>   This seems to run. But I still have some questions:
>
> 1) How to change the Transport classes. I have to use a connection pool,
> when createing and removing TCP connections.
>         I could change with
>
>       Call call = ... ????
>       call.addTransportPackage(..)
>       call.addTransportForProtocoll(..)
>
>   But how to get the Call object?
>
> 2) What could I do with a client wsdd-file? I didnĀ“t understand this?
>
> Thank you in advance Wolfram
>
>




Mime
View raw message