How do I change the definition?  Changing it to:

<wsdl:part name="fault" element="impl:ServiceProcessException"/>

or:

<wsdl:part name="fault" element="ServiceProcessException"/>

generates errors in the validator, saying that it must refer to valid
values defined in a schema.  How do I determine what the valid values
are?

-----Original Message-----
From: Andreas Veithen [mailto:[EMAIL PROTECTED] 
Sent: January 28, 2008 14:13
To: [email protected]
Subject: Re: BP2113 warning on WS-Interoperability test

Kevin,

Probably the warning means that you should define the fault in the XSD  
using an element rather than a type. In this case, you have to use the  
"element" attribute instead of the "type" attribute in wsdl:part;  
that's why the message refers to "not defined using only the element  
attribute".

Regards,

Andreas


On 28 Jan 2008, at 15:45, Kevin Dean wrote:

> It looks like this:
>
>   <wsdl:message name="ServiceProcessException">
>      <wsdl:part name="fault" type="impl:ServiceProcessException"/>
>   </wsdl:message>
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
> Sent: January 28, 2008 09:39
> To: [email protected]
> Subject: Re: BP2113 warning on WS-Interoperability test
>
> What does the <wsdl:message> description that refers to this fault  
> look
> like?
>
> Anne
>
> On Jan 28, 2008 8:42 AM, Kevin Dean <[EMAIL PROTECTED]>
> wrote:
>>
>> I'm working my way through the various WS-I warnings on a WSDL file
>> generated by java2wsdl.  I'm getting close, but I've got warning
> BP2113 (The
>> soapbind:header, soapbind:headerfault or soapbind:fault elements  
>> refer
> to
>> wsd:part element(s) that are not defined using only the "element"
> attribute)
>> showing up and it makes no sense to me.  The only thing that appears
> to
>> match the warning is the fault, which is defined as follows:
>>
>>
>>
>>   <complexType name="ServiceProcessException">
>>
>>    <sequence>
>>
>>     <element name="faultCode" type="xsd:int" maxOccurs="1"
> minOccurs="1"/>
>>
>>     <element name="supportMessage" nillable="true" type="xsd:string"
>> maxOccurs="1" minOccurs="0"/>
>>
>>     <element name="userMessage" nillable="true" type="xsd:string"
>> maxOccurs="1" minOccurs="0"/>
>>
>>    </sequence>
>>
>>   </complexType>
>>
>>
>>
>> Is there something wrong with this definition, or am I looking in the
> wrong
>> place?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to