• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 4116
72
Mac TypeScript Chrome Java Linux
  • 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!
     
    Consider Paul's rocket mass heater.
    reply
      Bookmark Topic Watch Topic
    • New Topic