Specify -y wrapped rather than -y document. That will produce a "wrapped" document/literal service, and it will automatically generate the beanmappings for you.
Anne On Fri, Mar 28, 2008 at 11:24 AM, sh_santosh <[EMAIL PROTECTED]> wrote: > > > > can anybody provide working command like this for > > JAVA2WSDL : > java org.apache.axis.wsdl.Java2WSDL -l http://localhost:8080 -u literal -T > 1.2 -n NS.TestService > -y document -o DocLit.wsdl TestService > > WSDL2JAVA : > java org.apache.axis.wsdl.WSDL2Java -s -a -p service.doc.literal -T 1.2 -o > src DocLit.wsdl > > When i run java2wsdl it's throwing exception - > faultString: Please register a typemapping/beanmapping for > > I have made some changes in server-config.wsdd like - > <beanMapping qname="ns:Stock" > xmlns:ns="urn:webservices.wsdoclittest.test.Stock" > languageSpecificType="java:webservices.wsdoclittest.test.Stock"/> > > but it's not working. > > please help me out. > > > > > Upul Godage wrote: > > > > You can use Axis2 tools in the bin directory java2wsdl, wsdl2java like > > this. > > java2wsdl generates document literal style WSDLs I think. > > > > ./java2wsdl.sh -cn test.Service -cp classes.jar > > > > ./wsdljava.sh -uri service.wsdl > > > > Upul > > > > On Thu, Mar 27, 2008 at 12:55 PM, sh_santosh <[EMAIL PROTECTED]> > > wrote: > > > >> > >> Dear All, > >> > >> > >> 1. How to create Document / Literal WSDL from java interface ?? or how > >> to > >> create Java 2 WSDL using Document/ Literal. > >> 2. from document/literal WSDL to java classes(stub, skelton, serivces). > >> > >> I am using Axis 1.3 , tomcat-5.5.20 and eclipse. > >> > >> Please provide the command and arguments for java2wsdl and wsdl2java for > >> doc/lit. > >> > >> is there any tool that help to generate java2wsdl and wsdl2java for > >> doc/lit. > >> > >> > >> > >> > >> Regards > >> Santosh > >> > >> > >> > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/How-to-create-Document---Literal-WSDL-with-axis-1.3-tp16323309p16323309.html > >> Sent from the Axis - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-create-Document---Literal-WSDL-with-axis-1.3-tp16323309p16351022.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
