[ http://issues.apache.org/jira/browse/AXISCPP-358?page=history ]
     
John Hawkins resolved AXISCPP-358:
----------------------------------

     Resolution: Fixed
    Fix Version: 1.5 Beta

I think that I've done as much as possible on this one for this release. Really 
we should be checking all params and throwing exceptions. However, that was 
waaaaayy too much work for this late in the cycle. Therefore I've justmade 
methods return AXIS_FAIL/SUCCESS where they were not returning anything 
previously and done as much checking as I think is sensible.
i have to say that we could also just document this as "passing in NULL gives 
unpredictable results"

> Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results 
> in Exception
> ------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-358
>          URL: http://issues.apache.org/jira/browse/AXISCPP-358
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: James Jose
>      Fix For: 1.5 Beta

>
> if we call APIs by passing NULL as it's argument then it results in some 
> Excepton.
> For eg. I tried the following statement
> IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com";);
>   phb->setLocalName(NULL);
> It generated some exception.
> All the APIs in IHeaderBlock and IAttribute class are generating this 
> exception for NULL value.

-- 
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

Reply via email to