A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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.
I agree. Here's the link:
subject: How to write a method not returning anything (void) in a WSDL
get the methods in a class
Exception as a argument in webservice
NX: serialization or not
Is it possible to expose the hole api as the web service
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-2014