You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2011/08/31 21:20:10 UTC
[jira] [Closed] (CXF-3053) Add generation support of http:binding
for the java2ws tool from -http argument
[ https://issues.apache.org/jira/browse/CXF-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Liguori closed CXF-3053.
-------------------------------
Resolution: Won't Fix
> Add generation support of http:binding for the java2ws tool from -http argument
> -------------------------------------------------------------------------------
>
> Key: CXF-3053
> URL: https://issues.apache.org/jira/browse/CXF-3053
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Reporter: Robert Liguori
> Priority: Minor
>
> Recommendation: Add generation support of http:binding for the java2ws tool from -http argument
> Case study 1:
> By default, the Axis2 java2wsdl command creates bindings for SOAP 1.1, SOAP 1.2 and HTTP.
> Consider the following class:
> import javax.jws.WebMethod;
> import javax.jws.WebService;
>
> @WebService
> public class HelloServiceBeanTest {
> private String message = "Hello, ";
> public void HelloServiceBeanTest() {
> }
> @WebMethod
> public String sayHello(String name) {
> return message + name + ".";
> }
> }
> Now consider the following Axis2 command:
> $ java2wsdl -o file.wsdl -cn HelloServiceBeanTest
> WSDL bindings will be created as such: ...soap:binding..., ...soap12:binding... and ...http:binding...
> Case study 2 and proposal:
> CXF creates wsdl with individual bindings.
> $ java2ws -o file1 -wsdl HelloServiceBean
> will create
> ...soap:binding...
> $ java2ws -soap12 -o file1 -wsdl HelloServiceBean
> will create
> ...soap12:binding...
> what is missing is the http binding
> The following CXF argument (-http) does not exist but would be nice to have:
> $ java2ws -http -o file1 -wsdl HelloServiceBean
> is proposed to create
> ...http:binding...
> 'http:binding' reference: Web Services Description Language (WSDL) 1.1
> W3C Note 15 March 2001 (http://www.w3.org/TR/wsdl#_http:binding)
> Refactoring suggestion: (-binding soap11 | -binding soap12 | -binding http)
> Note: If for some reason, java2ws can already produce the http:binding or there is a technical reason why it's excluded, please explain and close the issue. Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira