ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph M. Pflügler" <christoph.pflueg...@heigl-service.de>
Subject Re: accessing fault data
Date Mon, 15 Sep 2008 14:47:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ahh, no, I was using the regular 1.2 release. So I need the 1.X branch..
I will try that in a minute.

Thanks (to both of you),
Christoph

Matthieu Riou schrieb:
> On Mon, Sep 15, 2008 at 7:34 AM, "Christoph M. Pflügler" <
> christoph.pfluegler@heigl-service.de> wrote:
> 
> Hi Alexis,
> 
> I already tried it with the faultName, which did not work either. What
> did work was using the faultName only. But then, I cannot access the
> fault data...
> 
> 
>> Did you try on the 1.X branch? That's where the bug Alexis mentioned  is
>> fixed.
> 
>> Cheers,
>> Matthieu
> 
> 
> 
> Regards,
> Christoph
> 
> Alexis Midon schrieb:
>>>> Hi Chritoph,
>>>>
>>>> I guess you're referring to this issue:
>>>> https://issues.apache.org/jira/browse/ODE-328.
>>>> This issue has been fixed. Name and Type could be different.
>>>> I think you're missing the name attribute:
>>>>
>>>> <faultHandlers>
>>>>   <catch faultMessageType="common_msg:ExceptionMSG"
>>>> name="your_namespace:ExceptionType"
>>>>        faultVariable="RAexceptionVar">
>>>>   <sequence>
>>>>        ...
>>>>   </sequence>
>>>>   </catch>
>>>> </faultHandlers>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Alexis
>>>>
>>>>
>>>>
>>>> On Sun, Sep 14, 2008 at 12:44 PM, "Christoph M. Pflügler" <
>>>> christoph.pfluegler@heigl-service.de> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I found the corresponding jira issue. So, faultName and fault type
>>>> (faultMessage?) have to have the same name, right? If so, are we talking
>>>> about qualified names? In other words, do they have to be in the same
>>>> namespace?
>>>>
>>>> Thanks,
>>>> Christoph
>>>>
>>>> Christoph M. Pflügler schrieb:
>>>>>>> Hi everybody,
>>>>>>>
>>>>>>> I have the following exception message and corresponding element:
>>>>>>>
>>>>>>> <wsdl:message name="ExceptionMSG">
>>>>>>>       <wsdl:part name="exc" element="docs:ExceptionType"></wsdl:part>
>>>>>>>   </wsdl:message>
>>>>>>>
>>>>>>> <xs:element name="ExceptionType">
>>>>>>>       <xs:complexType>
>>>>>>>               <xs:sequence>
>>>>>>>                       <xs:element ref="signals:Exception"/>
>>>>>>>                       <xs:element fixed="false"
> name="isPositiveSignal"
>>>> type="xs:boolean"/>
>>>>>>>               </xs:sequence>
>>>>>>>       </xs:complexType>
>>>>>>> </xs:element>
>>>>>>>
>>>>>>> In ODE-1.2RC1 I caught this exception-type as follows (without
a
>>>> problem):
>>>>>>> <faultHandlers>
>>>>>>>    <catch faultMessageType="common_msg:ExceptionMSG"
>>>>>>>       faultVariable="RAexceptionVar">
>>>>>>>    <sequence>
>>>>>>>       ...
>>>>>>>    </sequence>
>>>>>>>    </catch>
>>>>>>> </faultHandlers>
>>>>>>>
>>>>>>> The problem is that exactly the same code works neither in ODE-1.2
nor
>>>>>>> in ODE-1.1.1 (it runs into the catchAll-clause).
>>>>>>>
>>>>>>> Can somebody please tell me the correct catch statement for catching
a
>>>>>>> fault like the above one and accessing the fault data in ODE
1.2?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Christoph
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIznV00Do4wUHmzBsRAqIVAJ9CEEvgeFRTpuGvpcUelQHeNBdJ9QCfVW+5
wkV8nkzKU0ov8yDJwn4Jt/s=
=bpuK
-----END PGP SIGNATURE-----

Mime
View raw message