jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java and WS-I compliance" Watch "WSDL2Java and WS-I compliance" New topic

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?

[ 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
It's not a secret anymore!