jax-ws customization is not allowed on mutiple nodes of a wsdl. · Issue #576 · javaee/metro-jax-ws (original) (raw)

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

@glassfishrobot

Description

@glassfishrobot

jax-ws customization is not allowed on mutiple nodes of a wsdl.
For ex: If one wants to customize all faults with name "AccessDenied" in various
operations using

RI throws an exception saying
[ERROR] XPath evaluation of "//wsdl:fault[@name='AccessDenied']" results in too
many (9) target nodes
line 13 of file:/D:/bugs/wsrp-jersy/common/src/conf/jaxws_v1_interfaces.xml

Currently one has to customize each opeations fault explicitly which is a pain
if the same fault can be thrown by multiple operations in the same portType.

Environment

Operating System: All
Platform: All

Affected Versions

[2.1.4]