The problem with the WSDL is that is is not Basic Profile compliant, as
stated in the error message, the "StateError" message must specify an
element, not a type. The BP 1.1 R2205 is: A |wsdl:binding| in a
DESCRIPTION MUST refer, in each of its |soapbind:header|,
|soapbind:headerfault| and |soapbind:fault| elements, only to
|wsdl:part| element(s) that have been defined using the |element| attribute.
So the following
<wsdl:message name="StateError">
<wsdl:part name="descr" type="typ:exceptionType"/>
</wsdl:message>
Needs to be something like:
<wsdl:message name="StateError">
<wsdl:part name="descr" element="typ:exceptionElement"/>
</wsdl:message>
and you need to define the "typ:exceptionElement" in the schema section.
StanleyAllen wrote:
> Follow-up:
>
> I just tried this with the latest (version 2.1.2) and it gave me the same
> results.
>
> Is this a known problem with JAX-WS? Is there something wrong with my WSDL?
>
> Can anyone provide some input?
>
> Thanks,
>
> Stanley
>
>
>