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
Reporter: Peter Jones
Priority: Trivial
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira