• 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
WO WebServices & Java 1.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO WebServices & Java 1.6


  • Subject: WO WebServices & Java 1.6
  • From: Jarda Hanuš <email@hidden>
  • Date: Wed, 23 Sep 2009 16:02:59 +0200

Hi list,

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)


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?
- did someone succeed in hacking some newer version of axis (Axis2) to work with WO 5.4.3?
- 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?


Thanks,

Jarda

_______________________________________________
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: Lachlan Deck <email@hidden>
  • Prev by Date: Re: WebObjects 5.4.3 and SQL Server 2005
  • Next by Date: Re: Multi-Tenant Data Architecture
  • Previous by thread: Re: ant build file size issue
  • Next by thread: Re: WO WebServices & Java 1.6
  • Index(es):
    • Date
    • Thread