Skip to content

Not possible to create wrapped doc/literal wsdls with SuffixBasedPortTypesProvider [SWS-821] #900

@gregturn

Description

@gregturn

David J. M. Karlsen opened SWS-821 and commented

http://www.ibm.com/developerworks/webservices/library/ws-usagewsdl/index.html says that doc/literal wrapped style request elements should be named the same as the operation.

4. Input Wrapper Element name should match with Operation name 
The name of the input wrapper element must be the same as the web service operation name in WSDL.

But it's not possible to set the request suffix to an empty string (and I also guess that the rest of the code could not work with an empty request suffix:

Caused by: java.lang.IllegalArgumentException: 'requestSuffix' must not be empty
        at org.springframework.util.Assert.hasText(Assert.java:162)
        at org.springframework.ws.wsdl.wsdl11.provider.SuffixBasedMessagesProvider.setRequestSuffix(SuffixBasedMessagesProvider.java:61)

AFAIK wrapped style is the de-facto standard (along with doc/literal) so it would be good if sws could support it.


Affects: 2.1.2

Reference URL: http://www.ibm.com/developerworks/webservices/library/ws-usagewsdl/index.html

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions