Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 59614 invoked from network); 21 Mar 2007 04:08:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 04:08:57 -0000 Received: (qmail 39524 invoked by uid 500); 21 Mar 2007 04:08:55 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 39509 invoked by uid 500); 21 Mar 2007 04:08:55 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 39498 invoked by uid 99); 21 Mar 2007 04:08:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 21:08:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of davanum@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 21:08:46 -0700 Received: by an-out-0708.google.com with SMTP id c2so113560anc for ; Tue, 20 Mar 2007 21:08:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jwuf4cqh8yFQ1yAZM2wk3WNzXPCRMLT1gqxp18Q7ID9ch4VJcJY/hJ4BBOSKdL03kB+STV/KQPkPmaVystt/HAKqpkIZA9el4rGMD5Xu1pf+J8Cit2M2OrcvuqqpVvtZgNLapFDiU7gUg+97H9iGgOroSIPVnXGv6DNgM+J8ahM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lvYpGVuOo8phjJ/WB0eg1O4nfc0GQOSbG7Qihj1lJSWXcx17M+5B7X96vvU4V+lwQ9mcUINYM3pCSdfgy+p6m4uJribLuaDmMNRsgjMt0XThiJF0OEUhAbje8jH77NxwFRBP9j7rQ0C6sCm/dMchn8PB49laJW/sE04xs8np0/M= Received: by 10.114.80.4 with SMTP id d4mr19269wab.1174450103098; Tue, 20 Mar 2007 21:08:23 -0700 (PDT) Received: by 10.114.133.10 with HTTP; Tue, 20 Mar 2007 21:08:23 -0700 (PDT) Message-ID: <19e0530f0703202108r46d08a7bqcd0db487286edff7@mail.gmail.com> Date: Wed, 21 Mar 2007 00:08:23 -0400 From: "Davanum Srinivas" Reply-To: dims@apache.org To: axis-user@ws.apache.org Subject: Re: does useOriginalwsdl do any special handling In-Reply-To: <6A1DDFECA41E2F46B3E60A3C300259D1031F88EE@nsng4902pex.sng.swissbank.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6A1DDFECA41E2F46B3E60A3C300259D1031F88EE@nsng4902pex.sng.swissbank.com> X-Virus-Checked: Checked by ClamAV on apache.org Surya, Please create a bug report in JIRA and upload these files there. thanks, dims On 3/20/07, Surya.Sigirisetty@ubs.com wrote: > Hi folks, > > I developed a WS service. Using a WSDL file ofcourse axis generated. > when i set useOriginalwsdl=true and use WSDL generated by axis2-1.1.1 it gives me below error. > If i unset to useOriginalwsdl=false, then WS works. > > I dont understand why it is failing for "useOriginalwsdl=true" even though i use WSDL generated by axis. > Any clues? > > > > Client Side > > Sending request.. > 1org.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.(AxisFault.java:159) > ... 5 more > > Server Side > > 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 and any attachment are confidential and may be privileged > or otherwise protected from disclosure. If you are not the intended > recipient please telephone or e-mail the sender and delete this message > and all attachments from your system. If you are not the intended > recipient you must not copy this message or any attachment or disclose > the contents to any other person. > > Use of E-mails can involve substantial risks, including but not limited > to lack of confidentiality and potential manipulation of contents and/or > sender's address. E-mail transmission therefore cannot be guaranteed to > be secure, error-free or virus-free. UBS therefore does not accept > liability for any errors, omissions or consequences which arise as a > result of e-mail transmission. If you choose to send sensitive > information via e-mail, this will be done at your own risk. > > This message is provided for informational purposes and is not intended > to nor will it create any binding legal relations. If verification is > required please request a hard-copy version. > > This message should not be construed as a solicitation or offer to buy > or sell any securities or related financial instruments. > > UBS AG does not accept Instructions via e-mail unless specifically > authorised in writing and agreed to by UBS AG. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org