Somebody?
the thing is that the application is being installed in many different and
distant places, and every installation comes to different security
configuration errors, not registered ips, bad user/pass credentials, not
registered users etc, and all this errors generate correct coherent fault
string that can help to solve them, but all I get is an SOAP HEADER MISSING
error that don't help me to give support to the users.

How can I get this <faultstring> for show in my App.
___________________________
Marcus Sánchez Díaz.
Enterprise Developer.
SCJP - SCWCD.


On Wed, Oct 21, 2009 at 11:01 AM, m4rkuz <[email protected]> wrote:

>
> Hi Everyone,
>
> Got a question for you all, I have an application that uses Axis2 +
> Rampart, to consume some Secure Webservices, but I'm having troubles to
> display all the info in the errors the server returns, to ilustrate this I
> show the SOAP I recive from the server:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/";>
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode xmlns:p="http://schemas.oblix.com/ws/2003/08/Faults
> ">p:Client.AuthenticationFault</faultcode>
> <faultstring>*La autenticación contra el LDAP Falló*</faultstring>
> <detail/>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> This happens because the user/password does not match, in my client app I
> wish to take this exact message (the one in bold, in the <faultstring> tag)
> but I only can get an "Axis2 SOAP header missing error" that says nothing to
> my final users...
>
> How can I capture this error message?
>
> (excuse my English, if better explanation is required, just ask)
>
>
>
>
> ___________________________
> Marcus Sánchez Díaz.
> Enterprise Developer.
> SCJP - SCWCD.
>

Reply via email to