at.knowcenter.wag.egov.egiz.sig.connectors.moa
Class MOASoapConnection
java.lang.Object
at.knowcenter.wag.egov.egiz.sig.connectors.moa.MOASoapConnection
- public final class MOASoapConnection
- extends Object
- Author:
- wprinz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_VERIFY
public static final String SERVICE_VERIFY
- MOA siganture verification mode
- See Also:
- Constant Field Values
SERVICE_SIGN
public static final String SERVICE_SIGN
- MOA siganture creation mode
- See Also:
- Constant Field Values
MOASoapConnection
public MOASoapConnection()
connectMOA
public static Properties connectMOA(String requestString,
String serviceMode,
String endpointURL)
throws WebException
- This method connects the moa server getting the requestString, the given
serviseMode and the endpointUrl. The requestString is the envelope of the
SOAP Message send and recieve by the AXIS module. The Response SOAP message
of the MOA server is parsed by AXIS and the message envelope is send back
to the calling method.
- Parameters:
requestString - the request string (XML) to send.serviceMode - the mode which connect to MOAendpointURL - the URL which the MOA server is running
- Returns:
- the response string (XML) of the MOA server
- Throws:
WebException
doPostRequestMultipart
public static Properties doPostRequestMultipart(String url,
String serviceMode,
String request,
SignatureData data)
throws org.apache.commons.httpclient.HttpException,
IOException
- Throws:
org.apache.commons.httpclient.HttpException
IOException
Copyright © 2006-2010. All Rights Reserved.