GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Run time Exception when  access addBodyElement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Run time Exception when  access addBodyElement" Watch "Run time Exception when  access addBodyElement" New topic
Author

Run time Exception when access addBodyElement

Patricia Samuel
Ranch Hand

Joined: Sep 12, 2007
Posts: 300
Hi

Can anyone please help me to resolve this exception. Though there is nothing at compile time but at run time i get this exception.

Method "addBodyElement" with signature "(Ljavax/xml/namespace/QName;)Ljavax/xml/soap/SOAPBodyElement;" is not applicable on this object

Regards,
Patricia
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

It seems like the JAR file you are compiling against is different from the one you are using to run the application.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: Run time Exception when access addBodyElement