• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Problem with webService published from a custom wsdl

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I have published a webService using an existing wsdl file and it published successfully but i can not access the wsdl from browser but if i published webService by generating the wsdl I can access the wsdl by browser. It's quite strange problem i am facing...

Any one have any suggestion or any kind of help will be appreciated.

thanks
 
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have published a webService using an existing wsdl file and it published successfully but i can not access the wsdl from browser but if i published webService by generating the wsdl I can access the wsdl by browser


What approach you've taken for this? And how? You need to tell more details on that (TellTheDetails)...
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
If you are using JAX-WS to develop a WSDL-first web service, then you need to annotate your web service implementation class as in the example below:

Note that:
  • The values of the elements of the @WebService annotation, execpt the value for the wsdlLocation, are to be taken from the WSDL.
  • The WSDL should be placed in WEB-INF/wsdl.

  • Best wishes!
     
    You showed up just in time for the waffles! And this tiny ad:
    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
    reply
      Bookmark Topic Watch Topic
    • New Topic