Hi Tom, It didn't work with Axis 1.3 Final either. It works only with Axis 1.2 Beta and older versions. I don't what changes they made to the latest releases.
Thanks, Damodar. On Wed, 2005-12-14 at 12:27 -0800, Tom Jordahl wrote: > Why don't you try the 1.3 final release or a build of the current source > tree and see if the problem is fixed. > > -- > Tom Jordahl > Adobe ColdFusion Team > > > -----Original Message----- > > From: dyemme [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 14, 2005 10:55 AM > > To: [email protected] > > Subject: Re: setBody() and setHeader() problem in Axis 1.2 RC3 > > > > Hi All, > > > > Can anybody (axis core development team) through some light on this > > issue? > > > > These methods work perfectly in Axis1.2 Beta and not in Axis1.2 RC1.3. > > It might be a bug or issue in AXIS. Right now these methods are > setting > > null into SOAP Message. > > > > Thanks, > > Damodar. > > > > On Tue, 2005-12-13 at 11:47 -0500, dyemme wrote: > > > Hi, > > > > > > I have a problem with two methods in the Axis latest release and I > don't > > > have this problem in the Axis 1.2 Beta versions. The setBody() and > > > setHeader() methods in the SOAPEnvelope are not working properly in > > > latest Axis release. Is there any substitute to this methods in the > > > latest release?. > > > > > > Thanks, > > > Damodar. > > > > > > Here are the details. > > > > > > public void wsInfraProcessMethod(SOAPEnvelope req, SOAPEnvelope > resp) { > > > if (req.toString().indexOf( > > > WsrmServiceParameters.getApplicationMessage()) != -1) { > > > SOAPBody soapBody = null; > > > SOAPHeader soapHeader = null; > > > try { > > > soapBody = (SOAPBody) req.getBody(); > > > soapHeader = (SOAPHeader) req.getHeader(); > > > } > > > catch (SOAPException ex) { > > > ex.printStackTrace(); > > > } > > > > > > resp.setBody(soapBody); > > > resp.setHeader(soapHeader); > > > > > > > > > System.out.println( "*************************************"); > > > System.out.println(moduleName + " Sending message reliably \n" > + > > > resp); > > > System.out.println( "*************************************"); > > > } > > > if (req.toString().indexOf( > > > WsrmServiceParameters.getResponseMessage()) != -1) { > > > > System.out.println("****************************************"); > > > System.out.println(moduleName + " Message has been received > \n" > > > + req); > > > > System.out.println("*****************************************"); > > > } > > > } > > > >
