• Post Reply Bookmark Topic Watch Topic
  • New Topic

WSDL2Java and WS-I compliance  RSS feed

Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!