You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Steve Pannier <sp...@jacada.com> on 2002/03/08 01:00:37 UTC

Question re javax.xml.soap package

Sorry to bother the "dev" list with this, but I think you folks will know a
lot more about this than the user community.

In looking at the CVS history for javax.xml.soap.MessageFactory.java, the
first commit comment says:

First cut of javax.xml.soap package from JAXM Spec.
- This is a subset of the classes from JAXM that we need for JAX-RPC 0.6
- Had to check in 2 classes in javax.xml.messaging that were referenced
from javax.xml.soap package.
- Had to check in 1 class in javax.xml.transform that was referenced from
javax.xml.soap package.
- Needs "attachments.present" to compile. Does not compile if
attachments.present is false.
- Javadocs were hand-copied from JAXM Spec's Javadocs (JAX Winter Pack)
- As soon as we get an official copy we can replace this code with the
"official" copy.


What exactly does this mean?  Is AXIS planning on using Sun's JAXM as the
implementation for the javax.xml.soap package?
What are the plans here?

The reason I'm asking: I have developed an HTTP servlet that uses the JAXM
API to handle SOAP requests.  (It extends
JAXMServlet and implements onMessage().)  I am looking at implementing
something similar using AXIS.  After making the
necessary mods, I tried compiling and running with the AXIS jars, but get
the following error when trying to create a
javax.xml.soap.MessageFactory via MessageFactory.newInstance():

javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
Provider
com.sun.xml.messaging.soap.MessageFactoryImpl not found.

(This provider is located, of course, in "jaxm-client.jar" (part of the
JAXM release), but is not anywhere in the AXIS release.)

Any info you can give me would be appreciated.  Thanks.


Steve Pannier
Jacada, Inc.
(763) 268-6382
spannier@jacada.com
http://www.jacada.com