axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-c-...@ws.apache.org
Subject [jira] Closed: (AXISCPP-170) The fault message name for details should be 'detail' and not 'faultdetail'
Date Fri, 08 Oct 2004 09:33:51 GMT
Message:

   The following issue has been closed.

   Resolver: Fred Preston
       Date: Fri, 8 Oct 2004 2:33 AM

The code now looks for 'detail' rather than 'faultdetail'
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-170

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-170
    Summary: The fault message name for details should be 'detail' and not 'faultdetail'
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Serialization/Deserialization

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 24 Sep 2004 2:26 AM
    Updated: Fri, 8 Oct 2004 2:33 AM
Environment: n/a

Description:
Observation
-----------
Reading the SOAP spec, the fault message name for details is defined as 'detail' and not 'faultdetail'.
 For example, 'over the wire', the SOAP message may have the following structure (note that
the name for the details message part is 'detail' not 'faultdetail'):-

:
<SOAP-ENV:Fault>
 <faultcode>SOAP-ENV:Server</faultcode>
 <faultstring>There is a fault</faultstring>
 <detail>
  :
 </detail>
</SOAP-ENV:Fault>
:

Currently, a fault message is serialised as shown belw:-

:
<SOAP-ENV:Fault>
 <faultcode>SOAP-ENV:Server</faultcode>
 <faultstring>There is a fault</faultstring>
 <faultdetail>
  :
 </faultdetail>
</SOAP-ENV:Fault>
:

To make the SOAP message comply with the spec, the code in the following files needs to change:-
File: \CWSS\Build\ws-axis\c\src\soap\SoapFault.cpp
Line: (109) pSZ.serialize("<faultdetail>", NULL);
Line: (111) pSZ.serialize("</faultdetail>", NULL);
Line: (146) pSZ.serialize("<faultdetail>", NULL);
Line: (148) pSZ.serialize("</faultdetail>", NULL);

NB: Only need to change what is serialised, don't need to change the variable name(as I think
faultdetail is more descriptive that just detail).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message