I'm running with the current version of code extracted from CVS (which is close to the nightly builds).
I don't understand what relationship you expect between the service port and the namespaces in the stub. The namespaces in the stub are of parameters and the types of the parameters. Do we have to call setPortTypeName? No, it's not necessary. The location of the service is defined in the service port. When you call service.get<portName> you've acquired a stub for the portType. That has associated the portType to the location for the client. For the server, the classname clause in deploy.wsdd associates the skeleton (an implementation of the portType) with the service port name which is placed at the location that the client will contact. The client will ONLY contact that location with the portType it knows about. If that location could serve multiple portTypes then we'd have to include portTypeName, but it doesn't. Russell Butek [EMAIL PROTECTED] obrand <[EMAIL PROTECTED]> on 02/06/2002 03:37:59 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Bug found in wsdl2java, please read Are you testing the nightlty build or the alpha3 which has been around since december ? Also, when running Wsdl2java, the deploy.wsdd contains the name of the service port but the Stub contains the namespace..... Don't you have to call the setPortTypeName method ?? Olivier Russell Butek wrote: >WSDL2Java doesn't process annotations. They're ignored. > >You'll have to show me your WSDL. I tried plunking annotations randomly >through a test of ours and it didn't make any difference to what was >generated. > >Russell Butek >[EMAIL PROTECTED] > > >obrand <[EMAIL PROTECTED]> on 02/06/2002 01:47:52 PM > >Please respond to [EMAIL PROTECTED] > >To: axis <[EMAIL PROTECTED]> >cc: >Subject: Bug found in wsdl2java, please read > > > >I have struggled for days with wsdl2java in order to have many >complextypes generated. > >If you have: > ><xsd:complexType name="mytype"> > <xsd:annotation> > <xsd:documentation>this is some >documentation</xsd:documentation> > </xsd:annotation> > > ....... > >Then only one compex type (the first ??) gets generated. > >I had to remove the annotation tags to have a proper generation. Does >not make sense at all !!! I believe the release 2 of axis worked. > >Olivier > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com