Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 29803 invoked from network); 12 Nov 2006 02:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2006 02:50:13 -0000 Received: (qmail 50593 invoked by uid 500); 12 Nov 2006 02:50:15 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 50574 invoked by uid 500); 12 Nov 2006 02:50:15 -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 50563 invoked by uid 99); 12 Nov 2006 02:50:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 18:50:15 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ONURAL@nortel.com designates 47.140.192.55 as permitted sender) Received: from [47.140.192.55] (HELO zrtps0kn.nortel.com) (47.140.192.55) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 18:50:01 -0800 Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zrtps0kn.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id kAC2ndP24908 for ; Sat, 11 Nov 2006 21:49:39 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C70605.31F50D30" Subject: null AxisFault reason Date: Sat, 11 Nov 2006 21:49:37 -0500 Message-ID: <87AC5F88F03E6249AEA68D40BD3E00BE0C53411E@zcarhxm2.corp.nortel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: null AxisFault reason Thread-Index: AccGBTGPgZXo3mpzSwSvXS0km6U2RA== From: "Gul Onural" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C70605.31F50D30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am using following AxisFault constructor in Axis2 : public AxisFault(QName faultCode, String faultReason, String faultNode, String faultRole, OMElement faultDetail); =20 And throwing AxisFault with following code on the Server side : throw new AxisFault(new QName("myQname"), "myFaultReason", "myFaultNode", "myFaultRole", response); On the client side reason seems to be NULL (printing using getReason on AxisFault). Any ideas why reason is null ? Fault Code : {http://ws.apache.org/namespaces/axis2}myQname Message : myFaultReason Reason : null FaultNode : null Cause : null Role : null Soap Message : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D axis2:myQname myFaultReason ... ------_=_NextPart_001_01C70605.31F50D30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable null AxisFault reason

I am using following AxisFault = constructor in Axis2  :

public AxisFault(QName faultCode, String faultReason, String = faultNode, String faultRole, OMElement faultDetail);
 
And throwing = AxisFault with following code on the Server side :

throw new AxisFault(new QName("myQname"), "myFaultReason",
         &nbs= p;          "myFaultNode", "myFaultRole", response);


On the client side reason seems to be = NULL (printing using getReason on AxisFault).
Any ideas why reason = is null ?

Fault Code : {http://ws.apache.org/namespaces/axis2}myQname
Message : myFaultReason
Reason : null
FaultNode : null
Cause : null
Role : null

Soap Message :
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
<?xml version=3D'1.0' = encoding=3D'utf-8'?>
<soapenv:Envelope = xmlns:soapenv=3D"
http://schemas.xmlsoap= .org/soap/envelope/">
  <soapenv:Header />
  <soapenv:Body>
    <soapenv:Fault = xmlns:axis2=3D"http://ws.apache.org/names= paces/axis2">
      = <faultcode>axis2:myQname</faultcode>
      = <faultstring>myFaultReason</faultstring>
      = <detail>
         &nbs= p;  ...
      = </detail>
    = </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

------_=_NextPart_001_01C70605.31F50D30--