axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-2356) does useOriginalwsdl do any special handling
Date Thu, 24 May 2007 15:41:17 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas reassigned AXIS2-2356:
---------------------------------------

    Assignee: Davanum Srinivas

> does useOriginalwsdl do any special handling
> --------------------------------------------
>
>                 Key: AXIS2-2356
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2356
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>         Assigned To: Davanum Srinivas
>         Attachments: AXIS2-2356.zip
>
>
> Hi folks,
>  I deployed a Web service in axis2 (R 1.1.1) by configuring  "useOriginalwsdl=true" as
parameter in services.xml
> WSDL file being used is generated by axis2 it self. But service fails complaining with
below error.
> If i unset to useOriginalwsdl=false, then Web Service works.
>  Client Side Stack trace:
>  Sending request..
>  <hr:getEmployee xmlns:hr="http://types.wsdl.custom.ws.ssk.com/xsd"<hr:in1</hr:in</hr:getEmployeeorg.apache.axis2.AxisFault:
Exception occurred while trying to invoke service method getEmployee
>          at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
>          at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
>          at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
>          at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
>          at com.ssk.ws.custom.wsdl.types.HRServiceClient2.main(HRServiceClient2.java:43)
>  Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Exception occurred while
trying to invoke service method getEmployee; nested exception is:
>          java.lang.IllegalArgumentException: wrong number of arguments
>          at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:159)
>          at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>          at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
>          at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328)
>          at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>          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.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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>          at java.lang.Thread.run(Unknown Source)
>  Caused by: java.lang.IllegalArgumentException: wrong number of arguments
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>          at java.lang.reflect.Method.invoke(Unknown Source)
>          at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:95)
>          ... 20 more
>          at org.apache.axis2.AxisFault.<init(AxisFault.java:159)
>          ... 5 more
>  Server Side Stack trace:
>  Mar 20, 2007 4:02:05 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
>  INFO: The Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program
Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program
Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program
Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
>  Mar 20, 2007 4:02:05 PM org.apache.coyote.http11.Http11BaseProtocol init
>  INFO: Initializing Coyote HTTP/1.1 on http-8080
>  Mar 20, 2007 4:02:05 PM org.apache.catalina.startup.Catalina load
>  INFO: Initialization processed in 906 ms
>  Mar 20, 2007 4:02:05 PM org.apache.catalina.core.StandardService start
>  INFO: Starting service Catalina
>  Mar 20, 2007 4:02:05 PM org.apache.catalina.core.StandardEngine start
>  INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
>  Mar 20, 2007 4:02:05 PM org.apache.catalina.core.StandardHost start
>  INFO: XML validation disabled
>  Mar 20, 2007 4:02:07 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying module : addressing-1.1.1
>  Mar 20, 2007 4:02:07 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying module : sandesha2-1.1
>  Mar 20, 2007 4:02:07 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying module : soapmonitor-1.1.1
>  Mar 20, 2007 4:02:07 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying Web service  hrservice.aar
>  Mar 20, 2007 4:02:08 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying Web service  RMSampleService.aar
>  Mar 20, 2007 4:02:08 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying Web service  termsheet.aar
>  Mar 20, 2007 4:02:08 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>  INFO: Deploying Web service  version.aar
>  Mar 20, 2007 4:02:08 PM org.apache.coyote.http11.Http11BaseProtocol start
>  INFO: Starting Coyote HTTP/1.1 on http-8080
>  Mar 20, 2007 4:02:08 PM org.apache.jk.common.ChannelSocket init
>  INFO: JK: ajp13 listening on /0.0.0.0:8009
>  Mar 20, 2007 4:02:08 PM org.apache.jk.server.JkMain start
>  INFO: Jk running ID=0 time=0/31  config=null
>  Mar 20, 2007 4:02:08 PM org.apache.catalina.storeconfig.StoreLoader load
>  INFO: Find registry server-registry.xml at classpath resource
>  Mar 20, 2007 4:02:08 PM org.apache.catalina.startup.Catalina start
>  INFO: Server startup in 3406 ms
>  Mar 20, 2007 4:02:15 PM org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
>  SEVERE: Exception occurred while trying to invoke service method getEmployee
>  java.lang.IllegalArgumentException: wrong number of arguments
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>          at java.lang.reflect.Method.invoke(Unknown Source)
>          at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:95)
>          at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>          at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
>          at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328)
>          at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>          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.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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>          at java.lang.Thread.run(Unknown Source)
>  Regards,
>  Sigirisetti

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message