|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher
public abstract class AbstractWsdlContractPublisher
Abstract WSDL contract publisher.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.internal.soa.esb.publish.ActionContractPublisher |
---|
org.jboss.internal.soa.esb.publish.ActionContractPublisher.ProxyFactory |
Field Summary | |
---|---|
static java.lang.String |
CACHE_SCHEMAS
|
static java.lang.String |
REWRITE_ENDPOINT_URL
|
Constructor Summary | |
---|---|
AbstractWsdlContractPublisher()
|
Method Summary | |
---|---|
java.util.Properties |
getActionProperties()
Get the action properties. |
org.jboss.internal.soa.esb.publish.ContractInfo |
getContractInfo(EPR epr)
Get the contract configuration. |
org.jboss.internal.soa.esb.publish.ContractInfo |
getContractInfo(EPR epr,
javax.servlet.http.HttpServletRequest servletRequest)
Get the contract information within a servlet context. |
org.jboss.internal.soa.esb.publish.ContractInfo |
getContractInfo(Service service,
java.lang.String wsdlAddress)
|
abstract java.util.Properties |
getHttpClientProperties()
Get the HttpClientFactory properties. |
java.lang.String |
getWsdl(java.lang.String wsdlAddress)
Get the WSDL. |
java.lang.String |
getWsdl(java.lang.String wsdlAddress,
java.lang.String charsetNameOverride)
Get the WSDL. |
abstract java.lang.String |
getWsdlAddress()
Get the WSDL Address. |
protected void |
initialize(java.util.Properties actionProperties)
Initialize this publisher using the action properties. |
protected void |
initializeTransformer()
Initialize the endpoint rewriting transformer. |
void |
setActionConfig(Action actionConfig)
Set the SOAPProcessor action configuration. |
protected void |
setActionProperties(java.util.Properties actionProperties)
Set the action properties. |
protected java.lang.String |
updateWsdl(java.lang.String wsdl,
EPR epr,
java.lang.String targetServiceCat,
java.lang.String targetServiceName,
java.lang.String targetProtocol)
Update the supplied wsdl to take account of the ESB endpoint proxying of the JBossWS invocation, as well as the fact that the transport may be different. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CACHE_SCHEMAS
public static final java.lang.String REWRITE_ENDPOINT_URL
Constructor Detail |
---|
public AbstractWsdlContractPublisher()
Method Detail |
---|
protected void initialize(java.util.Properties actionProperties) throws ConfigurationException
actionProperties
- The action properties.
ConfigurationException
- Bad config.public void setActionConfig(Action actionConfig) throws ConfigurationException
SOAPProcessor
action configuration.
setActionConfig
in interface org.jboss.internal.soa.esb.publish.ActionContractPublisher
actionConfig
- action config.
ConfigurationException
- Bad config.public java.util.Properties getActionProperties()
protected void setActionProperties(java.util.Properties actionProperties)
public abstract java.lang.String getWsdlAddress()
public abstract java.util.Properties getHttpClientProperties()
HttpClientFactory
properties.
We use HttpClient (configurable via the HttpClientFactory
)
to load the WSDL. This way, we can support different auth mechanisms etc.
HttpClientFactory
properties.public org.jboss.internal.soa.esb.publish.ContractInfo getContractInfo(EPR epr)
getContractInfo
in interface org.jboss.internal.soa.esb.publish.ContractPublisher
epr
- Endpoint EPR.
public org.jboss.internal.soa.esb.publish.ContractInfo getContractInfo(EPR epr, javax.servlet.http.HttpServletRequest servletRequest)
org.jboss.internal.soa.esb.publish.ServletContractPublisher
getContractInfo
in interface org.jboss.internal.soa.esb.publish.ServletContractPublisher
epr
- Endpoint EPR.servletRequest
- The servlet request context.
public org.jboss.internal.soa.esb.publish.ContractInfo getContractInfo(Service service, java.lang.String wsdlAddress) throws java.io.IOException
java.io.IOException
public java.lang.String getWsdl(java.lang.String wsdlAddress) throws java.io.IOException
wsdlAddress
- The WSDL address.
java.io.IOException
- Error reading wsdl.public java.lang.String getWsdl(java.lang.String wsdlAddress, java.lang.String charsetNameOverride) throws java.io.IOException
wsdlAddress
- The WSDL address.charsetNameOverride
- The charset name override.
java.io.IOException
- Error reading wsdl.protected java.lang.String updateWsdl(java.lang.String wsdl, EPR epr, java.lang.String targetServiceCat, java.lang.String targetServiceName, java.lang.String targetProtocol) throws org.xml.sax.SAXException, java.io.IOException, ConfigurationException
wsdl
- WSDL input.epr
- The SOAP endpoint from the ESB perspective.targetServiceCat
- targetServiceName
- targetProtocol
- @return The updated WSDL.
org.xml.sax.SAXException
java.io.IOException
ConfigurationException
protected void initializeTransformer() throws ConfigurationException
ConfigurationException
- Failed to initialize transformer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |