org.jboss.soa.esb.actions.soap
Class WsdlContractPublisher

java.lang.Object
  extended by org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher
      extended by org.jboss.soa.esb.actions.soap.WsdlContractPublisher
All Implemented Interfaces:
org.jboss.internal.soa.esb.publish.ActionContractPublisher, org.jboss.internal.soa.esb.publish.ContractPublisher, org.jboss.internal.soa.esb.publish.Publisher, org.jboss.internal.soa.esb.publish.ServletContractPublisher
Direct Known Subclasses:
AuthBASICWsdlContractPublisher

public class WsdlContractPublisher
extends AbstractWsdlContractPublisher

WSDL contract publisher.

Author:
tom.fennelly@jboss.com

Field Summary
 
Fields inherited from class org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher
REWRITE_ENDPOINT_URL
 
Constructor Summary
WsdlContractPublisher()
           
 
Method Summary
 java.util.Properties getHttpClientProperties()
          Get the HttpClientFactory properties.
 java.lang.String getWsdlAddress()
          Get the WSDL Address.
 void setActionConfig(Action actionConfig)
          Set the SOAPProcessor action configuration.
 
Methods inherited from class org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher
getActionProperties, getContractInfo, getContractInfo, getWsdl, initializeTransformer, setActionProperties, updateWsdl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlContractPublisher

public WsdlContractPublisher()
Method Detail

setActionConfig

public void setActionConfig(Action actionConfig)
                     throws ConfigurationException
Description copied from class: AbstractWsdlContractPublisher
Set the SOAPProcessor action configuration.

Specified by:
setActionConfig in interface org.jboss.internal.soa.esb.publish.ActionContractPublisher
Overrides:
setActionConfig in class AbstractWsdlContractPublisher
Parameters:
actionConfig - action config.
Throws:
ConfigurationException - Bad config.

getWsdlAddress

public java.lang.String getWsdlAddress()
Description copied from class: AbstractWsdlContractPublisher
Get the WSDL Address.

Specified by:
getWsdlAddress in class AbstractWsdlContractPublisher
Returns:
The WSDL address.

getHttpClientProperties

public java.util.Properties getHttpClientProperties()
Description copied from class: AbstractWsdlContractPublisher
Get the HttpClientFactory properties.

We use HttpClient (configurable via the HttpClientFactory) to load the WSDL. This way, we can support different auth mechanisms etc.

Specified by:
getHttpClientProperties in class AbstractWsdlContractPublisher
Returns:
The HttpClientFactory properties.