[jboss-user] [JBossWS] - Re: JBossWS 1.2 on JBoss AS 4.0.5

rocken7 do-not-reply at jboss.com
Wed Aug 8 17:53:14 EDT 2007


Ok I was very frustrated with the state of jboss-4.0.5.GA but now it works :) 

1. install the jbossws-2x native into jboss-4.0.5.GA (ant deploy-jboss40)
2. update /opt/jboss-4.0.5.GA/client/jboss-xml-binding.jar from newer jboss (4.2.0 worked for me) 
3. generate client java source: wsconsume -k http://your-hosted-wsdl-url 
4. #3 creates simple annotated classes + source files you can invoke like so: 

Object svcObj = new WebStore_Service();
WebStore_Service webStub = (WebStore_Service) svcObj; 	    		WebStore webPort = webStub.getWebStorePort();  
WebStoreResponseObject wrsp = webPort.authenticateCustomer("test", "test"); 

Thanks JBoss Team. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072222#4072222

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072222



More information about the jboss-user mailing list