• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with webService published from a custom wsdl

 
Vipink Kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • 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)...
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • 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!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic