Skip to Content.
Sympa Menu

perfsonar-dev - Re: SOAP and Java 1.6

Subject: perfsonar development work

List archive

Re: SOAP and Java 1.6


Chronological Thread 
  • From: Nina Jeliazkova <>
  • To: Cándido Rodríguez Montes <>
  • Cc: , Patricia Marcu <>, David Schmitz <>, Nicolas Simar <>
  • Subject: Re: SOAP and Java 1.6
  • Date: Wed, 12 Dec 2007 23:12:53 +0200

Hi Cándido,

I can confirm setting <property name="javax.xml.soap.MessageFactory" value="org.apache.axis.soap.MessageFactoryImpl"/>
in jnlp file solved the Java 1.6 problem. PerfsonarUI  AA now works also with Java 1.6

Thanks!

Nina


Cándido Rodríguez Montes wrote:
Hi all,
FYI, there is a problem when using the axis libraries in Java 1.6 due to in this last release there is another implementation of the SOAP And Attachments API (SAAJ), so you've got the following exception:
com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast to org.apache.axis.Message
So, I've found a solution by setting which SOAP library you want to use. So, you have to set the following property: -Djavax.xml.soap.MessageFactory="org.apache.axis.soap.MessageFactoryImpl". I think you can set this in a .jnlp for a Java Web Start using <property name="javax.xml.soap.MessageFactory" value="org.apache.axis.soap.MessageFactoryImpl"/> inside the <resources> element.

Regards

--
Cándido Rodríguez Montes E-mail: 
Red.ES/RedIRIS Tel:+34 955 05 66 13
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN







Archive powered by MHonArc 2.6.16.

Top of Page