> -----Original Message----- > From: Tom Jordahl [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 5:57 PM > To: '[EMAIL PROTECTED]' > Subject: RE: WSDL2Java - How to configure the Stubclasses name ? > > The name of your wsdl:service and wsdl:PortType are the same. > WSDL2Java resolves the conflict by adding _Service and _Port > to the class names.
Ok, thanks. Then maybe there is a change inside the EJB Java2WSDL Generator. In the 1.0 Version of Axis there was no problem creating the Stubcode. Currently I do not create my own WSDL, it will be created through my WSDD out of the Stateless Session Beans. Is it possible, that there was any changes ? > > Changing the name of your service give you a class name of > UnitSession for the PortType. > > Change this: > <wsdl:service name="UnitSession"> > To this: > <wsdl:service name="UnitSessionService"> > > Gives the following output from wsdl2java: > $ wsdl2java -v UnitSession.wsdl > Parsing XML file: UnitSession.wsdl > [deleted...] > Generating net\juwimm\conquest\UnitSessionService.java > Generating net\juwimm\conquest\UnitSessionServiceLocator.java > Generating net\juwimm\conquest\UnitSession.java > Generating net\juwimm\conquest\UnitSessionSoapBindingStub.java Regards, Sascha Kulawik