Search in sources :

Example 1 with ResponseHandlerMicroDom

use of com.helger.httpclient.response.ResponseHandlerMicroDom in project phase4 by phax.

the class AbstractAS4Client method sendMessageAndGetMicroDocument.

@Nullable
public IMicroDocument sendMessageAndGetMicroDocument(@Nonnull final String sURL) throws WSSecurityException, IOException, MessagingException {
    final IAS4ClientBuildMessageCallback aCallback = null;
    final IAS4OutgoingDumper aOutgoingDumper = null;
    final IAS4RetryCallback aRetryCallback = null;
    final IMicroDocument ret = sendMessageWithRetries(sURL, new ResponseHandlerMicroDom(), aCallback, aOutgoingDumper, aRetryCallback).getResponse();
    AS4HttpDebug.debug(() -> "SEND-RESPONSE received: " + MicroWriter.getNodeAsString(ret, AS4HttpDebug.getDebugXMLWriterSettings()));
    return ret;
}
Also used : IAS4OutgoingDumper(com.helger.phase4.dump.IAS4OutgoingDumper) ResponseHandlerMicroDom(com.helger.httpclient.response.ResponseHandlerMicroDom) IMicroDocument(com.helger.xml.microdom.IMicroDocument) Nullable(javax.annotation.Nullable)

Aggregations

ResponseHandlerMicroDom (com.helger.httpclient.response.ResponseHandlerMicroDom)1 IAS4OutgoingDumper (com.helger.phase4.dump.IAS4OutgoingDumper)1 IMicroDocument (com.helger.xml.microdom.IMicroDocument)1 Nullable (javax.annotation.Nullable)1