Java Code Examples for org.apache.axis.client.Stub#_getProperty

The following examples show how to use org.apache.axis.client.Stub#_getProperty . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AxisHandler.java    From googleads-java-lib with Apache License 2.0 5 votes vote down vote up
/**
 * @see SoapClientHandler#putAllHttpHeaders(Object, Map)
 */
@Override
public void putAllHttpHeaders(Stub soapClient, Map<String, String> headersMap) {
  @SuppressWarnings("unchecked")
  Hashtable<String, String> headers =
      (Hashtable<String, String>) soapClient._getProperty(HTTPConstants.REQUEST_HEADERS);
  if (headers == null) {
    headers = new Hashtable<String, String>();
  }
  headers.putAll(headersMap);
  soapClient._setProperty(HTTPConstants.REQUEST_HEADERS, headers);
}
 
Example 2
Source File: AxisHandler.java    From googleads-java-lib with Apache License 2.0 4 votes vote down vote up
/**
 * @see SoapClientHandlerInterface#getEndpointAddress(Object)
 */
@Override
public String getEndpointAddress(Stub soapClient) {
  return (String) soapClient._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
}