• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO WebServices & Java 1.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO WebServices & Java 1.6


  • Subject: Re: WO WebServices & Java 1.6
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 24 Sep 2009 10:01:16 +1000

On 24/09/2009, at 12:02 AM, Jarda Hanuš wrote:

we are developping a web service frontend to a wo application and we try to implement some security/authentication controls in it.
However, when we try to access the SOAPEnvelope part of the ws message, we obtain this exception:


java.lang.ClassCastException: com.sun.xml.internal.messaging.saaj.soap.ver1_1.Envelope1_1Impl cannot be cast to java.lang.String
at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:554)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:688)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

What jars have you included?

From some googling it seems that this exception can be caused by combination of Axis 1.4 and Java 1.6 - the default version of Java on Snow Leopard.

So my questions are:
- has anybody any experiences with using WebObjects WebServices with Java 1.6?

Yes. (Though we deploy on FreeBSD, but that should be irrelevant)

- did someone succeed in hacking some newer version of axis (Axis2) to work with WO 5.4.3?

Didn't try. Still using axis 1.4 with relevant dependencies... http://mavenrepository.com/artifact/axis/axis/1.4

- should we try and hack our way ugly through, or is there some hope in a new WO release that will make it's WS capabilities compatible with Java 1.6?

What if you target your compile for that particular framework for 1.5?

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WO WebServices & Java 1.6
      • From: Jarda Hanuš <email@hidden>
References: 
 >WO WebServices & Java 1.6 (From: Jarda Hanuš <email@hidden>)

  • Prev by Date: Re: saving pdf's to the database
  • Next by Date: Re: Multi-Tenant Data Architecture
  • Previous by thread: WO WebServices & Java 1.6
  • Next by thread: Re: WO WebServices & Java 1.6
  • Index(es):
    • Date
    • Thread