|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.listener.outgoing.SOAPCaller
public class SOAPCaller
An external web service dispatcher. This dispatcher send the JBI message to an external web service. The service URL is specified in the PEtALS extensions.
| Field Summary | |
|---|---|
java.util.logging.Logger |
logger
|
SoapComponentContext |
soapContext
|
| Constructor Summary | |
|---|---|
SOAPCaller(SoapComponentContext soapContext,
java.util.logging.Logger logger)
Creates a new instance of SOAPCaller |
|
| Method Summary | |
|---|---|
protected static org.apache.axiom.om.OMElement |
buildOMElementFromSource(javax.xml.transform.Source body,
javax.xml.namespace.QName operation,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Build the OMElement from the Source. |
void |
call(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
|
protected static org.apache.axiom.om.OMElement |
createSOAPBodyContent(javax.jbi.messaging.NormalizedMessage nm,
javax.xml.namespace.QName operation,
PetalsServiceClient client,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Create the SOAPBody content. |
protected boolean |
isFilteredValue(java.lang.String propertyName,
java.util.List<java.lang.String> filters)
|
protected void |
updateClient(PetalsServiceClient client,
Addressing addressing,
org.ow2.petals.component.framework.api.message.Exchange exchange)
Update the client properties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SoapComponentContext soapContext
public java.util.logging.Logger logger
| Constructor Detail |
|---|
public SOAPCaller(SoapComponentContext soapContext,
java.util.logging.Logger logger)
SOAPCaller
soapContext - logger - | Method Detail |
|---|
protected static org.apache.axiom.om.OMElement buildOMElementFromSource(javax.xml.transform.Source body,
javax.xml.namespace.QName operation,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
throws javax.xml.stream.XMLStreamException
OMElement from the Source. The SOAP operation
is added as root element if it is configured in the petals extensions.
body - operation - extensions -
javax.xml.stream.XMLStreamException
protected static org.apache.axiom.om.OMElement createSOAPBodyContent(javax.jbi.messaging.NormalizedMessage nm,
javax.xml.namespace.QName operation,
PetalsServiceClient client,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
throws javax.xml.stream.XMLStreamException,
java.io.UnsupportedEncodingException
body -
NormalizedMessage is
empty.
javax.xml.stream.XMLStreamException
java.io.UnsupportedEncodingException
public void call(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
protected boolean isFilteredValue(java.lang.String propertyName,
java.util.List<java.lang.String> filters)
propertyName - filters -
protected void updateClient(PetalsServiceClient client,
Addressing addressing,
org.ow2.petals.component.framework.api.message.Exchange exchange)
client - addressing -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||