Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 66325 invoked from network); 8 May 2007 16:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 16:01:59 -0000 Received: (qmail 99021 invoked by uid 500); 8 May 2007 16:01:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 98990 invoked by uid 500); 8 May 2007 16:01:57 -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 98979 invoked by uid 99); 8 May 2007 16:01:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 09:01:57 -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 pzfreo@gmail.com designates 66.249.82.233 as permitted sender) Received: from [66.249.82.233] (HELO wx-out-0506.google.com) (66.249.82.233) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 09:01:50 -0700 Received: by wx-out-0506.google.com with SMTP id h28so1750528wxd for ; Tue, 08 May 2007 09:01:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UGORGN9Yji2py/FRGRUhswtHBA6YwHzyS90ymKBCyY7R9HOGck+tIPiz7lLyPrqnHAmYZOScMBc40LceoIvCq14BxzTjCqxVvX7vpPWThkmvaUuc+xfLrhumLb56DNE3zeqFgca/MjPhpZX3rAb2j9sJ2CHN9zXE4YZ4TW0OYrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=legS+MrWe2sD1phXC+voLZLpxzivoswBkTQHlfWgNvfllbYPQ5Drah9o1gB4COKy1maa7ugvxU2Z6KSeGTSPV606meeycIzkLrsnAd5cCX/OXswrLu/h9BE0XQawCD7XU0TT8siYuxr55Yn64jTMxZXi9PRexffrb60sbsYPtTc= Received: by 10.90.105.19 with SMTP id d19mr6393045agc.1178640088712; Tue, 08 May 2007 09:01:28 -0700 (PDT) Received: by 10.90.99.15 with HTTP; Tue, 8 May 2007 09:01:23 -0700 (PDT) Message-ID: <88f5d710705080901h496a2959le61f4a7da951b306@mail.gmail.com> Date: Tue, 8 May 2007 17:01:23 +0100 From: "Paul Fremantle" To: axis-user@ws.apache.org Subject: Re: Problems with Axis2 1.1.1 and XMLBeans In-Reply-To: <10378180.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10365520.post@talk.nabble.com> <88f5d710705071431h54117f6fnc5b542b7aa495d0e@mail.gmail.com> <10378180.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Great! Thanks for the update. Paul On 5/8/07, Stefan Dragnev wrote: > > Paul, > > I did some digging in Tomcat logs and my code and discovered that the > problem > was not caused by Axis2. I was using Axis2 1.1.1 Eclipse plugin and when I > build the > aar file some class files ended up in the wrong directory. As a result it > didn't deploy > correctly and the error I reported yesterday was coming from my old aar file > which > was generated from WSDL containing soap encoding. So I think the unsupported > encoding soap encoding was the real culprit for the errors I was seeing. Now > things seem to work as expected and I get a normal response from my service. > > Thanks, > Stefan > > > > pzfreo wrote: > > > > Stefan > > > > Please can you post the WSDL as well. > > > > Thanks, > > Paul > > > > On 5/7/07, Stefan Dragnev wrote: > >> > >> I'm trying to implement several web services using Axis2 and XMLBeans. I > >> successfully generated stub and skeletons and services.xml files from my > >> WSDL (had to remove all rpc and soap encodings first) and then filled the > >> business logic and deployed on Tomcat. When I tried to invoke the service > >> thought I got the error below. > >> > >> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > >> > >> > >> > >> soapenv:Client > >> ServiceClass does not implement required method of > >> the > >> form OMElement DataReq(OMElement e) > >> > >> org.apache.axis2.AxisFault: ServiceClass does not > >> implement required method of the form OMElement BPDataReq(OMElement e) > >> at > >> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:99) > >> 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(Thread.java:595) > >> > >> > >> > >> > >> > >> Any idea what might be causing this error? I'm using Axis2 1.1.1 and java > >> 1.5 and Tomcat 5.5.23. I'll appreciate any ideas on how I can resolve the > >> problem. > >> > >> > >> I used SOAP UI to test the service and this is how I invoked it > >> > >> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > >> xmlns:open="http://www.openuri.org/"> > >> > >> > >> > >> 100 > >> 1234567890 > >> > >> > >> > >> > >> What is strange to me is that the service is defined like that in my > >> skeleton file > >> > >> public DataReqResponseDocument DataReq (DataReqDocument request) > >> > >> and I have not modified it in any way other that filling in my business > >> logic. > >> > >> Thanks, > >> Stefan > >> -- > >> View this message in context: > >> http://www.nabble.com/Problems-with-Axis2-1.1.1-and-XMLBeans-tf3706297.html#a10365520 > >> Sent from the Axis - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > >> For additional commands, e-mail: axis-user-help@ws.apache.org > >> > >> > > > > > > -- > > Paul Fremantle > > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair > > > > http://bloglines.com/blog/paulfremantle > > paul@wso2.com > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > -- > View this message in context: http://www.nabble.com/Problems-with-Axis2-1.1.1-and-XMLBeans-tf3706297.html#a10378180 > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle paul@wso2.com "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org