File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
yogesh seth
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 367
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't wscompile generate WSDLs?
 
yogesh seth
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope, wscompile only create java classes based on wsdl and compiles them
 
Sam Griffith
Author
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic