axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: svn commit: r354198 [3/3] - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/
Date Wed, 07 Dec 2005 01:52:09 GMT
yep. am still trying to get something to work before i start cleaning up.

-- dims

On 12/6/05, Sanjiva Weerawarana <sanjiva@opensource.lk> wrote:
> Hi Dims,
>
> I know you said this is the initial cut .. but .. :):
>
> > +    public static void processJMSRequest(
> > +            MessageContext msgContext,
> > +            InputStream in,
> > +            OutputStream out,
> > +            String contentType
> > +    )
> > +            throws AxisFault {
> > +        boolean soap11 = false;
> > +        try {
> > +
> > +//            //remove the starting and trailing " from the SOAP Action
> > +//            if (soapActionHeader != null
> > +//                    && soapActionHeader.startsWith("\"")
> > +//                    && soapActionHeader.endsWith("\"")) {
> > +//
> > +//                soapActionHeader =
> > +//                        soapActionHeader.substring(
> > +//                                1,
> > +//                                soapActionHeader.length() - 1);
> > +//            }
> > +//            //fill up the Message Contexts
> > +//            msgContext.setWSAAction(soapActionHeader);
> > +//            msgContext.setSoapAction(soapActionHeader);
> > +//            msgContext.setTo(new EndpointReference(requestURI));
> > +            msgContext.setProperty(MessageContext.TRANSPORT_OUT, out);
> > +            msgContext.setServerSide(true);
> > +
> > +            SOAPEnvelope envelope = null;
> > +            StAXBuilder builder = null;
> ...
>
> Can this code not be shared with HTTP?
>
> Sanjiva.
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message