Two Laptop Bag*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Why cant i see my WSDL " Watch "Why cant i see my WSDL " New topic
Author

Why cant i see my WSDL

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
I cant access my webservice
http://localhost:8080/XXX/services/HelloWorldService?wsdl

Eclipse{Helios}
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
http://localhost:8080/XXX/services/listServices

What could be the reason


Money for nothing and Java for Free
SCJP, SCWCD
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

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.


Regards
KumarRaja

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(DOMConfigurator.java:658)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
at com.boost.util.Log4jConfigLoader.init(Log4jConfigLoader.java:15)


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
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: 519
    
    2

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....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why cant i see my WSDL