This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassCastException

 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I'm trying to use a web service that requires parameters, when I invoke the call, I get the following error: java.lang.ClassCastException...

The call then fails of course. Here's my bit of code making the call:


I'm trying to access CapeScience's getWind method in the AirportWeather web service. Therefore
endpoint="http://live.capescience.com:80/ccx/AirportWeather"
operation="getWind"

Does anyone have an ideao what's wrong, did I type some wrong code?

Thanks y'all
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post any more details about the ClassCastException? Also, it would be useful to see the output from a "sniffer" such as Apache Axis' tcpmon or Grinder's similar proxy to see whether the problem is with the input or the output (if you can see the input going out you could compare it with the sample provided by CapeClear)...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic