Modify WSDL to work with J2ME Wireless Toolkit Stub generator 2005-08-21 - By Sang Shin
Back Jonathan J. Vargas R. wrote:
> Hi, > > I can deploy and use my web services on the sun java system app > server, I have been using DeployTool Web Services wizard to perform > those actions, though, i am looking for a way to make some changes in > the services WSDL so it could allow the J2ME WTK Stub Generator > utility generate propertly the stubs. > > what kind of changes? > > well, Stub Generator need the service styled to "document" or > "wrapped", and operations "literal". I can generate WSDL with these > characteristics using Apache Axis Java2WSDL tool, but I am looking for > a way to do it with tools supplied with Sun Java System App Server, > without edit directly the WSDL file.
NetBeans 4.1 has a built-in support of Web Services in wich you can generate the WSDL to be document/literal (this is default by the way) or rpc/literal.
See Figure-62 (See http://ure-62.ora-code.com) of the following hands-on lab for the screenshot (Unzip it and read the index.html file from your browser.)
http://www.javapassion.com/handsonlabs/5310_netbeanswebservices.zip
You can also do the same thing with wscompile tool that comes with Sun Java System App Server. Please see the following:
http://www.javapassion.com/webservices/HW7New.html
-Sang Shin http://www.javapassion.com/webservices
> > So, how can i change the WSDL in a WAR file using a tool (does > DeployTool does this? never found the way..), and then deploy it > > Is there a easy way to acomplish this? > > Greets, >
-- -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Sang Shin, sang.shin@(protected) http://www.javapassion.com/SangSchedule.html#Bio http://www.javapassion.com/SangSchedule.html (Life is worth living... with Passion!) -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|