users@jax-rpc.java.net

create WSDL error fault --> ignoring literal fault "helloException"

From: ps <pedro-b-salazar_at_PTINOVACAO.PT>
Date: Mon, 03 Feb 2003 15:58:45 +0000

Greetings,

I intend to create a fault operation but I'm getting an error (~warning)
when I try to create the headers on wscompile -import from my WSDL file
on the fault declaration:

warning: ignoring literal fault "helloException" of binding operation
"hello"

I have the following definitions on my WSDL file:

"
<message>
...
</message>
<message name="test_hello_exception">
    <part name="message" type="xsd:string"/>
</message>

<portType name="Test">
    <operation name="hello" parameterOrder="recipient message">
      <input message="tns:test_hello_request"/>
      <output message="tns:test_hello_response"/>
      <fault name="helloException" message="tns:test_hello_exception"/>
    </operation>
</portType>


 <binding name="TestBinding" type="tns:Test">

    <operation name="hello">
      <input>
         ...
      </input>
      <output>
        ...
      </output>
      <fault name="helloException">
      <soap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://test.psalazar.pt/wsdl"
message="tns:test_hello_exception"/>
      </fault>
      <soap:operation soapAction=""/>
    </operation>

     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>

  </binding>
"

Why is that happening or what is missing on my wsdl file?

thanks,
Pedro Salazar.
--
<ps>
pedro-b-salazar_at_ptinovacao.pt
key id: 0E129E31D803BC61