It works fine with XML Parsers bundled with Weblogic. However, I have
another external jar in the classpath for a wireless gateway product
running on the same container. It needs a different version of XML
Parser which is not compliant with Axis. Java instance has been started
with an option so that uses the XML Parser of this External JAR and not
of Weblogic. I do not want to set a -D Java option differently since it
impacts the wireless gateway product. If possible, I would rather set a
property that impacts only Axis for using Xerces parser bunlded in
Weblogic. Is there any such property/parameter (other than -D java
option as given below) that can be used?

Thanks!

-Jagdish


-----Original Message-----
From: Anderson Jonathan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 11:30 AM
To: [EMAIL PROTECTED]
Subject: RE: specifying JAXP 1.1 compliant XML parser for Axis

We're running Axis in Weblogic 8.1 SP2 with only the following
modification
to the startManagedWeblogic.cmd startup script:

set
JAVA_OPTIONS=-Djavax.xml.soap.SOAPFactory=org.apache.axis.soap.SOAPFacto
ryIm
pl

But this has nothing to do with JAXP XML parsers (Xerces) or JAXP XML
processors (Xalan) - you're simply telling it to use the Axis
SOAPFactory
instead of the BEA Weblogic platform specific SOAPFactory.

Even then, we only need this configuration because we do things like
this in
our Axis handlers:

SOAPFactory soapFactory = SOAPFactory.newInstance();
Name assertionName =
soapFactory.createName(SAMLConstants.SAML_ASSERTION_NAME,
SAMLConstants.SAML_NS_PREFIX, SAMLConstants.SAML_NS_URI);

What problems are you encountering with the XML parser + processor (a
build
of Xerces + Xalan that they package in the consolidated weblogic.jar)
that
come with BEA Weblogic?

-Jon


-----Original Message-----
From: Khare, Jagdish [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: specifying JAXP 1.1 compliant XML parser for Axis


Hi,

I am running AXIS in weblogic 8.1 container. I have few other external
JARs in the classpath which have XML parsers but not the ones compatible
with Axis. I need to use the XML parsers included in Weblogic for the
use of Axis. Is there a way (any property/parameter that Axis reads) by
which I can specify weblogic version of XML parser to be used by Axis?

Any help will be appreciated.

Thanks!




Reply via email to