-
1. Re: Error when invoking Webservice deployed in Jboss 4.0.3
mpardeshi Jan 30, 2007 3:32 PM (in response to mpardeshi)I resolved the issue. The problem was I was deploying the webservice in JBoss 4.0.3. The default WS implementation that ships with jboss 4.0.3 does not work with jbossws-1.0.4.GA. So when you are running clients from jbossws-samples-1.0.4.GA be sure to include the following jars from 4.0.3/client:
axis-ws4ee.jarcommons-discovery.jarjboss-ws4ee-client.jar
This is probably becauce the WS mechanics are different in both versions, so if you run a client that uses new libraries to call a service deployed in an older version it won't work. May be it was pretty obvious but it didn't struck me. -
2. Re: Error when invoking Webservice deployed in Jboss 4.0.3
thomas.diesler Feb 14, 2007 4:45 PM (in response to mpardeshi)You cannot mix jboss-ws4ee with jbossws
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS404Compatibility -
3. Re: Error when invoking Webservice deployed in Jboss 4.0.3
mpardeshi Feb 14, 2007 5:38 PM (in response to mpardeshi)Thanks for the reply. That is correct. I figured out a better way to call the WebService. Actually I was working on a prototype where we need to call a smalltalk WebService from JBoss so my basic requirement was I should be able to invoke a WebService based on only the WSDL and without writing cryptic code to create SOAP xml. I achieved it using Apache Axis. Axis has a nice tool WSDL2Java which generates all client side artifacts (including the stubs and JAXB binding objects) from a WSDL. I assume it will work the same way when I call the smalltalk service.
Thanks again for the reply.