org.apache.servicemix.components.activesoap
Class ASTransport

java.lang.Object
  extended by org.apache.servicemix.components.activesoap.ASTransport
All Implemented Interfaces:
org.codehaus.activesoap.transport.TransportClient

public class ASTransport
extends Object
implements org.codehaus.activesoap.transport.TransportClient

An ActiveSOAP transport which uses JBI.

Version:
$Revision: 2153 $

Constructor Summary
ASTransport(javax.jbi.messaging.DeliveryChannel channel)
           
ASTransport(javax.jbi.messaging.DeliveryChannel channel, org.codehaus.activesoap.util.XMLStreamFactory streamFactory)
           
 
Method Summary
 void close()
           
 org.codehaus.activesoap.transport.Invocation createInvocation()
           
 void invokeOneWay(ASInvocation invocation, String xml)
           
 void invokeOneWay(org.codehaus.activesoap.transport.Invocation invocation, Reader request)
           
 javax.xml.stream.XMLStreamReader invokeRequest(ASInvocation invocation, String xml)
           
 Reader invokeRequest(org.codehaus.activesoap.transport.Invocation invocation, Reader request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTransport

public ASTransport(javax.jbi.messaging.DeliveryChannel channel)

ASTransport

public ASTransport(javax.jbi.messaging.DeliveryChannel channel,
                   org.codehaus.activesoap.util.XMLStreamFactory streamFactory)
Method Detail

createInvocation

public org.codehaus.activesoap.transport.Invocation createInvocation()
Specified by:
createInvocation in interface org.codehaus.activesoap.transport.TransportClient

invokeOneWay

public void invokeOneWay(org.codehaus.activesoap.transport.Invocation invocation,
                         Reader request)
                  throws Exception
Specified by:
invokeOneWay in interface org.codehaus.activesoap.transport.TransportClient
Throws:
Exception

invokeRequest

public Reader invokeRequest(org.codehaus.activesoap.transport.Invocation invocation,
                            Reader request)
                     throws Exception
Specified by:
invokeRequest in interface org.codehaus.activesoap.transport.TransportClient
Throws:
Exception

close

public void close()
           throws Exception
Specified by:
close in interface org.codehaus.activesoap.transport.TransportClient
Throws:
Exception

invokeOneWay

public void invokeOneWay(ASInvocation invocation,
                         String xml)
                  throws Exception
Throws:
Exception

invokeRequest

public javax.xml.stream.XMLStreamReader invokeRequest(ASInvocation invocation,
                                                      String xml)
                                               throws Exception
Throws:
Exception


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.