[ 
https://issues.apache.org/jira/browse/CXF-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bozhong Lin updated CXF-362:
----------------------------

        Fix Version/s: 2.0-RC
    Affects Version/s: 2.0-RC

> wsdltojava generated code has inconsistent style
> ------------------------------------------------
>
>                 Key: CXF-362
>                 URL: https://issues.apache.org/jira/browse/CXF-362
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-RC
>            Reporter: Peter Jones
>         Assigned To: jimma
>            Priority: Trivial
>             Fix For: 2.0-RC
>
>
> The java generated by wsdl2java has some inconsistencies in white space, 
> brackets etc.  It would be nice for all generated code to be consistent and 
> to pass check style checks.
> For an example, run "WsdlToJava -all" against the hello_world.wsdl in the 
> distribution.
> The constructor in GreeterServer.java has nice spacing:
>     protected GreeterServer() throws Exception {
>         System.out.println("Starting Server");
>         Object implementor = new GreeterImpl();
>         String address = "http://localhost:9000/SoapContext/SoapPort";;
>         Endpoint.publish(address, implementor);
>     }
> compared to the spacing and brackets from the pingMe operation from 
> GreeterImpl.java:
>     /* (non-Javadoc)
>      * @see org.apache.hello_world_soap_http.Greeter#pingMe(*
>      */
>     public void pingMe()
>  throws PingMeFault       {
>        LOG.info("Executing operation pingMe");
>     //throw new PingMeFault("PingMeFault...");
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to