com.wingfoot.soap.transport
Interface Transport

All Known Implementing Classes:
HTTPTransport, J2SEHTTPTransport

public interface Transport

Interface for all the transport implementations. Users desiring to implement their own transport have to implement this interface.

Since:
0.90

Method Summary
 byte[] call(byte[] payload)
          Method to open a connection to a server and send the payload.
 

Method Detail

call

public byte[] call(byte[] payload)
            throws SOAPException,
                   java.io.IOException
Method to open a connection to a server and send the payload. Returns a byte stream representing the response from the server.
Parameters:
payload - the SOAP message as a byte array. This payload is sent to the SOAP server.
Returns:
an array of bytes from the SOAP server representing the response; null if no response is returned.
Throws:
java.io.IOException - if any error occurs while connecting to the server.
SOAPException - if response is not XML.


Copyright(c) Wingfoot Software (www.wingfoot.com). All Rights Reserved.

KXML is a XML parser by Lutris Technologies