axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <>
Subject [jira] Commented: (AXISCPP-366) getFirstTransportPropertyKey() returns NULL
Date Mon, 10 Jan 2005 14:21:12 GMT
     [ ]
Samisa Abeysinghe commented on AXISCPP-366:

getFirstTrasportProperty (n missing) is deprecated (and documented in header file) and should
be changed to getFirstTransportProperty().

Hence I will change the test case, rather than the header.
Those wrongly spelled method names soon will be removed from the headers (hopefully before
1.5 is done)

I do not think it is required to keep the wrong spelled methods for the sake of backward compatibility.

> getFirstTransportPropertyKey() returns NULL
> -------------------------------------------
>          Key: AXISCPP-366
>          URL:
>      Project: Axis-C++
>         Type: Bug
>     Reporter: Manohar

> Hi,
> The getFirstTransportProperty() function in Stub class returns NULL. The test which is
written to test the properties of transport has found this bug with latest builds. This function
used to return the FirstTransportKey previously. But now it's not. Here is the code
> const char* transprop1;
> transprop1= ws.getFirstTrasportPropertyKey();
> if(transprop1==NULL)
>    printf("NULL \n");
> else
>    cout << "first transport property key is = "<< transprop1;
> I've compared the Stub.hpp of the latest builds with that of the old builds and found
the following change.I think these changes were put in by Samisa.
> In old build,
> const char* getFirstTrasportPropertyKey();
> and in new build it's changed to
> const char* getFirstTrasportPropertyKey() {return NULL;}; 
> The same changes are included in other TransportPropertyKey related functions also.
> Regards
> Manohar

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message