[JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice
by ste
"darran.lofthouse(a)jboss.com" wrote : The reason this is suddenly apeared for JBossWS 1.0.4.GA is because we now unwrap the parameters by default.
|
| While we are working on this you can workaround the problem by setting the parameter-style to 'bare' e.g.
|
| <wsdl-java location="SomeWSDL.wsdl" parameter-style="bare">
With the same WSDL as before I was able to generate the client but when I invoke the web service I get this exception:
16:13:18,323 DEBUG [CommandFactory] Command called: it.sogei.testweb.web.command.TestCommand
| 16:13:18,383 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,383 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,403 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,403 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType
| 16:13:18,504 WARN [ServiceMetaData] Multiple possible endpoints implementing SEI: com.sogei.neo.BaseWebAdapter_PortType
| 16:13:18,504 WARN [ServiceMetaData] Multiple possible endpoints implementing SEI: com.sogei.neo.BaseWebAdapter_PortType
| 16:13:18,504 ERROR [ServiceProxy] Service error
| javax.xml.rpc.ServiceException: Cannot create proxy
| at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:380)
| at org.jboss.ws.jaxrpc.ServiceImpl.getPort(ServiceImpl.java:329)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ws.jaxrpc.ServiceProxy.invoke(ServiceProxy.java:130)
| at $Proxy57.getBaseWebAdapterSOAP11port_http(Unknown Source)
| at it.sogei.testweb.web.command.TestCommand.execute(TestCommand.java:49)
| at com.sogei.lib.web.FrontController.processRequest(FrontController.java:107)
| at com.sogei.lib.web.FrontController.doGet(FrontController.java:73)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.ws.WSException: Unexpected number of input parameters: 0
| at org.jboss.ws.jaxrpc.ParameterWrapping.assertOperationMetaData(ParameterWrapping.java:68)
| at org.jboss.ws.jaxrpc.ParameterWrapping.matchRequestParameters(ParameterWrapping.java:79)
| at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:182)
| at org.jboss.ws.metadata.EndpointMetaData.getOperation(EndpointMetaData.java:324)
| at org.jboss.ws.jaxrpc.MetaDataSynchronization.synchronizeServiceEndpointInterface(MetaDataSynchronization.java:57)
| at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:365)
| ... 30 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988207#3988207
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988207
18 years, 1 month