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