Stub::getNamespacePrefix fails
------------------------------

         Key: AXISCPP-475
         URL: http://issues.apache.org/jira/browse/AXISCPP-475
     Project: Axis-C++
        Type: Bug
  Components: Client - Stub  
    Reporter: Mark Whitlock
 Assigned to: Mark Whitlock 


I am investigating the TestGetNamespacePrefix test which currently is not 
working. It tests the Stub::getNamespacePrefix method which it invokes after 
calling a web service. The prefix returned is not the prefix that is set up 
before calling the web service.

This method only makes sense when called after the Call::initialize (because it 
needs the SoapSerializer and the SoapSerializer is created during the 
Call::initialize) and before the Call::invoke (since it gets the namespace 
prefix from the SoapSerializer not the SoapDeSerializer). The client 
application never gets control between the Call::initialize and the 
Call::invoke since both are issued from the generated stub. So 
Stub::getNamespacePrefix does not make sense and should be removed. However 
Call::getNamespcePrefix does make sense for client applications using the 
dynamic API.

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