In sample/wsdl_first, PingMeFault is in the same package as interface
Greeter.
The generated FaultDetail is in a sub level of types.
Is there a way to put PingMeFault in the same package as FaultDetail?

When annotating PingMeFault, I put it in types level.

///
package org.apache.hello_world_soap_http.types;

@WebFault(name = "faultDetail", targetNamespace =
"http://apache.org/hello_world_soap_http/types";)

public class PingMeFault extends Exception {
    public static final long serialVersionUID = 20071220101738L;
...
}
     
But when generating code,  a PingMeFault.java will be generated in
org.apache.hello_world_soap_http while FaultDetail.java goes to
org.apache.hello_world_soap_http.types. 
-- 
View this message in context: 
http://www.nabble.com/How-to-put-generated-Exception-Class-in-the-same-package-as-FaultDetail-class-tp14813672p14813672.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to