[ https://issues.apache.org/jira/browse/CXF-8632 ]
Fadi Mohsen deleted comment on CXF-8632:
----------------------------------
was (Author: [email protected]):
have you tried:
{code:java}
@Bean
public StaxTransformFeature staxTransformFeature() {
var transformFeature = new StaxTransformFeature();
transformFeature.setInDropElements(Arrays.asList("{http://www.jpworks.com/employee}skippedElement",
"age"));
return transformFeature;
}{code}
> StaxTransformFeature deep-dropping doesn't work with any element
> ----------------------------------------------------------------
>
> Key: CXF-8632
> URL: https://issues.apache.org/jira/browse/CXF-8632
> Project: CXF
> Issue Type: Bug
> Components: Core
> Reporter: AleskeiMironov
> Assignee: Andriy Redko
> Priority: Major
> Attachments: ws-employee-soapcxf.zip
>
>
> I've run a problem when StaxTransformFeature deep-dropping stop in
> handleDeepDrop method and has stuck.
> ( org.apache.cxf.staxutils.transform.InTransformReader#handleDeepDrop )
>
> expected result: the element skippedElement should be removed
> actual: the request has stuck
>
> example project: [^ws-employee-soapcxf.zip]
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)