Dan - I am trying to use the transformation feature... 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:cmp="http://cmp.vba/cmp";
xmlns:edoc="http://cmp.vba/external/eDocumentServiceProxy/";><soapenv:Header/><soapenv:Body>
      <edoc:uploadFormDocument>
         <edoc:formDocument ID="1"  externalID="100" filename="formDoc2.txt"
veteranFirstName="Will" veteranLastName="Hard" veteranMiddleName="Work">

            <cmp:docContent>cid:12</cmp:docContent>
         </edoc:formDocument>
      </edoc:uploadFormDocument>
   </soapenv:Body>
   
   </soapenv:Envelope>

I added the following in camel-context.xml

        <cxf:cxfEndpoint id="edocumentVA" address="${VA_URL}"
                endpointName="s:eDocumentServiceSOAP" 
serviceName="s:eDocumentService"
                wsdlURL="wsdl/PDT/eDocumentService.wsdl"
serviceClass="gov.va.external.edocumentservice.EDocumentService"
                xmlns:s="http://vbms.vba/external/eDocumentService/";>
                <cxf:properties>
                        
                        <entry key="mtom-enabled" value="${MTOM_ENABLED}" />
                        <entry key="dataFormat" value="CXF_MESSAGE" />
                </cxf:properties>
                <cxf:inInterceptors>
                        <ref bean="loggingInInterceptor" />
                        
                </cxf:inInterceptors>
                <cxf:outInterceptors>
                        <ref bean="loggingOutInterceptor" />
                        <ref bean="wss4jOutInterceptor-client" />
                        <ref bean="cxf-transformOutInterceptor" />
                </cxf:outInterceptors>

        <bean id="cxf-transformOutInterceptor"
                
class="org.apache.cxf.interceptor.transform.TransformOutInterceptor">
                <property name="outTransformElements">
                        <map>
                                <entry 
key="{http://cmp.vba/external/eDocumentServiceProxy}*";
                                        
value="{http://vbms.vba/external/eDocumentService}*"; />
                                <entry key="{http://cmp.vba/cmp}*"; 
value="{http://vbms.vba/cdm}*"; />
                        </map>
                </property>
        </bean>

but it didn't have any effect on the outgoing request.





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-Proxy-with-WS-Security-tp5749223p5749314.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to