org.apache.servicemix.soap
Class SoapHelper

java.lang.Object
  extended by org.apache.servicemix.soap.SoapHelper

public class SoapHelper
extends Object

Helper class for working with soap endpoints

Since:
3.0
Version:
$Revision: 1.5 $
Author:
Guillaume Nodet

Constructor Summary
SoapHelper(SoapEndpoint endpoint)
           
 
Method Summary
 Context createContext()
           
 Context createContext(SoapMessage message)
           
protected  javax.jbi.messaging.MessageExchange createExchange(URI mep)
           
protected  javax.wsdl.Operation findOperation(Context context)
           
protected  javax.wsdl.Operation findOperationFor(javax.wsdl.PortType portType, QName bodyName)
           
protected  javax.wsdl.Definition getDefinition(javax.jbi.servicedesc.ServiceEndpoint se)
           
 JBIMarshaler getJBIMarshaler()
           
 SoapMarshaler getSoapMarshaler()
           
 void onAnswer(Context context)
           
 SoapMessage onFault(Context context, SoapFault fault)
           
 javax.jbi.messaging.MessageExchange onReceive(Context context)
           
 SoapMessage onReply(Context context, javax.jbi.messaging.NormalizedMessage outMsg)
           
 void onSend(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapHelper

public SoapHelper(SoapEndpoint endpoint)
Method Detail

getSoapMarshaler

public SoapMarshaler getSoapMarshaler()

getJBIMarshaler

public JBIMarshaler getJBIMarshaler()

onReceive

public javax.jbi.messaging.MessageExchange onReceive(Context context)
                                              throws Exception
Throws:
Exception

onReply

public SoapMessage onReply(Context context,
                           javax.jbi.messaging.NormalizedMessage outMsg)
                    throws Exception
Throws:
Exception

onFault

public SoapMessage onFault(Context context,
                           SoapFault fault)
                    throws Exception
Throws:
Exception

onSend

public void onSend(Context context)
            throws Exception
Throws:
Exception

onAnswer

public void onAnswer(Context context)
              throws Exception
Throws:
Exception

createContext

public Context createContext(SoapMessage message)

createContext

public Context createContext()

createExchange

protected javax.jbi.messaging.MessageExchange createExchange(URI mep)
                                                      throws javax.jbi.messaging.MessagingException
Throws:
javax.jbi.messaging.MessagingException

findOperation

protected javax.wsdl.Operation findOperation(Context context)
                                      throws Exception
Throws:
Exception

findOperationFor

protected javax.wsdl.Operation findOperationFor(javax.wsdl.PortType portType,
                                                QName bodyName)

getDefinition

protected javax.wsdl.Definition getDefinition(javax.jbi.servicedesc.ServiceEndpoint se)
                                       throws javax.wsdl.WSDLException,
                                              javax.jbi.JBIException
Throws:
javax.wsdl.WSDLException
javax.jbi.JBIException


Copyright © 2010 FuseSource. All Rights Reserved.