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 "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2005/02/09 19:22:11 UTC

[jira] Created: (AXISCPP-417) setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility

setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility
----------------------------------------------------------------------------------------------

         Key: AXISCPP-417
         URL: http://issues.apache.org/jira/browse/AXISCPP-417
     Project: Axis-C++
        Type: Bug
 Environment: n/a
    Reporter: Fred Preston


This is all about handlers.  To use a handler, you have to make sure that the name that it was given in setTransportPorperty( SOAPACTION_HEADER, "<name>") is the same as the <service name="<name>"... in the WSDD file.  The problem is that the name that is saved when using setTransportProperty() is surrounded with quotes, so it becomes "<name>" and not just <name>.  When in ClientAxisEngine::process (ClientAxisEngine.cpp line 67 onwards), if the "<name>" does not have a # embedded then the pchService still has the quotes around it when it is passed to g_pWSDDDeployment->getService() and so can never be found in the list.  If however, the name was set with a # in setTransportPorperty(), then when in ClientAxisEngine::process, the name is processed differently and the initial quote is removed prior to calling g_pWSDDDeployment->getService(), which can then find the service name and so pService is set correctly.  I would suggest, for consistent behaviour, if the name does not have a #, the quotes should be removed before calling g_pWSDDDeployment->getService().

-- 
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-417) setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility

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


> setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility
> ----------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-417
>          URL: http://issues.apache.org/jira/browse/AXISCPP-417
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> This is all about handlers.  To use a handler, you have to make sure that the name that it was given in setTransportPorperty( SOAPACTION_HEADER, "<name>") is the same as the <service name="<name>"... in the WSDD file.  The problem is that the name that is saved when using setTransportProperty() is surrounded with quotes, so it becomes "<name>" and not just <name>.  When in ClientAxisEngine::process (ClientAxisEngine.cpp line 67 onwards), if the "<name>" does not have a # embedded then the pchService still has the quotes around it when it is passed to g_pWSDDDeployment->getService() and so can never be found in the list.  If however, the name was set with a # in setTransportPorperty(), then when in ClientAxisEngine::process, the name is processed differently and the initial quote is removed prior to calling g_pWSDDDeployment->getService(), which can then find the service name and so pService is set correctly.  I would suggest, for consistent behaviour, if the name does not have a #, the quotes should be removed before calling g_pWSDDDeployment->getService().

-- 
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-417) setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility

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

Fred Preston reassigned AXISCPP-417:
------------------------------------

    Assign To: Fred Preston

> setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility
> ----------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-417
>          URL: http://issues.apache.org/jira/browse/AXISCPP-417
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> This is all about handlers.  To use a handler, you have to make sure that the name that it was given in setTransportPorperty( SOAPACTION_HEADER, "<name>") is the same as the <service name="<name>"... in the WSDD file.  The problem is that the name that is saved when using setTransportProperty() is surrounded with quotes, so it becomes "<name>" and not just <name>.  When in ClientAxisEngine::process (ClientAxisEngine.cpp line 67 onwards), if the "<name>" does not have a # embedded then the pchService still has the quotes around it when it is passed to g_pWSDDDeployment->getService() and so can never be found in the list.  If however, the name was set with a # in setTransportPorperty(), then when in ClientAxisEngine::process, the name is processed differently and the initial quote is removed prior to calling g_pWSDDDeployment->getService(), which can then find the service name and so pService is set correctly.  I would suggest, for consistent behaviour, if the name does not have a #, the quotes should be removed before calling g_pWSDDDeployment->getService().

-- 
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] Resolved: (AXISCPP-417) setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility

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

    Resolution: Fixed

Update complete

> setTransportProperty( SOAPACTION_HEADER, "name") and service name=".." in WSDD incompatibility
> ----------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-417
>          URL: http://issues.apache.org/jira/browse/AXISCPP-417
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> This is all about handlers.  To use a handler, you have to make sure that the name that it was given in setTransportPorperty( SOAPACTION_HEADER, "<name>") is the same as the <service name="<name>"... in the WSDD file.  The problem is that the name that is saved when using setTransportProperty() is surrounded with quotes, so it becomes "<name>" and not just <name>.  When in ClientAxisEngine::process (ClientAxisEngine.cpp line 67 onwards), if the "<name>" does not have a # embedded then the pchService still has the quotes around it when it is passed to g_pWSDDDeployment->getService() and so can never be found in the list.  If however, the name was set with a # in setTransportPorperty(), then when in ClientAxisEngine::process, the name is processed differently and the initial quote is removed prior to calling g_pWSDDDeployment->getService(), which can then find the service name and so pService is set correctly.  I would suggest, for consistent behaviour, if the name does not have a #, the quotes should be removed before calling g_pWSDDDeployment->getService().

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