Keep the address tag as follows (empty-tag) and give a try since you are not going to have any values inside, except the attributes.
<address uri="http://localhost:9000/services/SimpleStockQuoteService"/> Cheers. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. <http://wso2.com/> Mobile: +94775149066 lean . enterprise . middleware On Wed, Nov 5, 2014 at 4:22 PM, Dilan Udara Ariyaratne <[email protected]> wrote: > Hi Eranda, > > What do you mean by saying "3. Select Target of the Iterate mediator"? > > Anyway, I just copy-pasted the configuration you have mentioned in the > "Source-view" and clicked on "Update". > > It ended up having the following, just omitting the "</address>" part. > > <iterate xmlns:ns="http://org.apache.synapse/xsd" > xmlns:m0="http://services.samples" > id="iterate_01" > preservePayload="true" > attachPath="//m0:getQuote" > expression="//m0:getQuote/m0:request"> > <target> > <endpoint> > <address uri=" > http://localhost:9000/services/SimpleStockQuoteService"/> > </endpoint> > </target> > </iterate> > > It works fine to me. I am using ESB 4.8.1 > > Cheers. > > > > > *Dilan U. Ariyaratne* > Software Engineer > WSO2 Inc. <http://wso2.com/> > Mobile: +94775149066 > lean . enterprise . middleware > > On Wed, Nov 5, 2014 at 9:15 AM, Eranda Sooriyabandara <[email protected]> > wrote: > >> Hi ESB team, >> I did the following steps and end up loosing the date inside target of >> iterate mediator >> >> 1. Add new sequence with Iterate mediator >> 2. In Target set a endpoint (Address endpoint) >> >> Now you can see the source view as something like following >> >> <iterate xmlns:ns="http://org.apache.synapse/xsd" xmlns:m0=" >> http://services.samples" preservePayload="true" >> attachPath="//m0:getQuote" expression="//m0:getQuote/m0:request" >> id="iterate_01"> >> <target> >> <endpoint> >> <address uri=" >> http://localhost:9000/services/SimpleStockQuoteService"></address> >> </endpoint> >> </target> >> </iterate> >> >> 3. Select Target of the Iterate mediator >> 4. Hit update without doing any update >> >> Now you can see the source view as something like following >> >> <iterate xmlns:ns="http://org.apache.synapse/xsd" xmlns:m0=" >> http://services.samples" preservePayload="true" >> attachPath="//m0:getQuote" expression="//m0:getQuote/m0:request" >> id="iterate_01"> >> <target></target> >> </iterate> >> >> See the target element is empty. Is this a known issue? >> >> thanks >> Eranda >> >> >> -- >> >> *Eranda Sooriyabandara*Senior Software Engineer; >> Integration Technologies Team; >> WSO2 Inc.; http://wso2.com >> Lean . Enterprise . Middleware >> >> E-mail: eranda AT wso2.com >> Mobile: +94 716 472 816 >> Linked-In: http://www.linkedin.com/in/erandasooriyabandara >> Blog: http://emsooriyabandara.blogspot.com/ >> >> >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
