@Override public void cleanup(MessageContext msgContext) throws AxisFault { super.cleanup(msgContext); }
AbstractHTTPSender sender = createHTTPSender(); sender.setFormat(format); sender.send(messageContext, url, findSOAPAction(messageContext)); } catch (MalformedURLException e) { log.debug(e);
writeMessageWithCommons(msgContext, epr, format); }else{ if(msgContext.isFault()){ sendUsingOutputStream(msgContext, format); TransportUtils.setResponseWritten(msgContext, true); } else {
@Override public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { InvocationResponse ir = super.invoke(msgContext); // only on client side if (!msgContext.isServerSide()) { InputStream inStream = (InputStream) msgContext .getProperty(MessageContext.TRANSPORT_IN); // If the body input stream is not null if (inStream != null) { try { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { correctSOAPFault(inStream, baos); InputStream is = new ByteArrayInputStream(baos.toByteArray()); msgContext.setProperty(MessageContext.TRANSPORT_IN, is); } finally { baos.close(); } } catch (Exception e) { throw new AxisFault("Can not correct the incoming response", SoapConstants.SOAP.FAULT_SERVER, e); } } } return ir; }
if (isGeneratedName(soapActionString)) { if (log.isDebugEnabled()) { log.debug("Will not use SOAP Action because (" + soapActionString + ") was auto-generated"); log.debug("SOAP Action from AxisOperation was : (" + axisOpSOAPAction + ")"); if (isGeneratedName(axisOpSOAPAction)) { if (log.isDebugEnabled()) { log.debug("Will not override SOAP Action because (" + axisOpSOAPAction + ") in AxisOperation was auto-generated");
this.transportOut = transportOut; setHTTPClientVersion(confContext);
messageFormatter.getContentType(msgContext, format, findSOAPAction(msgContext)));
sender = new CommonsHTTPTransportSender(); sender = new CommonsHTTPTransportSender();