You must use the messaging API.
On 7/25/06, Mathias Hempel <[EMAIL PROTECTED]> wrote:
ok i will take the second part, but how?
where can i get the raw XML form?
thanks for your help
On 7/24/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> Ah...
>
> Tell the folks that provide the service that they are returning an
> invalid SOAP Fault. Given that this is a test message, obviously it
> isn't a production service. They should fix it.
>
> If they won't, then you will need to capture the message in it's raw
> XML form and process it yourself. Axis Fault cannot automatically
> interpret this fault.
>
> Anne
>
> On 7/24/06, Mathias Hempel <[EMAIL PROTECTED]> wrote:
> > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [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]
> > >
> > >
> >
> >
> > --
> > Mit freundlichen Gruessen
> >
> > Mathias Hempel
> > eMail: [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]
>
>
--
Mit freundlichen Gruessen
Mathias Hempel
eMail: [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]