ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: accessing fault data
Date Mon, 15 Sep 2008 14:43:32 GMT
On Mon, Sep 15, 2008 at 7:34 AM, "Christoph M. Pflügler" <
christoph.pfluegler@heigl-service.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> iD8DBQFIznJY0Do4wUHmzBsRApH/AKCmFXhRZA0rlBK+fxPZVds9T0i+EwCfdhp0
> PEflYprcc2TkJDp/h/taxe4=
> =kIi1
> -----END PGP SIGNATURE-----
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message