aspose file tools
The moose likes Beginning Java and the fly likes Run time Exception when  access addBodyElement Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 19216

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
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Run time Exception when access addBodyElement
 
Similar Threads
Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?
Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?
Jsf Error for simple jsf program in web application.
NullPointerException while sending SOAP Message
weblogic integration 8.1 urgent