You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Angel Cervera Claudio <an...@acervera.com> on 2006/08/24 13:07:50 UTC
How could generate *only* deploy.wsdd?
Hello people.
I'm developing a web service.
I have generate wsdl using axis-java2wsdl.
Now i need generate a deploy.wsdd to deploy service.
If i use axis-wsdl2java, task generate deploy.wsdd and client/server stub.
How could generate *only* deploy.wsdd?
Thanks and apologies for my poor english.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: How could generate *only* deploy.wsdd?
Posted by Angel Cervera Claudio <an...@acervera.com>.
Thanks bell, but i want _generate_ wsdd, no deploy them.
I generated wsdl using axis-java2wsdl, but wsdd it's not generated with this task (it's this correct or i'm wrong?).
Bell, Douglas wrote:
> Hi Angel,
>
> I'm taking a guess that you are asking how to deploy the services....
>
>
> I do it via an ant task. You can also do it via the command line: org.apache.axis.utils.Admin -Dserver=[PATH_TO_YOUR_WSDL]
>
> If you use the template below just make sure you have axis-ant.jar on your classpath.
>
> <!--
> ## AXIS-DEPLOY ##
> -->
> <target name="axis-deploy">
> <taskdef resource="axis-tasks.properties" classpathref="build.classpath"/>
> <!-- Remove any existing wsdd file -->
> <delete file="[OUTPUT_DIRECTORY_PROBABLY_WEB-INF]/server-config.wsdd" quiet="true"/>
> <java classname="org.apache.axis.utils.Admin" fork="true" failonerror="true" dir="[OUTPUT_DIRECTORY_PROBABLY_WEB-INF]">
> <arg value="server"/>
> <arg value="[PATH_TO_WSDD_1]"/>
> <arg value="[PATH_TO_WSDD_2]"/>
> ...
> <classpath refid="build.classpath"/>
> </java>
> </target>
>
> Hope this helps,
>
> Doug
>
> -----Original Message-----
> From: Angel Cervera Claudio [mailto:angel@acervera.com]
> Sent: Thu 8/24/2006 4:07 AM
> To: axis-user@ws.apache.org
> Cc:
> Subject: How could generate *only* deploy.wsdd?
>
>
>
> Hello people.
>
> I'm developing a web service.
> I have generate wsdl using axis-java2wsdl.
> Now i need generate a deploy.wsdd to deploy service.
> If i use axis-wsdl2java, task generate deploy.wsdd and client/server stub.
> How could generate *only* deploy.wsdd?
>
> Thanks and apologies for my poor english.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
--
Ángel Cervera Claudio
Desarrollos j2ee
web: http://www.acervera.com
email: angel@acervera.com
tlf: 984050494 / 985308170 / 670819234
fax: 985308228
Avda. de la Argentina, 132
33213 - Gijón (Asturias) - Spain
- Mensajería ---------------------
msn: angelcervera@hispavista.com
yahoo: angelcervera
aol: angelcervera
jabber: angelcervera en jabber.org
google talk: angelcervera
skype: angelcervera
Este mensaje y cualquier documento adjunto que lleve consigo es sólo para la persona o compañía a la que va dirigido y puede
contener información privilegiada, confidencial o cuya revelación o uso esté prohibido. Si el receptor de esta transmisión no es la
persona a quien iba dirigida, o el empleado o agente encargado de hacer llegar dicho material al receptor previsto, se le notifica
que cualquier uso, forma de reproducción, difusión, copia, revelación, modificación, distribución y/o publicación de este mensaje o
sus documentos adjuntos por cualquier otro que no sea su destinatario previsto está estrictamente prohibido por el remitente. Si ha
recibido esto por error, por favor, devuélvalo al remitente y destruya el mensaje y/o las copias que pueda haber en su posesión.
This message and any attachments to it is intended only for the individual or company to which it is addressed and may contain
information which is privileged, confidential or prohibited from disclosure or unauthorized use. If the recipient of this
transmission is not the intended recipient, or the employee or agent responsible for delivering such materials to the intended
recipient, you are hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message or its attachments other than by its intended recipient is strictly
prohibited by the sender. If you have received it in error, please return it to the sender and destroy the message and/or copies in
your possession.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: How could generate *only* deploy.wsdd?
Posted by "Bell, Douglas" <DB...@boingo.com>.
Hi Angel,
I'm taking a guess that you are asking how to deploy the services....
I do it via an ant task. You can also do it via the command line: org.apache.axis.utils.Admin -Dserver=[PATH_TO_YOUR_WSDL]
If you use the template below just make sure you have axis-ant.jar on your classpath.
<!--
## AXIS-DEPLOY ##
-->
<target name="axis-deploy">
<taskdef resource="axis-tasks.properties" classpathref="build.classpath"/>
<!-- Remove any existing wsdd file -->
<delete file="[OUTPUT_DIRECTORY_PROBABLY_WEB-INF]/server-config.wsdd" quiet="true"/>
<java classname="org.apache.axis.utils.Admin" fork="true" failonerror="true" dir="[OUTPUT_DIRECTORY_PROBABLY_WEB-INF]">
<arg value="server"/>
<arg value="[PATH_TO_WSDD_1]"/>
<arg value="[PATH_TO_WSDD_2]"/>
...
<classpath refid="build.classpath"/>
</java>
</target>
Hope this helps,
Doug
-----Original Message-----
From: Angel Cervera Claudio [mailto:angel@acervera.com]
Sent: Thu 8/24/2006 4:07 AM
To: axis-user@ws.apache.org
Cc:
Subject: How could generate *only* deploy.wsdd?
Hello people.
I'm developing a web service.
I have generate wsdl using axis-java2wsdl.
Now i need generate a deploy.wsdd to deploy service.
If i use axis-wsdl2java, task generate deploy.wsdd and client/server stub.
How could generate *only* deploy.wsdd?
Thanks and apologies for my poor english.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org