Usually the stub functions is created by the code generator and we
do not touch it at all.

-----Original Message-----
From: Wolfram Ditzer [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 11:17 PM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java Stub and Call objects

Hello,

my WSDL file does not contain a <service> ... </service> part. So I
don�t get a MayAppServiceLocator.java which I can use to create
an object which implements the MyApp interface.

I can�t change the wsdl file, and I don�t want to recompile may client
when location of service changes. I decided to use the Stub class
directly. So I do following:

 Service service = new Service();
 MyAppStub myApp = new MyAppStub(url, service);
 myApp.setPortName(serviceName);

myApp.foo(...)

This runs!

But the MayAppStub provides only little access to internal used Call
objects. I�m affraid that I must access them, because I want

1) to change the transport mechanism, it should use a connection pool

By Wolfram

Reply via email to