Hello Ron,

Thank you very much for your answer but If I use this method, despite of
having only one class to implement all the PortTypes, axis generates an
Object for each PortType and I would like to have just an object for all of
them. Do you know how can I implement this method?

Best regards

Albert

-----Mensaje original-----
De: Ron Reynolds [mailto:[EMAIL PROTECTED] 
Enviado el: sábado, 12 noviembre, 2005 12:49
Para: [email protected]
Asunto: Re: Only one class for several portTypes

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