perfsonar-dev - SOAP and Java 1.6
Subject: perfsonar development work
List archive
- From: Cándido Rodríguez Montes <>
- To:
- Cc: Patricia Marcu <>, David Schmitz <>, Nina Jeliazkova <>, Nicolas Simar <>
- Subject: SOAP and Java 1.6
- Date: Wed, 12 Dec 2007 16:18:12 +0100
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 |
- SOAP and Java 1.6, Cándido Rodríguez Montes, 12/12/2007
- Re: SOAP and Java 1.6, Nina Jeliazkova, 12/12/2007
- Re: SOAP and Java 1.6, Patricia . Marcu, 12/13/2007
Archive powered by MHonArc 2.6.16.