0 Replies Latest reply on Nov 22, 2004 6:07 PM by Thomas Diesler

    Axis Message-style/Java Web Service

    Thomas Diesler Master

      Elizabeth asks:

      I have a Axis Message-style/Java Web Service webservice (.wsr) that we deployed as an example in the RC1 and RC2 versions of 3.2.6. It no longer works with 3.2.6 final, and I see that the axis.jar has been replaced with the axis-ws4ee.jar. I made the appropriate changes to the interfaces I had been using: I replaced org.apache.axis.message.SOAPEnvelope with org.apache.axis.message.SOAPEnvelopeAxisImpl. However, the constructor I used in the past now generates a compiler error:

      org.apache.axis.message.SOAPEnvelopeAxisImpl newmsg = new org.apache.axis.message.SOAPEnvelopeAxisIm pl(new ByteArrayInputStream(respstr.getBytes("UTF-8")));

      generates:

      [javac] D:\myfiles\JBOSS\2200JBoss\test\soapMSGstyle\src\com\unisys\os2200\j
      2ee\websvc\examples\msgService\HelloMsg.java:97: cannot resolve symbol [javac] symbol : constructor SOAPEnvelopeAxisImpl (java.io.ByteArrayInputStream) [javac] location: class org.apache.axis.message.SOAPEnvelopeAxisImpl
      [javac] newmsg = new org.apache.axis.message.SOAPEnvelopeAxisIm
      pl(new ByteArrayInputStream(respstr.getBytes("UTF-8")));
      [javac] ^
      [javac] 1 error

      We have a customer interested in using this form of SOAP messaging, can you tell me if it still works with 3.2.6 final?