This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Why cant i see my WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Why cant i see my WSDL " Watch "Why cant i see my WSDL " New topic

Why cant i see my WSDL

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
I cant access my webservice

Axis2 1.4

I can see the services listed on the following url but cant access then the browser takes infinite time to load them

What could be the reason

Money for nothing and Java for Free
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 518

Is it timing out or getting 404.

Are you behind any firewalls, which should not really matter as usually port 8080 and GET operation are allowed? but just curious.


madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
I dont get any error except for a linkage error when i boot up the JBOSS server

java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.parsers.DocumentBuilder.setErrorHandler(Lorg/xml/sax/ErrorHandler;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/log4j/xml/DOMConfigurator, and the class loader (instance of <bootloader>) for resolved class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/ErrorHandler used in the signature
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
at org.apache.log4j.xml.DOMConfigurator.configure(
at com.boost.util.Log4jConfigLoader.init(

apart from that the application works fine and there are no issues as such. When i try to hit the WSDL i see no traces on the console or the server

IWAB0379E Unable to open http://localhost:8080/boost-sales-portal/services/PortalWebService?wsdl.
IWAB0135E An unexpected error has occurred.
WSDLException: faultCode=OTHER_ERROR: Server returned HTTP response code: 503 for URL: http://localhost:8080/boost-sales-portal/services/PortalWebService?wsdl

What could be the issue ?

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 518

When I looked into the description of HTTP 503, it says

The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.

Note: The existence of the 503 status code does not imply that a
server must use it when becoming overloaded. Some servers may wish
to simply refuse the connection.

I'm not really sure about the Linkage error, but I feel that there might be some kind of conflict while loading the classes in JBoss, given that you see some issues in booting. Have you tried deploying your app in another container or Have you tried deploying another service in the same JBoss instance and see how it is responding.

My feeling is, it may not be an issue with your service, but may be with your JBoss instance or they way it is installed or configured....
Consider Paul's rocket mass heater.
subject: Why cant i see my WSDL
Similar Threads
Developing Java 6 Webservice with Tomcat-project
Can't see the WSDL file
Jax-WS 2.1 can hit the wsdl in the browser but the client cannot find it.
Service working but cannot see wsdl
deploying Axis2 Webservices in JBOSS