Skip to content
Permalink
Browse files
Eliminated an invalid reference to an Axiom LLOM implementation class.
  • Loading branch information
veithen committed Oct 16, 2011
1 parent 1bb8da4 commit 92c7cec94dde684cf34c1f8ded5064a82a425730
Showing 1 changed file with 2 additions and 2 deletions.
@@ -28,10 +28,10 @@
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.stream.XMLStreamException;

import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMException;
import org.apache.axiom.soap.SOAPEnvelope;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.soap.impl.llom.soap11.SOAP11Factory;
import org.apache.axis2.AxisFault;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
@@ -285,7 +285,7 @@ private SOAPEnvelope createSOAPEnvelopeForRawMessage(MessageContext msgCtx,Strin
msgCtx.setServerSide(true);

//TODO : need to support SOAP12 as well
SOAPFactory soapFactory = new SOAP11Factory();
SOAPFactory soapFactory = OMAbstractFactory.getSOAP11Factory();
envelope = BuilderUtil.buildsoapMessage(msgCtx, parameterMap,
soapFactory);
//TODO : improve error handling & messages

0 comments on commit 92c7cec

Please sign in to comment.