users@jax-rpc.java.net

Problem generating client stubs

From: Szakács Botond <uncas_at_INF.ELTE.HU>
Date: Tue, 13 Aug 2002 16:14:35 +0200

Hi,

I have a problem, when I try to write a webservice, which returns a
bean. If the bean is found in the same package with the service, it
works well. The problem starts, if the bean is in an other package than
the webservice. Ther server-side components are compiled well, they are
placed in the specified package, and the WSDL file is built. In the WSDL
  file there is no specification in the <complexType> element, regarding
the package where the bean is found, so the WSCOMPILE tool places the
beans in the wrong package. (This package is defined in the CONFIG.XML)

So if my webservice is found in the test.webservices package, and the
beans in the test.beans, after compiling the stubs, the beans are placed
in the test.webservices package too.


Regards, Botond.