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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>



Reply via email to