• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Soap method missing

 
Jerry Davidson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic