Hi,

I need help defining the WSDL for the following fault message. Note that
AuthenticationFailed has no namespace prefix, but MyElement does:
    <soap:Fault>
      <faultcode>AuthenticationFailed</faultcode>
      <faultstring>Authentication Failed</faultstring>
      <detail>
        <MyElement xmlns="mynamespace">new auth token</MyElement>
      </detail>
    </soap:Fault>

The best I could come up with was the following, but it doesn't qualify
MyElement properly, as it ends up with an empty namespace:

<message name="AuthenticationFailedMessage">
        <wsdl:part name="fault" element="AuthenticationFailed" xmlns="" />
</message>

Then:
<xsd:element name="AuthenticationFailed">
<xsd:complexType><xsd:sequence>
        <xsd:element name="MyElement" type="xsd:string"/>
</xsd:sequence></xsd:complexType>
</xsd:element>


Thanks for your attention,
-- 
Javier Kohen <[EMAIL PROTECTED]>
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to