Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Why cant i see my WSDL

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
The only thing that kept the leeches off of me was this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic