Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 32702 invoked from network); 21 Oct 2009 17:38:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 17:38:54 -0000 Received: (qmail 40280 invoked by uid 500); 21 Oct 2009 16:01:58 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 40197 invoked by uid 500); 21 Oct 2009 16:01:57 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 40098 invoked by uid 99); 21 Oct 2009 16:01:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:01:56 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of m4rkuz@gmail.com designates 216.239.58.188 as permitted sender) Received: from [216.239.58.188] (HELO gv-out-0910.google.com) (216.239.58.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:01:52 +0000 Received: by gv-out-0910.google.com with SMTP id p33so793313gvf.22 for ; Wed, 21 Oct 2009 09:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cADTfPPhcxXFVXwGndbOrektfAa2HDQkWwacKOS5wvU=; b=xydnzq+LOP7tfS2iXJemmVMJQBEvrHbdVg+EnxznBgDtrEIPo4q+QViHvVy3HWFZyM V6MDgB7lX9aHPPfn/4TczqRv4i2WBF456VlH9H+f38IqV0FxRjGfE3+LYmtSRTlej249 xGRDE/3DgDSRyFpWbQW5ynR0uGUsHp+BU5QII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B/qSUcmNB6r2U/EmGRV1pefxtnEPZFviQErbNyBIYy/TYMcaTrTBqO3Gvi/yoStqT0 /tGFMHbxvkQ6khTbLE5iwhXA5Xas/vBstkp+pG/LG5lIuQwK4oHY5FKEdzA34frY7dNX lvcXLLpaOpjjsOzNCPg9RwuKHoEIJxgXaDcQM= MIME-Version: 1.0 Received: by 10.216.91.81 with SMTP id g59mr2896280wef.128.1256140889701; Wed, 21 Oct 2009 09:01:29 -0700 (PDT) Date: Wed, 21 Oct 2009 11:01:29 -0500 Message-ID: Subject: Retrieving faultString message From: m4rkuz To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=0016e6d9a02784c054047674179f --0016e6d9a02784c054047674179f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 SOA= P I recive from the server: p:Client.AuthenticationFault *La autenticaci=C3=83=C2=B3n contra el LDAP Fall=C3=83=C2=B3*<= /faultstring> 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 tag) but I only can get an "Axis2 SOAP header missing error" that says nothing t= o my final users... How can I capture this error message? (excuse my English, if better explanation is required just ask) ___________________________ Marcus S=C3=A1nchez D=C3=ADaz. Enterprise Developer. SCJP - SCWCD. --0016e6d9a02784c054047674179f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Everyone,

Got a question fo= r 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=3D"1.0" encoding=3D&quo= t;UTF-8" standalone=3D"no"?>
<SOAP-ENV:Envel= ope xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<f= aultcode xmlns:p=3D"http://schemas.oblix.com/ws/2003/08/Faults">p:Client.Authe= nticationFault</faultcode>
<faultstring>La autenticaci=C3=83=C2=B3n contra el LDAP Fall= =C3=83=C2=B3</faultstring>
<detail/>
&l= t;/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 mis= sing 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=C3=A1nchez D=C3=ADaz.
Enterprise Developer.
SCJP - SCWCD. --0016e6d9a02784c054047674179f--