Interesting idea, I'll take a look at ant XSLT support.
Thanks a lot !

Daniel Beland a écrit :



If you use maven (or ant), why don't you simply perform XSLT to integrate each deploy.wsdd in the server-config.wsdd.

That's what I did in a war:webapp postGoal.



On 1/26/06, *Nicolas De Loof* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:


    I have to replace the className parameter in generated deploy.wsdd and
    add some custom typeMappings.
    Replacing className is easy, but adding typeMapping elements is more
    difficult in my ant (maven.xml) build script.

    I'm trying another solution :

    It extends AxisServlet and it's init method :
    It loads the (wsdl2java generated) deploy.wsdd, and uses WSDDService
    methods to replace className parameter, append typemappings
    defined in
    another xml file and deploy the service using
    "ServiceAdmin.deployService(wsddService);"

    This doesn't work exactly as expected but I'm working on it...

    Nico.

    Tony Ingraldi a écrit :

    > Nicolas,
    >
    > Have you considered using org.apache.axis.utils.Admin?  It can be
    > used to create a server-config.wsdd file from a deploy.wsdd file.
    >
    > i.e.
    >
    >     java -cp $AXISCLASSPATH org.apache.axis.utils.Admin server
    > deploy.wsdd
    >
    >
    > You may need to tweak the generated server-config.wsdd file, but the
    > tweaking could potentially be automated with your scripting
    language
    > of preference.
    >
    >
    > On Jan 26, 2006, at 2:56 AM, Nicolas De Loof wrote:
    >
    >> The deploy.wsdd is generated as part of the build process (as
    >> endpoint interface is not yet stable), but it requires to manually
    >> update the server-config.wsdd to include the deploy.wsdd content.
    >> Using AdminClient to deploy is not a solution as the web
    service  has
    >> to be started with the webapp (axis configuration is static)
    >>
    >> Is there any way to replace WEB-INF/server-config.wsdd based
    >> configuration by a "programmable" configuration ? I'd like
    to  extend
    >> AxisServlet and automatically deploy my web service
    at  application
    >> startup from it's generated deploy.wsdd.
    >
    >
    > --
    >   Tony Ingraldi
    >   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    >

    This message contains information that may be privileged or
    confidential and is the property of the Capgemini Group. It is
    intended only for the person to whom it is addressed. If you are
    not the intended recipient,  you are not authorized to read,
    print, retain, copy, disseminate,  distribute, or use this message
    or any part thereof. If you receive this  message in error, please
    notify the sender immediately and delete all  copies of this message.



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to