The element is qualified.  THus, you likely need to use:

                <property name="outDropElements">
                        <list>
                                
<value>{http://www.miaftr.co.uk/schemas}Response</value>
                        </list>
                </property>

or similar.

Dan


On Monday, July 09, 2012 09:45:18 AM Michael Clark wrote:
> Hi,
> 
> The CXF has generated below soap request and i want to drop the element
> <Response /> before sending it out. I have tried to add features but it is
> still not dropping.
> 
> <soap:Body>
>               <SearchClaims xmlns="http://www.miaftr.co.uk/schemas";>
>                       <Request>
>                               <ClaimId>
>                                       <OrgUnitId>0370000</OrgUnitId>
>                               </ClaimId>
>                               <SearchFilingsFor>A</SearchFilingsFor>
>                               <Postcode>DE215BH</Postcode>
>                               <VehicleId>
>                                       <Vrm>AA</Vrm>
>                               </VehicleId>
>                       </Request>
>                       <Response />
>               </SearchClaims>
>       </soap:Body>
> 
> *Features Config:*
> 
> 
> <bean id="transformFeature"
> class="org.apache.cxf.feature.StaxTransformFeature">
>               <property name="outTransformElements">
>                       <map>
>                               <entry key="Response" value="" />
>                       </map>
>               </property>
>               <property name="outDropElements">
>                       <list>
>                               <value>Response</value>
>                       </list>
>               </property>
>       </bean>
> 
> 
> But it didn't work. Any help is highly appreciated.
> 
> Thanks,
> Michael.
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/unable-to-edit-the-soap-request-with-feat
> ures-tp5710769.html Sent from the cxf-user mailing list archive at
> Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to