[ 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