From raymond76@example.com Fri Aug 01 03:23:05 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 48459 invoked from network); 1 Aug 2008 03:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 03:23:04 -0000 Received: (qmail 32400 invoked by uid 500); 1 Aug 2008 03:23:04 -0000 Delivered-To: raymond76@example.com Received: (qmail 32372 invoked by uid 500); 1 Aug 2008 03:23:03 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 32361 invoked by uid 99); 1 Aug 2008 03:23:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 20:23:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO internet-gw.LAGAN.COM) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 03:22:04 +0000 Received: from lagan-exch-2.lagan.com ([83.161.120.155]) by lagan-exch-2.lagan.com ([83.161.120.155]) with mapi; Fri, 1 Aug 2008 04:22:29 +0100 From: Daniel Mc Iver <raymond76@example.com> To: "raymond76@example.com" <raymond76@example.com> Date: Fri, 1 Aug 2008 04:20:41 +0100 Subject: RE: reading CSV file from VFS - (EPR) for the Operation not found Thread-Topic: reading CSV file from VFS - (EPR) for the Operation not found Thread-Index: Acjy2VwbM9/SMA1PTZiujxYfoktHiwAo9lFw Message-ID: <raymond76@example.com> References: <raymond76@example.com>,<raymond76@example.com> <raymond76@example.com> <raymond76@example.com> In-Reply-To: <raymond76@example.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-pmwin-version: 83.161.120.155, Antivirus-Engine: 2.75.4, Antivirus-Data: 4.31E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've gone back as close to sample 242 as possible (which is working on my s= ystem) and am still getting the same error. This is the modified sample (just the endpoint is changed): <definitions xmlns=3D"http://ws.apache.org/ns/synapse"> <proxy name=3D"StockQuoteProxy" transports=3D"vfs"> <parameter name=3D"transport.vfs.FileURI">file:///C:/synaps= efileexample/in</parameter> <parameter name=3D"transport.vfs.ContentType">text/xml</par= ameter> <parameter name=3D"transport.vfs.FileNamePattern">.*\.xml</= parameter> <parameter name=3D"transport.PollInterval">15</parameter> <parameter name=3D"transport.vfs.MoveAfterProcess">file:///= C:/synapsefileexample/suceeded</parameter> <parameter name=3D"transport.vfs.MoveAfterFailure">file:///= C:/synapsefileexample/failed</parameter> <parameter name=3D"transport.vfs.ActionAfterProcess">MOVE</= parameter> <parameter name=3D"transport.vfs.ActionAfterFailure">MOVE</= parameter> <target> <endpoint> <address uri=3D"http://localhost:8080/lagan= /services/FL" format=3D"soap11"/> </endpoint> <outSequence> <property name=3D"transport.vfs.ReplyFileNa= me" expression=3D"fn:concat(fn:substr= ing-after(get-property('MessageID'), 'urn:uuid:'), '.xml')" scope=3D"transp= ort"/> <send> <endpoint> <address uri=3D"vfs:file://= /C:/synapsefileexample/out"/> </endpoint> </send> </outSequence> </target> <publishWSDL uri=3D"file:repository/conf/sample/resources/p= roxy/sample_proxy_1.wsdl"/> </proxy> </definitions> This is the file I'm using (I've ran it against the service using SOAPUI so= it should work): <?xml version=3D'1.0' encoding=3D'UTF-8'?> <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope= /" xmlns:wsa=3D"http://www.w3.org/2005/08/addressing"> <soapenv:Body> <flt:FWTCaseUpdate xmlns:flt=3D"http://www.lagan.com/wsdl/F= LTypes"> <flt:CaseReference>101000001750</flt:CaseReference> <NewNote>Status of request 10000023 : CLOSED</NewNo= te> </flt:FWTCaseUpdate> </soapenv:Body> </soapenv:Envelope> Any idea how I could proceed to debug? Also is it not possible to read a CSV file using the VFS mediator and media= te to SOAP like I was trying to do in my previous example? Thanks, Dan -----Original Message----- From: Evanthika Amarasiri [mailto:raymond76@example.com] Sent: Thursday, July 31, 2008 1:40 AM To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found Hi Daniel, Would you be able to follow the steps which Asankha has sent you and see if your scenario works? Thanks, Evanthika Daniel Mc Iver wrote: > Hi Evanthika, > > Thanks for getting back to me. > > If I have to set content to text/xml does this mean I can't use CSV here = - I have to use XML if I'm trying to call a SOAP 1.1 end point? Can it only= accept POX? > > Aren't I setting the SOAP action with <header name=3D"Action" value=3D"ur= n:FWTCaseUpdate"/>? Is there something else I need to do here? > > I don't think I'm mismatching because assuming the script mediator is wor= king correctly the payload should be the same as other examples I have ran. > > Thanks, > > Daniel McIver > > ________________________________________ > From: Evanthika Amarasiri [raymond76@example.com] > Sent: Wednesday, July 30, 2008 10:19 PM > To: raymond76@example.com > Subject: Re: reading CSV file from VFS - (EPR) for the Operation not foun= d > > Hi Daniel, > > Since you are using SOAP1.1 you need to make sure that your content type > is text/xml. In addition with SOAP1.1 you need to send SOAP action HTTP > header as well. > > Also would it be possible for you to check whether the service you are > calling matches with your request? If you pointing to a mismatching > service also you get this error. For example if your request is a > getQuote request and you are pointing to the MTOMSwASampleService then > you would get this error. > > See if this would solve your problem. > > Thanks, > Evanthika > > Daniel Mc Iver wrote: > >> Hi, >> >> I'm trying to read a CSV file from VFS, transform it using a script medi= ator and send it to an end point. When I do I get the error "The endpoint r= eference (EPR) for the Operation not found is and the WSA Action =3D null"= (full log below). >> >> Here is the synapse config file: >> >> <definitions xmlns=3D"http://ws.apache.org/ns/synapse"> >> <sequence name=3D"updatecase"> >> <script language=3D"js"><![CDATA[ >> var args =3D mc.getPayloadXML().toString().split(","); >> mc.setPayloadXML( >> <flt:FWTCaseUpdate xmlns:flt=3D"http://www.lagan.com/wsdl/FLTypes"> >> <flt:CaseReference>{args[0]}</flt:CaseReference> >> <NewNote>Status of request {args[1]} : {args[2]}</NewNote> >> </flt:FWTCaseUpdate>); >> ]]></script> >> <property action=3D"set" name=3D"OUT_ONLY" value=3D"true"/> >> <header name=3D"Action" value=3D"urn:FWTCaseUpdate"/> >> <send> >> <endpoint> >> <address uri=3D"http://localhost:8080/lagan/services/FL" format=3D"s= oap11"/> >> </endpoint> >> </send> >> </sequence> >> <proxy name=3D"FileProxy" transports=3D"vfs"> >> <parameter name=3D"transport.vfs.FileURI">file:///C:/syn= apsefileexample/in</parameter> >> <parameter name=3D"transport.vfs.ContentType">text/plain= ; charset=3DISO-8859-1</parameter> >> <parameter name=3D"transport.vfs.FileNamePattern">.*\.cs= v</parameter> >> <parameter name=3D"transport.PollInterval">15</parameter= > >> <parameter name=3D"transport.vfs.MoveAfterProcess">file:= ///C:/synapsefileexample/suceeded</parameter> >> <parameter name=3D"transport.vfs.MoveAfterFailure">file:= ///C:/synapsefileexample/failed</parameter> >> <parameter name=3D"transport.vfs.ActionAfterProcess">MOV= E</parameter> >> <parameter name=3D"transport.vfs.ActionAfterFailure">MOV= E</parameter> >> <target inSequence=3D"updatecase"> >> <outSequence> >> <property name=3D"transport.vfs.ReplyFileName" >> expression=3D"fn:concat(fn:substring-after(get-property('MessageI= D'), 'urn:uuid:'), '.xml')" scope=3D"transport"/> >> <send> >> <endpoint> >> <address uri=3D"vfs:file:///C:/synapsefileexample/out"/> >> </endpoint> >> </send> >> </outSequence> >> </target> >> <publishWSDL uri=3D"file:repository/conf/sample/resources/proxy/sample= _proxy_1.wsdl"/> >> </proxy> >> </definitions> >> Here is the log at DEBUG: >> >> >> 2008-07-30 12:12:10,125 [83.161.120.155-na-bpm-1] [WrapperSimpleAppMain] = INFO ServerManager Ready for processing >> 2008-07-30 12:12:24,296 [-] [vfs-Worker-1] DEBUG VFSTransportListener Sc= anning directory or file : file:///C:/synapsefileexample/in >> 2008-07-30 12:12:24,359 [-] [vfs-Worker-1] DEBUG VFSTransportListener Fi= le name pattern :.*\.csv >> 2008-07-30 12:12:24,359 [-] [vfs-Worker-1] DEBUG VFSTransportListener Ma= tching file :101000001750.csv >> 2008-07-30 12:12:24,375 [-] [vfs-Worker-1] DEBUG VFSTransportListener Pr= ocessing file :file:///C:/synapsefileexample/in/101000001750.csv >> 2008-07-30 12:12:24,421 [-] [vfs-Worker-1] DEBUG TransportUtils createSO= APEnvelope using Builder (class org.apache.synapse.format.PlainTextBuilder)= selected from type (text/plain) >> 2008-07-30 12:12:24,484 [-] [vfs-Worker-1] ERROR AxisEngine The endpoint= reference (EPR) for the Operation not found is and the WSA Action =3D nul= l >> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operati= on not found is and the WSA Action =3D null >> at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPh= ase.java:88) >> at org.apache.axis2.engine.Phase.invoke(Phase.java:333) >> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) >> at org.apache.synapse.transport.base.AbstractTransportListener.handleIn= comingMessage(AbstractTransportListener.java:256) >> at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VF= STransportListener.java:448) >> at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDire= ctory(VFSTransportListener.java:241) >> at org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTran= sportListener.java:145) >> at org.apache.synapse.transport.base.AbstractPollingTransportListener$1= $1.run(AbstractPollingTransportListener.java:94) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Sourc= e) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> 2008-07-30 12:12:24,484 [-] [vfs-Worker-1] DEBUG VFSTransportListener Er= ror receiving message >> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operati= on not found is and the WSA Action =3D null >> at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPh= ase.java:88) >> at org.apache.axis2.engine.Phase.invoke(Phase.java:333) >> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) >> at org.apache.synapse.transport.base.AbstractTransportListener.handleIn= comingMessage(AbstractTransportListener.java:256) >> at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VF= STransportListener.java:448) >> at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDire= ctory(VFSTransportListener.java:241) >> at org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTran= sportListener.java:145) >> at org.apache.synapse.transport.base.AbstractPollingTransportListener$1= $1.run(AbstractPollingTransportListener.java:94) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Sourc= e) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportSender Unab= le to determine out transport information to send message >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportListener Er= ror processing received message >> org.apache.axis2.AxisFault: Unable to determine out transport informatio= n to send message >> at org.apache.synapse.transport.base.AbstractTransportSender.handleExce= ption(AbstractTransportSender.java:243) >> at org.apache.synapse.transport.vfs.VFSTransportSender.sendMessage(VFST= ransportSender.java:161) >> at org.apache.synapse.transport.base.AbstractTransportSender.invoke(Abs= tractTransportSender.java:127) >> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530) >> at org.apache.synapse.transport.base.AbstractTransportListener.handleIn= comingMessage(AbstractTransportListener.java:263) >> at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VF= STransportListener.java:448) >> at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDire= ctory(VFSTransportListener.java:241) >> at org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTran= sportListener.java:145) >> at org.apache.synapse.transport.base.AbstractPollingTransportListener$1= $1.run(AbstractPollingTransportListener.java:94) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Sourc= e) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportListener Er= ror processing File URI : file:///C:/synapsefileexample/in/101000001750.csv >> org.apache.axis2.AxisFault: Unable to determine out transport informatio= n to send message >> at org.apache.synapse.transport.base.AbstractTransportSender.handleExce= ption(AbstractTransportSender.java:243) >> at org.apache.synapse.transport.vfs.VFSTransportSender.sendMessage(VFST= ransportSender.java:161) >> at org.apache.synapse.transport.base.AbstractTransportSender.invoke(Abs= tractTransportSender.java:127) >> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530) >> at org.apache.synapse.transport.base.AbstractTransportListener.handleIn= comingMessage(AbstractTransportListener.java:263) >> at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VF= STransportListener.java:448) >> at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDire= ctory(VFSTransportListener.java:241) >> at org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTran= sportListener.java:145) >> at org.apache.synapse.transport.base.AbstractPollingTransportListener$1= $1.run(AbstractPollingTransportListener.java:94) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Sourc= e) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] DEBUG VFSTransportListener Mo= ving to file :file:///C:/synapsefileexample/failed\101000001750.csv >> 2008-07-30 12:12:39,296 [-] [vfs-Worker-2] DEBUG VFSTransportListener Sc= anning directory or file : file:///C:/synapsefileexample/in >> >> Any ideas what I'm doing wrong? >> >> Thanks, >> >> Daniel McIver >> >> >> >> >> ________________________________ >> The information in this message is confidential and may be legally privi= leged. It is intended solely for the addressee. Access to this message by a= nyone else is unauthorised. If you are not the intended recipient, any disc= losure, copying, or distribution of the message, or any action or omission = taken by you in reliance on it, is prohibited and may be unlawful. Please i= mmediately contact the sender if you have received this message in error. >> >> The views and opinions expressed in this email may not reflect the views= and opinions of any member of Lagan Technologies Limited, or any of its su= bsidiaries. >> >> Lagan Technologies Limited is a company registered in Northern Ireland w= ith registration number NI 28773. The registered office of Lagan Technologi= es Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. >> >> >> >> > > The information in this message is confidential and may be legally privil= eged. It is intended solely for the addressee. Access to this message by an= yone else is unauthorised. If you are not the intended recipient, any discl= osure, copying, or distribution of the message, or any action or omission t= aken by you in reliance on it, is prohibited and may be unlawful. Please im= mediately contact the sender if you have received this message in error. > > The views and opinions expressed in this email may not reflect the views = and opinions of any member of Lagan Technologies Limited, or any of its sub= sidiaries. > > Lagan Technologies Limited is a company registered in Northern Ireland wi= th registration number NI 28773. The registered office of Lagan Technologie= s Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. > > > The information in this message is confidential and may be legally privileg= ed. It is intended solely for the addressee. Access to this message by anyo= ne else is unauthorised. If you are not the intended recipient, any disclos= ure, copying, or distribution of the message, or any action or omission tak= en by you in reliance on it, is prohibited and may be unlawful. Please imme= diately contact the sender if you have received this message in error. The views and opinions expressed in this email may not reflect the views an= d opinions of any member of Lagan Technologies Limited, or any of its subsi= diaries. Lagan Technologies Limited is a company registered in Northern Ireland with= registration number NI 28773. The registered office of Lagan Technologies = Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. From raymond76@example.com Fri Aug 01 05:20:39 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 17995 invoked from network); 1 Aug 2008 05:20:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 05:20:38 -0000 Received: (qmail 92038 invoked by uid 500); 1 Aug 2008 05:20:37 -0000 Delivered-To: raymond76@example.com Received: (qmail 92018 invoked by uid 500); 1 Aug 2008 05:20:37 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 92007 invoked by uid 99); 1 Aug 2008 05:20:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2008 22:20:37 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raymond76@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ti-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 05:19:39 +0000 Received: by ti-out-0910.google.com with SMTP id u3so217981tia.15 for <raymond76@example.com>; Thu, 31 Jul 2008 22:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=gxclHrUr0V+3SrRlxdu9i7qWX53EkV/6J9A2370k78g=; b=QNNcSTJR3haeHKtQpYITGNmkrm5M5TY6t6O3DkuhokSzMhTxfcQOcucISIQ6hkFmwd +tSy9Z3zCtVUDLi9+IdkjgVBvMZmXvdvEIhYTdCiJ8D9ulWRZIjXzEwCjgnuDIP8cFNk KfboHqcsrGVrTqeTayEEO40Z0RbyxfqF7KUTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=iCvJWSVa0Yra3DA2nhsD9g532Quf+90ObNTjHSo1+U9gLRyQvwPSzzUVlfkGz3Nbet KctyJn1l4HukNmDzqThFk7URzQBBVZUmBomzlezksaKYNIVOpc9A4BZRjXBFbemXw4JG 7VtAQMl3f2VPm5iO6+QA0rwJju9jJH/oy4L20= Received: by 83.161.120.155 with SMTP id 20mr8568060tiz.23.1217567986846; Thu, 31 Jul 2008 22:19:46 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 31 Jul 2008 22:19:46 -0700 (PDT) Message-ID: <raymond76@example.com> Date: Fri, 1 Aug 2008 10:49:46 +0530 From: "indika kumara" <raymond76@example.com> To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found In-Reply-To: <raymond76@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3377_9563089.1217567986835" References: <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3377_9563089.1217567986835 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi ""The endpoint reference (EPR) for the Operation not found is and the WSA Action = null" obviously tells that the both EPR and the WSA Action are null. But as you are using an Address endpoint , EPR cannot be null(EPR is equal to the uri attribute of the endpoint). But , due to some reasons it has been happened. I will try your sample here and get back to you. Could you please change the logging level to DEBUG for org.apache.synapse and then attached here(both synapse.log and service.log)?. Log4j.properties file is in lib directory. In additions, could you trace the message between the synapse and the external service using TCPMON and attach those here?. This may be help to investigate what is wrong. Then , I will try out your samples here. Thanks Indika On Fri, Aug 1, 2008 at 8:50 AM, Daniel Mc Iver <raymond76@example.com>wrote: > Hi, > > I've gone back as close to sample 242 as possible (which is working on my > system) and am still getting the same error. > > This is the modified sample (just the endpoint is changed): > > <definitions xmlns="http://ws.apache.org/ns/synapse"> > <proxy name="StockQuoteProxy" transports="vfs"> > <parameter > name="transport.vfs.FileURI">file:///C:/synapsefileexample/in</parameter> > <parameter > name="transport.vfs.ContentType">text/xml</parameter> > <parameter > name="transport.vfs.FileNamePattern">.*\.xml</parameter> > <parameter name="transport.PollInterval">15</parameter> > <parameter > name="transport.vfs.MoveAfterProcess">file:///C:/synapsefileexample/suceeded</parameter> > <parameter > name="transport.vfs.MoveAfterFailure">file:///C:/synapsefileexample/failed</parameter> > <parameter > name="transport.vfs.ActionAfterProcess">MOVE</parameter> > <parameter > name="transport.vfs.ActionAfterFailure">MOVE</parameter> > > <target> > <endpoint> > <address uri=" > http://localhost:8080/lagan/services/FL" format="soap11"/> > </endpoint> > <outSequence> > <property name="transport.vfs.ReplyFileName" > > expression="fn:concat(fn:substring-after(get-property('MessageID'), > 'urn:uuid:'), '.xml')" scope="transport"/> > <send> > <endpoint> > <address > uri="vfs:file:///C:/synapsefileexample/out"/> > </endpoint> > </send> > </outSequence> > </target> > <publishWSDL > uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/> > </proxy> > </definitions> > > This is the file I'm using (I've ran it against the service using SOAPUI so > it should work): > > <?xml version='1.0' encoding='UTF-8'?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > <soapenv:Body> > <flt:FWTCaseUpdate xmlns:flt=" > http://www.lagan.com/wsdl/FLTypes"> > <flt:CaseReference>101000001750</flt:CaseReference> > <NewNote>Status of request 10000023 : > CLOSED</NewNote> > </flt:FWTCaseUpdate> > </soapenv:Body> > </soapenv:Envelope> > > Any idea how I could proceed to debug? > > Also is it not possible to read a CSV file using the VFS mediator and > mediate to SOAP like I was trying to do in my previous example? > > Thanks, > > Dan > > -----Original Message----- > From: Evanthika Amarasiri [mailto:raymond76@example.com] > Sent: Thursday, July 31, 2008 1:40 AM > To: raymond76@example.com > Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found > > Hi Daniel, > > Would you be able to follow the steps which Asankha has sent you > and see if your scenario works? > > Thanks, > Evanthika > > Daniel Mc Iver wrote: > > Hi Evanthika, > > > > Thanks for getting back to me. > > > > If I have to set content to text/xml does this mean I can't use CSV here > - I have to use XML if I'm trying to call a SOAP 1.1 end point? Can it only > accept POX? > > > > Aren't I setting the SOAP action with <header name="Action" > value="urn:FWTCaseUpdate"/>? Is there something else I need to do here? > > > > I don't think I'm mismatching because assuming the script mediator is > working correctly the payload should be the same as other examples I have > ran. > > > > Thanks, > > > > Daniel McIver > > > > ________________________________________ > > From: Evanthika Amarasiri [raymond76@example.com] > > Sent: Wednesday, July 30, 2008 10:19 PM > > To: raymond76@example.com > > Subject: Re: reading CSV file from VFS - (EPR) for the Operation not > found > > > > Hi Daniel, > > > > Since you are using SOAP1.1 you need to make sure that your content type > > is text/xml. In addition with SOAP1.1 you need to send SOAP action HTTP > > header as well. > > > > Also would it be possible for you to check whether the service you are > > calling matches with your request? If you pointing to a mismatching > > service also you get this error. For example if your request is a > > getQuote request and you are pointing to the MTOMSwASampleService then > > you would get this error. > > > > See if this would solve your problem. > > > > Thanks, > > Evanthika > > > > Daniel Mc Iver wrote: > > > >> Hi, > >> > >> I'm trying to read a CSV file from VFS, transform it using a script > mediator and send it to an end point. When I do I get the error "The > endpoint reference (EPR) for the Operation not found is and the WSA Action > = null" (full log below). > >> > >> Here is the synapse config file: > >> > >> <definitions xmlns="http://ws.apache.org/ns/synapse"> > >> <sequence name="updatecase"> > >> <script language="js"><![CDATA[ > >> var args = mc.getPayloadXML().toString().split(","); > >> mc.setPayloadXML( > >> <flt:FWTCaseUpdate xmlns:flt="http://www.lagan.com/wsdl/FLTypes"> > >> <flt:CaseReference>{args[0]}</flt:CaseReference> > >> <NewNote>Status of request {args[1]} : {args[2]}</NewNote> > >> </flt:FWTCaseUpdate>); > >> ]]></script> > >> <property action="set" name="OUT_ONLY" value="true"/> > >> <header name="Action" value="urn:FWTCaseUpdate"/> > >> <send> > >> <endpoint> > >> <address uri="http://localhost:8080/lagan/services/FL" > format="soap11"/> > >> </endpoint> > >> </send> > >> </sequence> > >> <proxy name="FileProxy" transports="vfs"> > >> <parameter > name="transport.vfs.FileURI">file:///C:/synapsefileexample/in</parameter> > >> <parameter name="transport.vfs.ContentType">text/plain; > charset=ISO-8859-1</parameter> > >> <parameter > name="transport.vfs.FileNamePattern">.*\.csv</parameter> > >> <parameter name="transport.PollInterval">15</parameter> > >> <parameter > name="transport.vfs.MoveAfterProcess">file:///C:/synapsefileexample/suceeded</parameter> > >> <parameter > name="transport.vfs.MoveAfterFailure">file:///C:/synapsefileexample/failed</parameter> > >> <parameter > name="transport.vfs.ActionAfterProcess">MOVE</parameter> > >> <parameter > name="transport.vfs.ActionAfterFailure">MOVE</parameter> > >> <target inSequence="updatecase"> > >> <outSequence> > >> <property name="transport.vfs.ReplyFileName" > >> > expression="fn:concat(fn:substring-after(get-property('MessageID'), > 'urn:uuid:'), '.xml')" scope="transport"/> > >> <send> > >> <endpoint> > >> <address uri="vfs:file:///C:/synapsefileexample/out"/> > >> </endpoint> > >> </send> > >> </outSequence> > >> </target> > >> <publishWSDL > uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/> > >> </proxy> > >> </definitions> > >> Here is the log at DEBUG: > >> > >> > >> 2008-07-30 12:12:10,125 [83.161.120.155-na-bpm-1] [WrapperSimpleAppMain] > INFO ServerManager Ready for processing > >> 2008-07-30 12:12:24,296 [-] [vfs-Worker-1] DEBUG VFSTransportListener > Scanning directory or file : file:///C:/synapsefileexample/in > >> 2008-07-30 12:12:24,359 [-] [vfs-Worker-1] DEBUG VFSTransportListener > File name pattern :.*\.csv > >> 2008-07-30 12:12:24,359 [-] [vfs-Worker-1] DEBUG VFSTransportListener > Matching file :101000001750.csv > >> 2008-07-30 12:12:24,375 [-] [vfs-Worker-1] DEBUG VFSTransportListener > Processing file :file:///C:/synapsefileexample/in/101000001750.csv > >> 2008-07-30 12:12:24,421 [-] [vfs-Worker-1] DEBUG TransportUtils > createSOAPEnvelope using Builder (class > org.apache.synapse.format.PlainTextBuilder) selected from type (text/plain) > >> 2008-07-30 12:12:24,484 [-] [vfs-Worker-1] ERROR AxisEngine The endpoint > reference (EPR) for the Operation not found is and the WSA Action = null > >> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the > Operation not found is and the WSA Action = null > >> at > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:88) > >> at org.apache.axis2.engine.Phase.invoke(Phase.java:333) > >> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) > >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) > >> at > org.apache.synapse.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:256) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:448) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:241) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTransportListener.java:145) > >> at > org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > >> at java.lang.Thread.run(Unknown Source) > >> 2008-07-30 12:12:24,484 [-] [vfs-Worker-1] DEBUG VFSTransportListener > Error receiving message > >> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the > Operation not found is and the WSA Action = null > >> at > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:88) > >> at org.apache.axis2.engine.Phase.invoke(Phase.java:333) > >> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) > >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) > >> at > org.apache.synapse.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:256) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:448) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:241) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTransportListener.java:145) > >> at > org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > >> at java.lang.Thread.run(Unknown Source) > >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportSender > Unable to determine out transport information to send message > >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportListener > Error processing received message > >> org.apache.axis2.AxisFault: Unable to determine out transport > information to send message > >> at > org.apache.synapse.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:243) > >> at > org.apache.synapse.transport.vfs.VFSTransportSender.sendMessage(VFSTransportSender.java:161) > >> at > org.apache.synapse.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:127) > >> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530) > >> at > org.apache.synapse.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:263) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:448) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:241) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTransportListener.java:145) > >> at > org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > >> at java.lang.Thread.run(Unknown Source) > >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] ERROR VFSTransportListener > Error processing File URI : > file:///C:/synapsefileexample/in/101000001750.csv > >> org.apache.axis2.AxisFault: Unable to determine out transport > information to send message > >> at > org.apache.synapse.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:243) > >> at > org.apache.synapse.transport.vfs.VFSTransportSender.sendMessage(VFSTransportSender.java:161) > >> at > org.apache.synapse.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:127) > >> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530) > >> at > org.apache.synapse.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:263) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:448) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:241) > >> at > org.apache.synapse.transport.vfs.VFSTransportListener.onPoll(VFSTransportListener.java:145) > >> at > org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > >> at java.lang.Thread.run(Unknown Source) > >> 2008-07-30 12:12:24,593 [-] [vfs-Worker-1] DEBUG VFSTransportListener > Moving to file :file:///C:/synapsefileexample/failed\101000001750.csv > >> 2008-07-30 12:12:39,296 [-] [vfs-Worker-2] DEBUG VFSTransportListener > Scanning directory or file : file:///C:/synapsefileexample/in > >> > >> Any ideas what I'm doing wrong? > >> > >> Thanks, > >> > >> Daniel McIver > >> > >> > >> > >> > >> ________________________________ > >> The information in this message is confidential and may be legally > privileged. It is intended solely for the addressee. Access to this message > by anyone else is unauthorised. If you are not the intended recipient, any > disclosure, copying, or distribution of the message, or any action or > omission taken by you in reliance on it, is prohibited and may be unlawful. > Please immediately contact the sender if you have received this message in > error. > >> > >> The views and opinions expressed in this email may not reflect the views > and opinions of any member of Lagan Technologies Limited, or any of its > subsidiaries. > >> > >> Lagan Technologies Limited is a company registered in Northern Ireland > with registration number NI 28773. The registered office of Lagan > Technologies Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. > >> > >> > >> > >> > > > > The information in this message is confidential and may be legally > privileged. It is intended solely for the addressee. Access to this message > by anyone else is unauthorised. If you are not the intended recipient, any > disclosure, copying, or distribution of the message, or any action or > omission taken by you in reliance on it, is prohibited and may be unlawful. > Please immediately contact the sender if you have received this message in > error. > > > > The views and opinions expressed in this email may not reflect the views > and opinions of any member of Lagan Technologies Limited, or any of its > subsidiaries. > > > > Lagan Technologies Limited is a company registered in Northern Ireland > with registration number NI 28773. The registered office of Lagan > Technologies Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. > > > > > > > > > The information in this message is confidential and may be legally > privileged. It is intended solely for the addressee. Access to this message > by anyone else is unauthorised. If you are not the intended recipient, any > disclosure, copying, or distribution of the message, or any action or > omission taken by you in reliance on it, is prohibited and may be unlawful. > Please immediately contact the sender if you have received this message in > error. > > The views and opinions expressed in this email may not reflect the views > and opinions of any member of Lagan Technologies Limited, or any of its > subsidiaries. > > Lagan Technologies Limited is a company registered in Northern Ireland with > registration number NI 28773. The registered office of Lagan Technologies > Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. > > ------=_Part_3377_9563089.1217567986835-- From raymond76@example.com Fri Aug 01 11:33:02 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 19533 invoked from network); 1 Aug 2008 11:33:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 11:33:02 -0000 Received: (qmail 14095 invoked by uid 500); 1 Aug 2008 11:33:02 -0000 Delivered-To: raymond76@example.com Received: (qmail 13942 invoked by uid 500); 1 Aug 2008 11:33:01 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 13931 invoked by uid 99); 1 Aug 2008 11:33:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 04:33:01 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raymond76@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ti-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 11:32:06 +0000 Received: by ti-out-0910.google.com with SMTP id u3so261849tia.15 for <raymond76@example.com>; Fri, 01 Aug 2008 04:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=kqJFcynq8vZXQ89a491ZRjapw49qRObn4w3XPrJDkc8=; b=CShiBPXpaD+qrmyAOh4O2qFautRhNR953uL+JLWn3jvwu5ieUQZQnGziyX1ay0bMaB M6wONfoF+mfsNUUUxoY5wh9uiG08GWGGwpk9NULxtQLzLnYt0ezO/wNzNZUwlK9kuMk+ //byCgtlnnFYmtRnyZ0Lx0usXchL9li8BXAw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=xbXhshuXs3rm31FV/BOfqCFnby91nbtA/pnc9k72/Io6dvhRiKrhLEhgVoJnbhDCgW dq0VeL78MbcCIezjkqCcWA0OM6l4e7w6YtVmuvhQB642+EGFonfH9zaISH5MrvYJgmc0 ACYxHNpBV+E656IhQN9W8IwnBtfXLXc6BObac= Received: by 83.161.120.155 with SMTP id 4mr534072tiu.28.1217590351711; Fri, 01 Aug 2008 04:32:31 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 1 Aug 2008 04:32:31 -0700 (PDT) Message-ID: <raymond76@example.com> Date: Fri, 1 Aug 2008 17:02:31 +0530 From: "indika kumara" <raymond76@example.com> To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found In-Reply-To: <raymond76@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21283_2940349.1217590351711" References: <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21283_2940349.1217590351711 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Daniel I was successfully reproduce error here . When I see the line "<publishWSDLuri=" file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl<file:///repository/conf/sample/resources/proxy/sample_proxy_1.wsdl>"/>" , this may be the root cause. Error you have got is about axis2 dispatching error and it cannot be happened when sending message from synapse but only when receiving messages. I have successfully reproduced this as follows I just deploy axis2 version service and get it's wsdl and replace content of sample_proxy_1.wsdl with the content of version service wsdl and deploy SimpleStockQuoteService in the axis2. Then change the synapse_sample_254 (Just uri of address endpoint to the EPR of SimpleStockQuoteService in the axis2) and then start the synapse with sample 254 . Your error was reproduced. Issue is sample_proxy_1.wsdl contains a wsdl for SimpleStockQuoteService and your request it not the request expected by SimpleStockQuoteService. VFSListener get the file and create a message and give it to axis 2 engine to find out service (Here to find out proxy service). There is no SOAP Action or a EPR here so axis dispatcher will try to dispatch based on SOAP body. But soap body doesn't contain information find to SimpleStockQuoteService (The first child of the your request 'FWTCaseUpdate') and as reason throws an error that you have got. Please change the request xml so that using it axis2 can find the service. And note, this error is occurred before message is injected to the synapse(when finding the proxy service). Thanks Indika ------=_Part_21283_2940349.1217590351711-- From raymond76@example.com Fri Aug 01 11:57:35 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 32781 invoked from network); 1 Aug 2008 11:57:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 11:57:35 -0000 Received: (qmail 43616 invoked by uid 500); 1 Aug 2008 11:57:34 -0000 Delivered-To: raymond76@example.com Received: (qmail 43595 invoked by uid 500); 1 Aug 2008 11:57:34 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 43584 invoked by uid 99); 1 Aug 2008 11:57:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 04:57:34 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mailhost.almerys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 11:56:39 +0000 Received: from tersudw.almerys ([83.161.120.155]RDNS failed) by tl-avgateway with InterScan Messaging Security Suite; Fri, 01 Aug 2008 13:57:03 +0200 To: raymond76@example.com Subject: [Synapse 1.2] Proxying a WS MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: <raymond76@example.com> From: raymond76@example.com Date: Fri, 1 Aug 2008 13:57:01 +0200 X-MIMETrack: Serialize by Router on TERSUDW/ALMERYS(Release 6.5.3FP1|December 15, 2004) at01/08/2008 13:57:02,Serialize complete at 01/08/2008 13:57:02 Content-Type: multipart/alternative; boundary="=_alternative 0041A581C1257498_=" X-imss-version: 2.051 X-imss-result: Passed X-imss-scores: Clean:72.29223 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:6 C:4 M:4 S:4 R:4 (2.0000 2.0000) X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0041A581C1257498_= Content-Type: text/plain; charset="US-ASCII" Hello all, I am currently managing a web app based on Axis2 which exposes 6 WS. All is working perfectly and is in production. There is a WS, coded in .Net and hosted on IIS server wants to access functionnalities of the webapp. After some searches and a question on axis2 user list, it seems that the best is to use synapse. After some readings, here is what I understand: - I need to add synapse.mar axis module - I engage the module globally - I configure the proxy functions of synapse in the xml configuration file Is that right? The problem is that I want to do a bit more than simply redirecting the client request: I want to check coherency of the data and add information in the SOAP-BODY. How can I do that? Do I have to implement a Mediator? What changes in synapse configuration file do I have to perform (I think in the insequence tag)? As you can see, i'm a bit confused... Thanks in advance for your help, Pierre --=_alternative 0041A581C1257498_=-- From raymond76@example.com Fri Aug 01 14:20:23 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 36139 invoked from network); 1 Aug 2008 14:20:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 14:20:22 -0000 Received: (qmail 66417 invoked by uid 500); 1 Aug 2008 14:20:21 -0000 Delivered-To: raymond76@example.com Received: (qmail 66400 invoked by uid 500); 1 Aug 2008 14:20:21 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 66389 invoked by uid 99); 1 Aug 2008 14:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:20:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raymond76@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ti-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 14:19:27 +0000 Received: by ti-out-0910.google.com with SMTP id u3so275129tia.15 for <raymond76@example.com>; Fri, 01 Aug 2008 07:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=CyIpZwvWyduMSzocWxovdkuB7f72QujD/s0uzroD2Mo=; b=nhiZS1YRHGYUb5X0nzluNuIrTSwOsAVgLxFq+hE9sis6KfXVjIA3MHiHVqxLk3R05o Q/X62Sb0pOF7NAZS27JsUaIe1v3WQ+5PGZ4PbH9tFTClO+tXwZ+epgHrh3KRulVk15BB 7qhwfBaZ3LRRwLvDUkVT8RLXAFxwwf4GAw1SE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=GUlvnMJwa7xBCnaLV0NWSeZloern90TQ2yJto+T2EVv5u9jYv3DRFjw1iKsg/CuHd2 Vfz+rEsvp5PnFW3BJ60/WsOJmnDZqB2s2nfeGOYWpcEQ78TzCUyhoDps7utr3K2xzP0Q dJvFJhMmjmmKKdt0A/aorh2M8Z2sxUDCIShUc= Received: by 83.161.120.155 with SMTP id s5mr8694618tia.21.1217600375409; Fri, 01 Aug 2008 07:19:35 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 1 Aug 2008 07:19:35 -0700 (PDT) Message-ID: <raymond76@example.com> Date: Fri, 1 Aug 2008 19:49:35 +0530 From: "indika kumara" <raymond76@example.com> To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found In-Reply-To: <raymond76@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26633_20699971.1217600375397" References: <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_26633_20699971.1217600375397 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Daniel I am afraid; there are some incorrect things in my previous comment. I did that comment without looking at the VFC transport code base (just predicting behavior). VFS Listener is doing per service listening. That means, it already know what is the service but don't know about what is the operation. Due to this reason the error you have got is occurred (operation not found). It expects First child of soap body as 'getQuote' but in your request, it is FWTCaseUpdate'. What you need to do is adding the WSDL of 'FL' service as 'publishWSDL' attribute of proxy service. Or you also can remove this attribute, then proxy service only contains the 'mediate' operation and it is always found. For CVS file, file transport should work. I think the issue is same (Unable to find the operation based on payload). In VFS, both the text and binary content is wrapped with a node named 'text' and add it as the first child of soap body. If there aren't operation with name 'text' and if you have specified the wsdl for the service through 'publishWSDL, then 'operation not found' error will be occurred. You can changed the wrapping element name by adding following parameter to the proxy service <parameter name="Wrapper">{namespace URI}wrapper element name</parameter> For example: <parameter name="Wrapper">{http://services.samples}getQuote</parameter> Hopes this works. If not please let me know. Thanks Indika ------=_Part_26633_20699971.1217600375397-- From raymond76@example.com Fri Aug 01 14:38:24 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 50675 invoked from network); 1 Aug 2008 14:38:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 14:38:24 -0000 Received: (qmail 98203 invoked by uid 500); 1 Aug 2008 14:38:23 -0000 Delivered-To: raymond76@example.com Received: (qmail 98178 invoked by uid 500); 1 Aug 2008 14:38:23 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 98167 invoked by uid 99); 1 Aug 2008 14:38:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:38:23 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO relay03.pair.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Aug 2008 14:37:26 +0000 Received: (qmail 19393 invoked from network); 1 Aug 2008 14:36:49 -0000 Received: from unknown (HELO ?83.161.120.155?) (unknown) by unknown with SMTP; 1 Aug 2008 14:36:49 -0000 X-pair-Authenticated: 83.161.120.155 Message-ID: <raymond76@example.com> Date: Fri, 01 Aug 2008 20:06:48 +0530 From: "Asankha C. Perera" <raymond76@example.com> User-Agent: Thunderbird 83.161.120.155 (X11/20080227) MIME-Version: 1.0 To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found References: <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> In-Reply-To: <raymond76@example.com> Content-Type: multipart/alternative; boundary="------------070508060404030906080000" X-Virus-Checked: Checked by ClamAV on apache.org --------------070508060404030906080000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Daniel Why don't you drop the WSDL for now and see if things work? When I tried this example as well, I first got the scenario working and ignored the WSDL asankha -- Asankha C. Perera WSO2 - http://wso2.org http://esbmagic.blogspot.com --------------070508060404030906080000-- From raymond76@example.com Fri Aug 01 14:43:57 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 54965 invoked from network); 1 Aug 2008 14:43:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 14:43:57 -0000 Received: (qmail 5452 invoked by uid 500); 1 Aug 2008 14:43:56 -0000 Delivered-To: raymond76@example.com Received: (qmail 5425 invoked by uid 500); 1 Aug 2008 14:43:56 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 5414 invoked by uid 99); 1 Aug 2008 14:43:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:43:56 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO relay03.pair.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Aug 2008 14:43:01 +0000 Received: (qmail 22048 invoked from network); 1 Aug 2008 14:42:25 -0000 Received: from unknown (HELO ?83.161.120.155?) (unknown) by unknown with SMTP; 1 Aug 2008 14:42:25 -0000 X-pair-Authenticated: 83.161.120.155 Message-ID: <raymond76@example.com> Date: Fri, 01 Aug 2008 20:12:23 +0530 From: "Asankha C. Perera" <raymond76@example.com> User-Agent: Thunderbird 83.161.120.155 (X11/20080227) MIME-Version: 1.0 To: raymond76@example.com Subject: Re: [Synapse 1.2] Proxying a WS References: <raymond76@example.com> In-Reply-To: <raymond76@example.com> Content-Type: multipart/alternative; boundary="------------020603030902010104010302" X-Virus-Checked: Checked by ClamAV on apache.org --------------020603030902010104010302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Pierre > After some readings, here is what I understand: > - I need to add synapse.mar axis module > - I engage the module globally > - I configure the proxy functions of synapse in the xml configuration file > Well.. an ESB could do do a lot more than just front end Axis2 WS sitting on the same Axis2 runtime.. so I would suggest you deploy Synapse standalone. This would be easier for you to start up and get going as well, and would allow you to do much more than just forwarding, such as throttling, caching, load balancing, transport switching, etc.. and much more. > The problem is that I want to do a bit more than simply redirecting the > client request: I want to check coherency of the data and add information > in the SOAP-BODY. > How can I do that? Do I have to implement a Mediator? No, you can use the validate mediator and validate your message, or a fragment of it against a schema. See http://synapse.apache.org/Synapse_Configuration_Language.html#validate http://synapse.apache.org/Synapse_Samples.html#Sample7 > As you can see, i'm a bit confused... > Hope the above helps.. you can first try the samples to understand how Synapse can help you.. feel free to ask more questions asankha -- Asankha C. Perera WSO2 - http://wso2.org http://esbmagic.blogspot.com --------------020603030902010104010302-- From raymond76@example.com Fri Aug 01 15:09:48 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 72010 invoked from network); 1 Aug 2008 15:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 15:09:48 -0000 Received: (qmail 49986 invoked by uid 500); 1 Aug 2008 15:09:47 -0000 Delivered-To: raymond76@example.com Received: (qmail 49971 invoked by uid 500); 1 Aug 2008 15:09:47 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 49952 invoked by uid 99); 1 Aug 2008 15:09:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 08:09:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mailhost.almerys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 15:08:49 +0000 Received: from tersudw.almerys ([83.161.120.155]unverified) by tl-avgateway with InterScan Messaging Security Suite; Fri, 01 Aug 2008 17:08:49 +0200 In-Reply-To: <raymond76@example.com> To: raymond76@example.com Subject: Re: [Synapse 1.2] Proxying a WS MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: <raymond76@example.com> From: raymond76@example.com Date: Fri, 1 Aug 2008 17:08:47 +0200 X-MIMETrack: Serialize by Router on TERSUDW/ALMERYS(Release 6.5.3FP1|December 15, 2004) at01/08/2008 17:08:48,Serialize complete at 01/08/2008 17:08:48 Content-Type: multipart/alternative; boundary="=_alternative 005333EBC1257498_=" X-imss-version: 2.051 X-imss-result: Passed X-imss-scores: Clean:99.71419 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:6 C:4 M:4 S:4 R:4 (2.0000 2.0000) X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 005333EBC1257498_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi Asankha, Thanks a lot for the answers. As I told in my previous email, the current web app is already in=20 production. So I want to modify it as less as possible... For caching and load balancing, I an using Websphere mechanism wich match=20 our needs right now. I know I would used about 0.01% of synapse=20 possibilities if I'm using it as an axis2 module but I just need to=20 perform proxying for one WS... The others embedded in my web app don't=20 have to change. I'll perhaps set up "complete" synapse solution to get trained though. I am not sure, i've been clear on what I want to do, so I will describe=20 the scenario: - The client sends a request to my web app. This request contains in the=20 SOAP Header information on the client and the user of the client. The SOAP = Body contains the business information for the WS - My web app (which extends Axis2 servlet) receives the request, parses=20 the SOAP Header to extract information, set in the context if SSL is used=20 and let Axis2 forwards the request through the module. - Synapse module would treat the request and if it is a request for the=20 new WS; check coherency (message validation using validate mediator) and=20 add some information ('is SSL used' for example) in a new tag of the=20 SOAP-BODY before sending it to a .Net WS hosted on a iis server. - The .Net WS treats the request, sends it back to Synapse which sends it=20 back to the client withou doing anything. I have tested some samples, I get what synapse can do... but not for=20 altering the message (by adding SOAP-BODY tags)... Synapse seems to be a really good product. Thanks in advance for your answers Pierre "Asankha C. Perera" <raymond76@example.com>=20 01/08/2008 16:42 Veuillez r=E9pondre =E0 raymond76@example.com A raymond76@example.com cc Objet Re: [Synapse 1.2] Proxying a WS Hi Pierre > After some readings, here is what I understand: > - I need to add synapse.mar axis module > - I engage the module globally > - I configure the proxy functions of synapse in the xml configuration=20 file >=20 Well.. an ESB could do do a lot more than just front end Axis2 WS=20 sitting on the same Axis2 runtime.. so I would suggest you deploy=20 Synapse standalone. This would be easier for you to start up and get=20 going as well, and would allow you to do much more than just forwarding,=20 such as throttling, caching, load balancing, transport switching, etc..=20 and much more. > The problem is that I want to do a bit more than simply redirecting the=20 > client request: I want to check coherency of the data and add=20 information=20 > in the SOAP-BODY. > How can I do that? Do I have to implement a Mediator? No, you can use the validate mediator and validate your message, or a=20 fragment of it against a schema. See http://synapse.apache.org/Synapse=5FConfiguration=5FLanguage.html#validate http://synapse.apache.org/Synapse=5FSamples.html#Sample7 > As you can see, i'm a bit confused... >=20 Hope the above helps.. you can first try the samples to understand how=20 Synapse can help you.. feel free to ask more questions asankha --=20 Asankha C. Perera WSO2 - http://wso2.org http://esbmagic.blogspot.com --=_alternative 005333EBC1257498_=-- From raymond76@example.com Fri Aug 01 17:58:54 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 85595 invoked from network); 1 Aug 2008 17:58:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 17:58:54 -0000 Received: (qmail 84056 invoked by uid 500); 1 Aug 2008 17:58:53 -0000 Delivered-To: raymond76@example.com Received: (qmail 84035 invoked by uid 500); 1 Aug 2008 17:58:53 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 84024 invoked by uid 99); 1 Aug 2008 17:58:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 10:58:53 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web51411.mail.re2.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Aug 2008 17:57:56 +0000 Received: (qmail 40790 invoked by uid 60001); 1 Aug 2008 17:58:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=t1qzZMb0PV3Ix7tAEzNl03S6OdQ/zVj9zVIn0nOv3uvOHnNUfRMqS3Oh853roF9jJG6bSW6FsD9cUnyXKj8KMQVgK3jKqgE7LPLbV5mGTjYpcSJ+AkgLx9fNdNhE5o4IpNbcUuOnvwT73zLEVmr6QlTKbH1QCt8jYU+ySGxU4SE=; Received: from [83.161.120.155] by web51411.mail.re2.yahoo.com via HTTP; Fri, 01 Aug 2008 10:58:21 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 1 Aug 2008 10:58:21 -0700 (PDT) From: Murali Krishnan <raymond76@example.com> Subject: RE: Running Synapse 1.2 on Aix / Unexpected EOF in prolog To: raymond76@example.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1529599928-1217613501=:40765" Message-ID: <raymond76@example.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1529599928-1217613501=:40765 Content-Type: text/plain; charset=us-ascii I have seen this happen when the transfer-encoding is set to 'chunked'. Try disabling this on the client side (if you are using Axis2, it should be present in the axis2.xml file for the 'http' transport sender). Murali -----Original Message----- From: Juho Jussila [mailto:raymond76@example.com] Sent: Thursday, July 31, 2008 12:19 PM To: raymond76@example.com Subject: Re: Running Synapse 1.2 on Aix / Unexpected EOF in prolog Hi Paul Fremantle kirjoitti: > Please subscribe to the mailing list or you won't see the responses - > I let your message through, but in general this is a subscriber only > list. Oh, I'm sorry, I am a little bit newbie to mailing list practices. > I don't have an AIX box to test on - can you please use TCPMON to > trace the wire messages between the client and server and post them > here. > Let me know if you need help with that. Thanks for the advice. I created TCPMon listener port 9000 and target port 8607. I don't understand why Soap message is missing? ============== Listen Port: 9000 Target Host: 83.161.120.155 Target Port: 8607 ==== Request ==== POST http://localhost:9000/soap/SimpleStockQuoteService/ HTTP/1.1 Host: 83.161.120.155:9000 SOAPAction: urn:getQuote Content-Type: text/xml; charset=UTF-8 Transfer-Encoding: chunked Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO ==== Response ==== ============== I tested also on Linux server. I think this is desirable result. ============== Listen Port: 9000 Target Host: 83.161.120.155 Target Port: 8607 ==== Request ==== POST http://localhost:9000/soap/SimpleStockQuoteService HTTP/1.1 Host: 83.161.120.155:9000 SOAPAction: urn:getQuote Content-Type: text/xml; charset=UTF-8 Transfer-Encoding: chunked Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO 15a <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing" /><soapenv:Body><m0:getQuote xmlns:m0="http://services.samples/xsd"><m0:request><m0:symbol>IBM</m0:symbol></m0:request></m0:getQuote></soapenv:Body></soapenv:Envelope> 0 ==== Response ==== HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Date: Thu, 31 Jul 2008 15:34:57 GMT Server: Synapse-HttpComponents-NIO Transfer-Encoding: chunked Connection: Keep-Alive 38b <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getQuoteResponse xmlns:ns="http://services.samples/xsd"><ns:return type="samples.services.GetQuoteResponse"><ns:change>-2.4741103874177757</ns:change><ns:earnings>-8.512128119235099</ns:earnings><ns:high>-144.57080730296153</ns:high><ns:last>145.8127088525282</ns:last><ns:lastTradeTimestamp>Thu Jul 31 17:34:57 GMT+02:00 2008</ns:lastTradeTimestamp><ns:low>151.92850926893593</ns:low><ns:marketCap>4.088996315077977E7</ns:marketCap><ns:name>IBM Company</ns:name><ns:open>-144.89544883903292</ns:open><ns:peRatio>-19.429599067865958</ns:peRatio><ns:percentageChange>1.7076958446416557</ns:percentageChange><ns:prevClose>-144.88003792835516</ns:prevClose><ns:symbol>IBM</ns:symbol><ns:volume>8310</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope> 0 ============== --0-1529599928-1217613501=:40765-- From raymond76@example.com Fri Aug 01 19:02:01 2008 Return-Path: <raymond76@example.com> Delivered-To: raymond76@example.com Received: (qmail 33120 invoked from network); 1 Aug 2008 19:02:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 19:02:01 -0000 Received: (qmail 38088 invoked by uid 500); 1 Aug 2008 19:02:00 -0000 Delivered-To: raymond76@example.com Received: (qmail 38068 invoked by uid 500); 1 Aug 2008 19:02:00 -0000 Mailing-List: contact raymond76@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:raymond76@example.com> List-Unsubscribe: <mailto:raymond76@example.com> List-Post: <mailto:raymond76@example.com> List-Id: <user.synapse.apache.org> Reply-To: raymond76@example.com Delivered-To: mailing list raymond76@example.com Received: (qmail 38049 invoked by uid 99); 1 Aug 2008 19:02:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 12:02:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO internet-gw.LAGAN.COM) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 19:01:06 +0000 Received: from lagan-exch-2.lagan.com ([83.161.120.155]) by lagan-exch-2.lagan.com ([83.161.120.155]) with mapi; Fri, 1 Aug 2008 20:01:31 +0100 From: Daniel Mc Iver <raymond76@example.com> To: "raymond76@example.com" <raymond76@example.com> Date: Fri, 1 Aug 2008 20:01:31 +0100 Subject: RE: reading CSV file from VFS - (EPR) for the Operation not found Thread-Topic: reading CSV file from VFS - (EPR) for the Operation not found Thread-Index: Acjz4qubRljbEasuTc6Uh4FnddVZ3gAJVciF Message-ID: <raymond76@example.com> References: <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com> <raymond76@example.com>,<raymond76@example.com> In-Reply-To: <raymond76@example.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-pmwin-version: 83.161.120.155, Antivirus-Engine: 2.75.4, Antivirus-Data: 4.31E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Indiki, Thanks for all your help here. When I removed the publishWSDL node it worke= d and I was able to get it reading CSV, transforming it and passing it on t= o the endpoint. I'd just like to say I'm really impressed with how much can be accomplished= with so little configuration in Synapse and the rapid support you've been = able to provide. Daniel McIver ________________________________________ From: indika kumara [raymond76@example.com] Sent: Friday, August 01, 2008 9:19 AM To: raymond76@example.com Subject: Re: reading CSV file from VFS - (EPR) for the Operation not found Hi Daniel I am afraid; there are some incorrect things in my previous comment. I did that comment without looking at the VFC transport code base (just predictin= g behavior). VFS Listener is doing per service listening. That means, it already know what is the service but don't know about what is the operation= . Due to this reason the error you have got is occurred (operation not found)= . It expects First child of soap body as 'getQuote' but in your request, it i= s FWTCaseUpdate'. What you need to do is adding the WSDL of 'FL' service as 'publishWSDL' attribute of proxy service. Or you also can remove this attribute, then proxy service only contains the 'mediate' operation and it is always found. For CVS file, file transport should work. I think the issue is same (Unable to find the operation based on payload). In VFS, both the text and binary content is wrapped with a node named 'text' and add it as the first child o= f soap body. If there aren't operation with name 'text' and if you have specified the wsdl for the service through 'publishWSDL, then 'operation no= t found' error will be occurred. You can changed the wrapping element name by adding following parameter to the proxy service <parameter name=3D"Wrapper">{namespace URI}wrapper element name</parameter> For example: <parameter name=3D"Wrapper">{http://services.samples}getQuote</parameter> Hopes this works. If not please let me know. Thanks Indika The information in this message is confidential and may be legally privileg= ed. It is intended solely for the addressee. Access to this message by anyo= ne else is unauthorised. If you are not the intended recipient, any disclos= ure, copying, or distribution of the message, or any action or omission tak= en by you in reliance on it, is prohibited and may be unlawful. Please imme= diately contact the sender if you have received this message in error. The views
{'source': 'Apache Software Foundation Public Mail Archives'}