File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes ques for Norman and Sam (authors of JBoss: A Developer's Notebook) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "ques for Norman and Sam (authors of JBoss: A Developer Watch "ques for Norman and Sam (authors of JBoss: A Developer New topic
Author

ques for Norman and Sam (authors of JBoss: A Developer's Notebook)

yogesh seth
Greenhorn

Joined: Jun 28, 2005
Posts: 17
Hi,
i need to implement a webservice and the server used is JBoss. weblogic express (i think so) generates the wsdl for webservice. but, in JBoss i had to write the entire wsdl on my own. by any chance any such functionality is in pipeline in future versions of jboss ?

regards
yogesh
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Doesn't wscompile generate WSDLs?
yogesh seth
Greenhorn

Joined: Jun 28, 2005
Posts: 17
nope, wscompile only create java classes based on wsdl and compiles them
Sam Griffith
Author
Greenhorn

Joined: Jun 24, 2005
Posts: 16
Yogesh,

Actually wscompile does create the WSDL file for you. This paragraph:

"Now, use the wscompile tool to generate the necessary files. Consider the following command executed from the apps directory:

prompt> wscompile -define -mapping build/mapping.xml -d build -nd build -classpath build config.xml

This command, which reads the config.xml file created earlier, creates the MyFirstService.wsdl file and mapping.xml in the build directory."

is from the article entitled "Developing Web Services with Java 2 Platform, Enterprise Edition (J2EE) 1.4 Platform" which is at:

http://java.sun.com/developer/technicalArticles/J2EE/j2ee_ws/

Hope that helps!

Sam


<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developers Notebook</a>
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

Thanks Sam. Thats a good articuel that I didn't know about.

You can also find out how to use wscompile and how to generate JBoss web services on the JBoss Wiki. I'd recommend anyone doing webservices with JBoss look here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ques for Norman and Sam (authors of JBoss: A Developer's Notebook)