File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to write a method not returning anything (void) in a WSDL
Naga Venkata Pradeep Namburi
Joined: Apr 04, 2008
Apr 07, 2009 07:16:02
I need to expose MyJavaClass as a webservice.
It has a method public void myMethod();
I need to expose it as an operation.
Please let me know how to do this.
When i omit the output tag, it's displaying error in Jdeveloper.
Joined: Apr 10, 2009
Apr 10, 2009 08:49:45
What error are you getting?
I added a void method to my web service (Axis 2) and ran it. The generated WSDL simply showed that operation with no output tag, so I think you're on the right track.
Joined: Jul 09, 2001
Apr 10, 2009 15:16:17
Empty input message in wsdl - void foo()
speaks about a similar issue.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
subject: How to write a method not returning anything (void) in a WSDL
NX: serialization or not
Exception as a argument in webservice
Is it possible to expose the hole api as the web service
get the methods in a class
Reusabilty of code lack in using interfaces for polymorphism
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015