Hi again,
now I am confused. The construct
m.callWebService("lower caseeeeeeeeeee");
looks like callWebService is a method on your class Main. How does this
work, if callWebService is indeed a class?
Regards, Steffen
Dinesh Chothe wrote:
I am guessing, this exception is generating because of
class callWebService is not found. The external jar which contains
above class is also present in .oxt.
On Tue, Oct 7, 2008 at 3:39 PM, Steffen Grund <[EMAIL PROTECTED]> wrote:
Hello,
I do not recognize the exception you get. Are you sure that all the
additional jars/libraries you need for accessing the web service are also
packed with the Add-On project. What you should try out is to add these
jars/libraries also to the Add-On extension.
But I'm really just guessing here.
Regards,
Steffen
Dinesh Chothe wrote:
Hello, I have been developing an extention using
java1.6,net-beans6.1,jax-ws(Web Services),tomcat6.
Firstly generated one web service by using netbeans6 which
simply takes one string and returns string to client.
Then created .war of same and deployed in tomacat
web-apps.
After this developed one simple java program which calls
above created web-service.As successfully testing this
java client, created its .jar file then added into
openoffices add-on extention program. Then simpley called jar's
method which calls web service.
if ( aURL.Path.compareTo("CallWeb") == 0 ) {
// add your own code here
System.out.println("Calling Web Service-----");
Main m = new Main();
m.callWebService("lower caseeeeeeeeeee");
}
But while doing this it throws following exception.....
Exception =
com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler
error: Wrapper class callWebService is not found. Have you run APT to
generate them?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]