Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 85448 invoked from network); 21 Jun 2002 21:12:48 -0000 Received: from unknown (HELO kivmail.kivera.com) (65.209.223.17) by daedalus.apache.org with SMTP; 21 Jun 2002 21:12:48 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Messaging MessageFactoryImpl class Date: Fri, 21 Jun 2002 14:13:01 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Messaging MessageFactoryImpl class Thread-Index: AcIZaFPdESoNioI+EdaS0ggAIP+7vw== From: "Kevin Sebastian" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am trying to develop a messaging server servlet which uses the MessageFactory to create a SOAPMessage as follows: MessageFactory myFactory =3D MessageFactory.newInstance(); But I get the following error during runtime : javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.soap.MessageFactoryImpl not found I downloaded the Sun Java JWSDP package and found that the MessageFactoryImpl class is in the=20 saaj-ri.jar file under the package "com/sun/xml/messaging/saaj/soap/".=20 But the AXIS MessageFactory.java code in the axis source expects the MessageFactoryImpl class to be in a totally different package as defined in the code below: private static final String DEFAULT_MESSAGE_FACTORY =3D "com.sun.xml.messaging.soap.MessageFactoryImpl"; This means my code will not work even if I copy the saaj-ri.jar file over to my webserver. Can someone tell me how to overcome this problem. Thanks in advance, Kevin