[Wsf-jira] [jira] Created: (WSFCPP-110) Impossible use proxy in in WSF/CPP client
Roberto Tirabassi (JIRA)
jira at wso2.org
Tue Jul 13 01:20:14 PDT 2010
Impossible use proxy in in WSF/CPP client
------------------------------------------
Key: WSFCPP-110
URL: https://wso2.org/jira/browse/WSFCPP-110
Project: WSO2 WSF/C++
Issue Type: Bug
Components: Core/Client API
Affects Versions: Current (Nightly)
Environment: All for version : wso2-wsf-cpp-src-2.1.1-m1
Reporter: Roberto Tirabassi
Assignee: Uthaiyashankar
1: Imposible to use proxy .....
File: ServiceClient.cpp
Function:
bool ServiceClient::setProxy(string proxyHost, string proxyPort)
{
assert(isValid);
axis2_status_t status = AXIS2_SUCCESS;
status = axis2_svc_client_set_proxy(_wsf_service_client, Environment::getEnv(),
(axis2_char_t *)proxyPort.c_str(), (axis2_char_t *)proxyPort.c_str());
return status ? true : false;
}
It calls axis2_svc_client_set_proxy with 2 times proxyPort instead of sending host and port!
Fix:
bool ServiceClient::setProxy(string proxyHost, string proxyPort)
{
assert(isValid);
axis2_status_t status = AXIS2_SUCCESS;
status = axis2_svc_client_set_proxy(_wsf_service_client, Environment::getEnv(),
(axis2_char_t *)proxyHost.c_str(), (axis2_char_t *)proxyPort.c_str());
return status ? true : false;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-jira
mailing list