• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Soap method missing

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My project can't find "extractContentAsDocument()", but it looks like "javax.xml.soap.SOAPBody" is being imported. Any ideas?

TIA
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just glancing at the javax.xml.soap JavaDocs, it appears that the method you want was only added in SAAJ 1.3 - What version of Java are you using to compile.

Bill
 
Jerry Davidson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.5. I'm using RAD with the Flex plug-in for this Flex/Java project. I'm assuming their is a jar missing, but I don't know which one.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since that class is part of the standard library, you are not "missing a jar" you are using a grossly out-dated version of Java from before that method became part of the standard library.

There really is no excuse for using Java 1.5 - see this Java version history.

You are two generations out of support.

Bill
 
Jerry Davidson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is an existing application that worked so I'm not sure why this error is coming up now. I've imported it into RAD 7 on a Window 7 machine from an XP machine.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would bet real money that the version of Java on the machine where it worked was more modern than 1.5
 
reply
    Bookmark Topic Watch Topic
  • New Topic