Remsy You need to set a SOAP header on the message and then read it in the remote proxy.
Please see the header mediator: <header name="qname" (value="literal" | expression="xpath") [action="set"]/> http://synapse.apache.org/Synapse_Configuration_Language.html#header Paul Schmilinsky, Remsy wrote: > How do I set a property called "ID" in a message context so that I can > read it from a proxy outside its environment ? > > For example, I have this java code, part of a custom database write > mediator: > > mc.setProperty("id", id ); > > if I tried to get it in another mediator inside my local > environment, I can get it like this: > > int id = (Integer) mc.getProperty("id"); > > now, i need to call a remote proxy, so it throws errros because it > doesn't exist (mc properties can be retrieved locally). > > How can I achieve this ? by tinkering the soap message itself ? > > thanks > > remsy > > > ------------------------------------------------------------------------ > > _______________________________________________ > Esb-java-user mailing list > [email protected] > http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair VP, Apache Synapse Office: +44 844 484 8143 Cell: +44 798 447 4618 blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com _______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
