org.ow2.petals.binding.soap.listener.outgoing
Class Axis2Utils
java.lang.Object
org.ow2.petals.binding.soap.listener.outgoing.Axis2Utils
public class Axis2Utils
- extends Object
- Author:
- chamerling - eBM WebSourcing
|
Method Summary |
static org.apache.axis2.client.ServiceClient |
createServiceClient(URI mep,
QName operation)
Create a ServiceClient with an AxisService set with the good operation |
static org.apache.neethi.Policy |
loadPolicy(File path,
Logger logger)
Load the policy from the SU configuration files. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createServiceClient
public static org.apache.axis2.client.ServiceClient createServiceClient(URI mep,
QName operation)
throws javax.jbi.messaging.MessagingException
- Create a ServiceClient with an AxisService set with the good operation
- Parameters:
mep - the message exchange pattern used. Non nulloperation - the target operation QName. Non null
- Returns:
- a ServiceClient. Not null.
- Throws:
HandlingException
javax.jbi.messaging.MessagingException
loadPolicy
public static org.apache.neethi.Policy loadPolicy(File path,
Logger logger)
- Load the policy from the SU configuration files.
- Parameters:
extensions -
- Returns:
- null if no policy has been found or the policy loaded from the
policy.xml file
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.