[JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0
by vashistvishal
Hi Thomas,
I have got the new Web services stack (jbossws-2.0.1.GA) and deployed it
in Jboss 4.2.1.GA and wsconsume fails with it as well
I have validated my WSDL file (using WTP in Eclipse 3.3) as well and doesnt complain at all.
To me its a bug in stack, which is generating wrong input paramaeter for the interface.
It generates the right response for return type but fails with input type.
This is what i get when i use wsconsume.
vsm@jm000606:resources$ ~/javadev/jboss-4.2.1.GA/bin/wsconsume.sh -p au.com.new201 -k getMemberInfo.wsdl
JBossWS-Native stack deployed
parsing WSDL...
[WARNING] src-resolve: Cannot resolve the name 'edm:getMemberInfo' to a(n) 'element declaration' component.
| line 52 of file:/C:/cygwin/home/vishal/download/source.new/common/resources/getMemberInfo.wsdl#types?schema2
|
| generating code...
| au\com\new201\EmploymentHistory.java
| au\com\new201\GetMemberInfoRequest.java
| au\com\new201\GetMemberInfoRequestType.java
| au\com\new201\GetMemberInfoResponse.java
| au\com\new201\GetMemberInfoResponseType.java
| au\com\new201\InsuranceServicesGetmemberinfo.java
| au\com\new201\InsuranceServicesGetmemberinfoService.java
| au\com\new201\MemberPackages.java
| au\com\new201\ObjectFactory.java
| au\com\new201\package-info.java
| vsm@jm000606:resources$
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078557#4078557
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078557
17 years, 4 months
[JBossWS] - jboss 4.0.5 and jbossws 2.0.1, Exception invoking a web serv
by gumnaam
I have a very simple EJB3 SLSB EchoService, which has one method hello.
Operation hello takes in a string and returns the same string.
If I deploy this application, in jboss 4.0.5 stock which comes with
jbossws 1.0.3, then I am able to successfully invoke the hello operation using soapui.
Now If I install jbossws 2.0.1 in my jboss 4.0.5, the application
starts up fine, the wsdl is also generated correctly, but upon invoking the hello method from soapui, I get the following error on the server.
anonymous wrote :
| 18:08:15,776 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://ejb.myproj.mycomp.com/}EchoServicePort does not contain operation meta data for: {http://ejb.myproj.mycomp.com/}hello
| at org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:457)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:176)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
|
I need to upgrade to jbossws 2.0.1 as we will soon be migrating to jdk 1.6, and jbossws 1.0.3 does not work with jdk 1.6.
Any pointers will he appriciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078520#4078520
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078520
17 years, 4 months