Nuria,

please let me know what libraries you use when executing  wsdl2java
--server-side

Example (for some client, so could fit anyway)


#!/bin/bash



USER=username

DIR_PROJ=/home/$USER/Proyectos/SUBDEPEN
DIR_LIB=$DIR_PROJ/SUBDEPEN-common/lib
DIR_JBOSS=/usr/local/desarrollo/ServidoresJ2EE/jboss-3.2.8

DIR_AXIS=/home/$USER/Proyectos/SUBDEPEN/jboss-axis

CLASSES=$CLASSES:$DIR_AXIS/axis-ws4ee.jar
CLASSES=$CLASSES:$DIR_AXIS/commons-discovery.jar
CLASSES=$CLASSES:$DIR_AXIS/commons-logging.jar
CLASSES=$CLASSES:$DIR_AXIS/jaxrpc.jar
CLASSES=$CLASSES:$DIR_AXIS/jboss-common.jar
CLASSES=$CLASSES:$DIR_AXIS/jboss-j2ee.jar
CLASSES=$CLASSES:$DIR_AXIS/jboss-net.jar
CLASSES=$CLASSES:$DIR_AXIS/jboss-saaj.jar
CLASSES=$CLASSES:$DIR_AXIS/wsdl4j.jar
CLASSES=$CLASSES:$DIR_AXIS/wsss4j.jar




CLASSES=$CLASSES:$DIR_JBOSS/server/default/deploy/jbossweb-tomcat50.sar/servlet-api.jar



cd PORTAFIRMAS-client-ws/src

java -cp $CLASSES org.jboss.axis.wsdl.WSDL2Java -a -S true  -p  es.xxx.cws
../../CWS.wsdl

cd ../../






2016-06-17 14:26 GMT+02:00 Guillermo J. De Ignacio Marí <
gdeigna...@gmail.com>:

> Hi Nuria!
>
> What part doesn't work, source generation or generated sources?
>
> 2016-06-17 14:20 GMT+02:00 Nuria Gomis Berenguer <ngo...@teralco.com>:
>
>> Hi!
>>
>> I've been doing some researching, and I couldn't find the solution to my
>> problem, so I decide to post here to see if any one can help me.
>>
>> I've been provided with and WSDL and I must implement a WS in compliance
>> with it. I attach this WSDL (WS_SIR8_A.wsdll). This wsd defines a WS, with
>> one method "envioFicherosAAplicacion" which request contain an
>> OctetStream[]  (complextype ArrayOf_xsd_base64Binary ).
>>
>> I've generated the WSDD with: wsdl2java --server-side and I get the file
>> attached as deplow.wsdd .  It doesn't work so I'm trying to fix it. The
>> closest I get is WS_SIR8_A.wsdd file attached here, but the wsdl generated
>> by that wsdd does not fit the original one (generated.wsdl), the array of
>> documents is not an attachment in this one.
>>
>> I'm using Axis 1.4. Does any body know what I am missing?
>>
>> Thx in advance,
>>
>> Nuria
>>
>> --
>>
>> *Núria Gomis Berenguer*
>> *Departamento de Desarrollo*
>> *Teralco Tecnologías Informáticas*
>> ngo...@teralco.com · Tel. 965 68 87 02
>>
>> Avda. de Cartagena 1 Entlo, · 03195 El Altet - Elche (Alicante) ·
>> www.teralco.com
>>
>>
>> *AVISO LEGAL:Este mensaje se dirige exclusivamente a su destinatario y
>> puede contener información reservada y/o CONFIDENCIAL. Si Vd. no es el
>> destinatario original no está autorizado a copiar o distribuir esta
>> comunicación a ninguna otra persona. Si ha recibido este mensaje por error,
>> le rogamos nos lo comunique inmediatamente por esta misma vía y proceda a
>> su borrado. **Gracias**.*
>>
>> *DISCLAIMER:This message is intended exclusively for its addressee and
>> may contain information that is CONFIDENTIAL and protected by professional
>> privilege. If you are not the intended recipient you are hereby notified
>> that any dissemination, copy or disclosure of this communication is
>> strictly prohibited by law. If this message has *
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis1-java-user-unsubscr...@axis.apache.org
>> For additional commands, e-mail: axis1-java-user-h...@axis.apache.org
>>
>
>

Reply via email to