Use a custom log, and in expression put as . . Will print entire envelope On Sat, 15 Sep 2018, 14:42 Aman Singh, <[email protected]> wrote:
> Hi Guys, > > I am very new to WSO2. > I Have used a Payload Factory and I have inserted a simple XML as payload > in it. How do I print the payload of Payload Factory and view it in console > using Log Mediator? > > My sample code is below:- > > <proxy name="PayloadFactoryTest" startOnLoad="true" transports="http > https" xmlns="http://ws.apache.org/ns/synapse"> > <target> > <inSequence> > <payloadFactory description="MyPayload" media-type="xml"> > <format> > <Deatils> > <payload> > <Persons> > <Names> > <A>value</A> > <B>value</B> > <C>value</C> > </Names> > </Persons> > </payload> > </Deatils> > </format> > <args/> > </payloadFactory> > </inSequence> > <outSequence> > <respond/> > </outSequence> > <faultSequence/> > </target> > </proxy> > > Thank you, > Aman > _______________________________________________ > 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
