axis-java-dev mailing list archives

Hello Alex,
do you have a valid WSDL ? If yes then generate your server out of the WSDL and you`ll get
a valid delpoy.wsdd. It is generated normally in your sourcepath where your server is generated
to.
(Otherwise if you dont have WSDL, generate it out of your Beans)
This deploy.wsdd you must use with the following command to deploy your service:
#setting the environment for your webapp
export AXIS_HOME=...
export AXIS_LIB=$AXIS_HOME/WEB-INF/lib
export AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar
#the command to deploy your service:
java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp://yourhost/axis/servlet/AxisServlet
deploy.wsdd
now your service should run.
Take a look in the axis-documentation for this parts, its well written.
regards,
Benjamin
-----Ursprüngliche Nachricht-----
Von: Alex - CRCSC [mailto:alex@crcsc.org.br]
Gesendet: Donnerstag, 30. September 2004 16:33
An: axis-dev@ws.apache.org
Betreff: Problems with Axis
Hi,
My namber is Alex and am from Brazil. I'm with problem in the AXIS. I dont know how to map
my beans. When my web service receive the request it no identify the bean. You can help
me???
the error is : org.xml.sax.SAXException: Deserializing parameter &apos;in0&apos;:
could not find deserializer for type {http://idserver.com}Sistema
the structure of my web service is
WEB-INF
|
|__classes
|
|--Idserver.class
|
|__com
|
|__idserver
|
|--Sistema.class
|--Usuario.class
|--Papel.class
What the structure of my deploy.wsdd for to map the bens Sistema, Usuario and Papel ?
Thanks, and excuse by English!
by
Alex do Espírito Santo
Programador