You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by soap vamsi <so...@rediffmail.com> on 2002/07/12 11:14:18 UTC
Re: WSDL2Java - how does it map WSDL info to WSDD and generated Java files
I was not aware that WSDLtojava also emits wsdd along with stub
and skeleton.Now that that leaves wondering abt the intent of the
same and also abt how it gets genrated.Anyways coming to how the
contents of wsdl file are used to by wsdltojava,the WSDLtojava
loads the contents of the wsdl file in a hashtable which is
enclosed the SymbolTable class.
The types section of the wsdl file is used as an input to generate
java source using the appropriate emitter class.
Hope this will give u a bird eyes view of whats going on
vamsi
On Thu, 11 Jul 2002 Dittmann Werner wrote :
>Hi all
>
>Axis nightly build of June, 23, Tomcat 4.0.1, JDK 1.3.1
>
>During some tests I stumbled into several pitfalls with
>WSDL2Java.
>For my tests I used the GetQuote example from axis.
>
>Using WSDL2Java to create stub, skeleton and WSDD I found that
>the generated WSDD file does not match the WSDD file delivered
>in the GetQuote sample directory.
>
>In particular the "service" entry didn't match (the others are
>fine because they are either mete data or claas info).
>Using the generated files to set up the GetQuote service
>didn't work because the axis server couldn't find the
>service. Only after I edited the deploy.wsdd file (using the
>sample GetQute deploy.wsdd as template) the service was
>deployed correctly.
>
>This experience caused the question: is there a description
>how WSDL2Java uses the info in a WSDL file (namespaces, WSDL
>elements, etc) to generated the WSDD and the Stubs/Skeletons?
>
>Any hints welcome.
>
>Regards,
>Werner
>
>PS: did the logging mechanisms change recently? I modified
>log4j.properties, replaced it in axis.jar (WEB-INF/lib),
>restarted - nothing happend...
>Tried to put it in the classes directory as well - no
>success.
>
>thanks
>Werner
>
>
>Werner Dittmann
>Siemens ICM N PG ES AS TP
>mailto:Werner.Dittmann@icn.siemens.de
>Tel: +49(0)89 722 42481/+49(0)172 85 85 245
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.rediff.com/jobs