what class is actually loaded to implement a portType is dictated by the server-config.wsdd file so there should be no reason you couldn't create a single class:

class Impl implements Service1, Service2, ...

and then use that class's name thus:

<deployment...>
 <service name="Service1"...>
   <parameter name="className" value="my.big.ws.Impl"/>
 </service>
 <service name="Service2">
   <parameter name="className" value="my.big.ws.Impl"/>
 </service>

hth.
..................ron.
Albert López wrote:

Hello,

I'm new in the Axis world so I don't know if this is a silly question. I
would like to have different portTypes but implemented only using a class.
When I use wsdl2java, each portType is mapped in a different class and I
would like it was just a class. It would be like a class that implement
several interfaces. Thank you for your time


Best regards



Albert

Reply via email to