This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL2Java and WS-I compliance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java and WS-I compliance" Watch "WSDL2Java and WS-I compliance" New topic
Author

WSDL2Java and WS-I compliance

Ed Thompson
Ranch Hand

Joined: Jan 20, 2006
Posts: 43
I am trying to define a web service request where the request message requires no parameters. The response message will return a string.

If I define a request message with no part:

I get a a BP2120 'non-unique message signatures' validation error when I have too methods that both use the empty request (even though they are name differently).

If I define an empty element in types and assign to both, same thing.

If I define a unique empty element for each


It generates code the expects an input object to be passed in:

Is there a way to write the wsdl that is WS-I compliant AND will not require the generated method to require an input message?

Ed
[ September 04, 2008: Message edited by: Ed Thompson ]

Even if the voices <i>aren't</i> real, they still have some good ideas!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL2Java and WS-I compliance
 
Similar Threads
adding new operation in web service interface
Question on message element in a WSDL file
Web Service Deployment problem
question on client side soap binding stub on wsdl complext type element
RPC vs Document -Part element or type