You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/01/24 13:43:17 UTC

[jira] Created: (AXISCPP-392) getNamespacePrefix() returns incorrect prefix values

getNamespacePrefix() returns incorrect prefix values
----------------------------------------------------

         Key: AXISCPP-392
         URL: http://issues.apache.org/jira/browse/AXISCPP-392
     Project: Axis-C++
        Type: Bug
    Reporter: Manohar


Hi,

getNamespacePrefix() API returns incorrect prefix values. I've tried the following code 

MathOps ws(endpoint);
IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/","th1");
phb->createNamespaceDecl("th1", "http://ws.apache.org/axisCppTest1/");
iResult = ws.div(15,3);
cout << "Result is = " << iResult << endl;
cout << ws.getNamespacePrefix("http://ws.apache.org/axisCppTest1/") << endl;

SOAP request message shows that the header block is created with the above values. But, instead of returning "th1" as the prefix value, getNamespacePrefix() method returns "ns2" as the prefix value. 


Regards
Manohar

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


[jira] Assigned: (AXISCPP-392) getNamespacePrefix() returns incorrect prefix values

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-392?page=history ]

John Hawkins reassigned AXISCPP-392:
------------------------------------

    Assign To: Mark Whitlock

> getNamespacePrefix() returns incorrect prefix values
> ----------------------------------------------------
>
>          Key: AXISCPP-392
>          URL: http://issues.apache.org/jira/browse/AXISCPP-392
>      Project: Axis-C++
>         Type: Bug
>     Reporter: Manohar
>     Assignee: Mark Whitlock

>
> Hi,
> getNamespacePrefix() API returns incorrect prefix values. I've tried the following code 
> MathOps ws(endpoint);
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/","th1");
> phb->createNamespaceDecl("th1", "http://ws.apache.org/axisCppTest1/");
> iResult = ws.div(15,3);
> cout << "Result is = " << iResult << endl;
> cout << ws.getNamespacePrefix("http://ws.apache.org/axisCppTest1/") << endl;
> SOAP request message shows that the header block is created with the above values. But, instead of returning "th1" as the prefix value, getNamespacePrefix() method returns "ns2" as the prefix value. 
> Regards
> Manohar

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


[jira] Closed: (AXISCPP-392) getNamespacePrefix() returns incorrect prefix values

Posted by "Mark Whitlock (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-392?page=history ]
     
Mark Whitlock closed AXISCPP-392:
---------------------------------

    Resolution: Duplicate

This problem has now been fixed by AXISCPP-475. getNamespacePrefix has now been removed. Please see 475 for more information.

> getNamespacePrefix() returns incorrect prefix values
> ----------------------------------------------------
>
>          Key: AXISCPP-392
>          URL: http://issues.apache.org/jira/browse/AXISCPP-392
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Manohar
>     Assignee: Mark Whitlock

>
> Hi,
> getNamespacePrefix() API returns incorrect prefix values. I've tried the following code 
> MathOps ws(endpoint);
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/","th1");
> phb->createNamespaceDecl("th1", "http://ws.apache.org/axisCppTest1/");
> iResult = ws.div(15,3);
> cout << "Result is = " << iResult << endl;
> cout << ws.getNamespacePrefix("http://ws.apache.org/axisCppTest1/") << endl;
> SOAP request message shows that the header block is created with the above values. But, instead of returning "th1" as the prefix value, getNamespacePrefix() method returns "ns2" as the prefix value. 
> Regards
> Manohar

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


[jira] Updated: (AXISCPP-392) getNamespacePrefix() returns incorrect prefix values

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-392?page=history ]

Samisa Abeysinghe updated AXISCPP-392:
--------------------------------------

    Component: SOAP

> getNamespacePrefix() returns incorrect prefix values
> ----------------------------------------------------
>
>          Key: AXISCPP-392
>          URL: http://issues.apache.org/jira/browse/AXISCPP-392
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Manohar
>     Assignee: Mark Whitlock

>
> Hi,
> getNamespacePrefix() API returns incorrect prefix values. I've tried the following code 
> MathOps ws(endpoint);
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/","th1");
> phb->createNamespaceDecl("th1", "http://ws.apache.org/axisCppTest1/");
> iResult = ws.div(15,3);
> cout << "Result is = " << iResult << endl;
> cout << ws.getNamespacePrefix("http://ws.apache.org/axisCppTest1/") << endl;
> SOAP request message shows that the header block is created with the above values. But, instead of returning "th1" as the prefix value, getNamespacePrefix() method returns "ns2" as the prefix value. 
> Regards
> Manohar

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