Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to Produce a WSDL file when using JAXWS Approach .

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic 8.1 WSDL 2 Java is somehow related.

Regards,
Dan
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic