axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Hempel" <mathias.hem...@gmail.com>
Subject Re: AxisFault info
Date Mon, 24 Jul 2006 13:17:40 GMT
but this is the respose from the service and i have no influence of this
there are any ather resonen to become the faultstring from AxisFault

On 7/24/06, Anne Thomas Manes <atmanes@gmail.com> wrote:
> Your fault example is invalid. The child elements of the
> <soapenv:Fault> element must be unqualified, and the element names do
> not use camelCaps. Meanwhile, the children of the <detail> element
> should be qualified. Also, the faultcode value must be a QName. It's
> strongly recommended (by WS-I Basic Profile) that you use only the
> fault codes defined in the SOAP 1.1 specification: Client, Server,
> VersionMismatch, and MustUnderstand. (See
> http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510). The
> response message should be:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <soapenv:Envelope
>   xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>   <soapenv:Body>
>     <soapenv:Fault>
>       <faultcode>soapenv:Client</faultcode>
>       <faultstring>Unable to test</faultstring>
>       <detail>
>         <detailCode xmlns="some-uri">test111</detailCode>
>         <userName xmlns="some-uri">test222</userName>
>      </detail>
>    </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
>
> Anne
>
> On 7/24/06, Mathias Hempel <mathias.hempel@gmail.com> wrote:
> > i have a problem
> >
> > i use the serviceclient for axis and i have a problem
> >
> > i become the detailcode but no faultstring and no faultcode from AxisFault
> > where can i get the faultstring an the faultcode from this soap1.1 message
> >
> > response soap message:
> >
> >  <?xml version="1.0" encoding="UTF-8" ?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Body>
> >  <soapenv:Fault>
> >    <soapenv:faultCode>test.test</soapenv:faultCode>
> >    <soapenv:faultString>Unable to test</soapenv:faultString>
> >    <soapenv:detail>
> >      <detailCode>test111</detailCode>
> >      <userName>test222</userName>
> >    </soapenv:detail>
> >  </soapenv:Fault>
> >  </soapenv:Body>
> > </soapenv:Envelope>
> >
> > --
> > Mit freundlichen Gruessen
> >
> > Mathias Hempel
> > eMail: mathias.hempel@gmail.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Mit freundlichen Gruessen

Mathias Hempel
eMail: mathias.hempel@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message