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

Field Summary
static URI IN_ONLY
           
static URI IN_OUT
           
static URI ROBUST_IN_ONLY
           
 
Constructor Summary
SoapHelper(SoapEndpoint endpoint)
           
 
Method Summary
 Context createContext()
           
 Context createContext(SoapMessage message)
           
protected  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(ServiceEndpoint se)
           
 JBIMarshaler getJBIMarshaler()
           
 SoapMarshaler getSoapMarshaler()
           
 void onAnswer(Context context)
           
 SoapMessage onFault(Context context, SoapFault fault)
           
 MessageExchange onReceive(Context context)
           
 SoapMessage onReply(Context context, NormalizedMessage outMsg)
           
 void onSend(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_ONLY

public static final URI IN_ONLY

IN_OUT

public static final URI IN_OUT

ROBUST_IN_ONLY

public static final URI ROBUST_IN_ONLY
Constructor Detail

SoapHelper

public SoapHelper(SoapEndpoint endpoint)
Method Detail

getSoapMarshaler

public SoapMarshaler getSoapMarshaler()

getJBIMarshaler

public JBIMarshaler getJBIMarshaler()

onReceive

public MessageExchange onReceive(Context context)
                          throws Exception
Throws:
Exception

onReply

public SoapMessage onReply(Context context,
                           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 MessageExchange createExchange(URI mep)
                                  throws MessagingException
Throws:
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(ServiceEndpoint se)
                                       throws javax.wsdl.WSDLException,
                                              JBIException
Throws:
javax.wsdl.WSDLException
JBIException


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.