aspose file tools*
The moose likes Web Services and the fly likes How to Produce a WSDL file when using JAXWS Approach . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to Produce a WSDL file when using JAXWS Approach . " Watch "How to Produce a WSDL file when using JAXWS Approach . " New topic
Author

How to Produce a WSDL file when using JAXWS Approach .

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

When i develop a java based web Service using JaxWS Annotations , and deploy the
Application on Sun One Application Server , it automatically creates a WSDL file

But now the Problem is that i am using another server Weblogic 11 RI .

This weblogic is not creating any wsdl file .

please tell me how to produce an wsdl file in this case ??

Share your views and ideas .

Thanks in advance .


Save India From Corruption - Anna Hazare.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
The wsgen tool (http://java.sun.com/webservices/docs/2.0/jaxws/wsgen.html) is the tool in JAX-WS to generate artifacts like a WSDL from an annotated endpoint implementation class.
However, I do not know anything about the web service stack in Weblogic, so you should consult the documentation.

Note that, if you are using a JAX-WS compatible web service stack and want to use a pre-generated WSDL, you should add the wsdlLocation attribute to the @WebService annotation.
Best wishes!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Weblogic 8.1 WSDL 2 Java is somehow related.

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Produce a WSDL file when using JAXWS Approach .
 
Similar Threads
JBuilder : problem in creating web services from WSDL using Weblogic
How to expose wsdl to access our services
Equalivent command for WSDL2Java in Weblogic 10g
how can i create java classes from given wsdl
WSDL Reference in generated Client Stub.