Hi All, I have a custom mediator java class needs discard the original soapEnvelope and add a new soapEnvelope, and this soapEnvelope will be generated from a file.
The file is generated using VFS which is a soap message like below: *<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=" http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><p:getSimpleQuote xmlns:p="http://services.samples"><!--0 to 1 occurrence--><xs:symbol xmlns:xs="http://services.samples">IBM</xs:symbol></p:getSimpleQuote><ns1:UUID xmlns:ns1="http://www.iec.ch/TC57/2008/schema/message ">5884b9a6-bfc4-4acc-a319-57cf71b84d14</ns1:UUID></soapenv:Body></soapenv:Envelope> * * * I find this org.apache.axis2.builder.Builder<eclipse-javadoc:%E2%98%82=MyiESB/F:%5C/iESBProject%5C/.metadata%5C/.plugins%5C/org.wso2.carbonstudio.eclipse.libraries%5C/lib%5C/axis2-1.6.0.wso2v1.jar%3Corg.apache.axis2.builder(Builder.class%E2%98%83Builder> .processDocument(InputStream<eclipse-javadoc:%E2%98%82=MyiESB/F:%5C/iESBProject%5C/.metadata%5C/.plugins%5C/org.wso2.carbonstudio.eclipse.libraries%5C/lib%5C/axis2-1.6.0.wso2v1.jar%3Corg.apache.axis2.builder(Builder.class%E2%98%83Builder~processDocument~Ljava.io.InputStream;~Ljava.lang.String;~Lorg.apache.axis2.context.MessageContext;%E2%98%82InputStream>arg0, String<eclipse-javadoc:%E2%98%82=MyiESB/F:%5C/iESBProject%5C/.metadata%5C/.plugins%5C/org.wso2.carbonstudio.eclipse.libraries%5C/lib%5C/axis2-1.6.0.wso2v1.jar%3Corg.apache.axis2.builder(Builder.class%E2%98%83Builder~processDocument~Ljava.io.InputStream;~Ljava.lang.String;~Lorg.apache.axis2.context.MessageContext;%E2%98%82String>arg1, MessageContext<eclipse-javadoc:%E2%98%82=MyiESB/F:%5C/iESBProject%5C/.metadata%5C/.plugins%5C/org.wso2.carbonstudio.eclipse.libraries%5C/lib%5C/axis2-1.6.0.wso2v1.jar%3Corg.apache.axis2.builder(Builder.class%E2%98%83Builder~processDocument~Ljava.io.InputStream;~Ljava.lang.String;~Lorg.apache.axis2.context.MessageContext;%E2%98%82MessageContext>arg2) Is this what I need, what parameters are needed to construct org.apache.axis2.context.MessageContext? Thanks! Rocwing -- 带着你现有的记忆和理解,去成为之前的自己。 博客:RocWing's Blog <http://www.rocwing.com>
_______________________________________________ User mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/user
