Skip to main content

invalid extension element: "soap:header"

No replies
noviyu1
Offline
Joined: 2011-11-30

Hi,

I got a WSDL with header element defined in WSDL fault:

<wsdl:fault name="fault">

<soap:fault name="fault" use="literal"/>

<soap:header message="tns:WSMessageHeader" part="header" use="literal"/>

</wsdl:fault>

When running wsimport I get this error message:

[ERROR] invalid extension element: "soap:header" (in namespace "http://schemas.xmlsoap.org/wsdl/soap/")

I did not find any restriction on using SOAP header in fault messages. Is it missing functionality in JAX-WS RI?

Thanks.