Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Service working but cannot see wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Service working but cannot see wsdl" Watch "Service working but cannot see wsdl" New topic
Author

Service working but cannot see wsdl

O Affan
Greenhorn

Joined: Apr 12, 2007
Posts: 4
Hi, I am able to see my service at http://localhost:8080/axis2/services/listServices. when i hit the service epr at http://localhost:8080/axis2/services/AuthService, it is working fine also. I tested the service by creating a post request via fiddler and getting a proper response back. That is all good. But i am wondering why can't i see the wsdl when i click on the following link from the listServices page: http://localhost:8080/axis2/services/AuthService?wsdl. I get this error


Original Exception:
Error Message: org.apache.axis2.AxisFault: Server does not have an epr for the wsdl epr==>http://localhost:8080/axis2/services/AuthService
Error Code: 500
Target Servlet: AxisServlet
Error Stack:
org.apache.axis2.AxisFault: Server does not have an epr for the wsdl epr==>http://localhost:8080/axis2/services/AuthService
at org.apache.axis2.description.AxisService.getLocationURI(AxisService.java:1515)
at org.apache.axis2.description.AxisService.setPortAddress(AxisService.java:1423)
at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1024)
at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1058)
at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1332)


Appreciate any help! Thanks
Philip Grove
Ranch Hand

Joined: Aug 18, 2009
Posts: 68

I think that is a server issue, you might get a reply faster by posting on a server related forum though you might find people here that know the server.

Error code 500 means that something has gone wrong server side while trying to process a legal request. Unfortunately error code 500 is not very specific.
 
 
subject: Service working but cannot see wsdl
 
Similar Threads
AxisFault
The entity "nbsp" was referenced, but not declared.
Need help using annotations with Axis2
WSDL 2.0 webservice with axis2
Need to create a web service in Java that reads data and results in XML.