Dan,

Thanks for the response.

I was in the process of trying to create a cut down example and I have
worked out what causes that Exception.

One of my methods had a return type of void:

public String method1( 
    @WebParam(name="transID", header=true, mode=WebParam.Mode.INOUT)
Holder<String> transID, 
    @WebParam(name = "msisdn") String input 
    ) throws WebServiceException; 

public void method2( 
    @WebParam(name="transID", header=true, mode=WebParam.Mode.INOUT)
Holder<String> transID, 
    @WebParam(name = "msisdn") String input 
    ) throws WebServiceException; 

If I change the method2 to return anything then java2ws then works.

Does that make any sense?

I am just leaving work for a weeks holiday, if you still think a test case
if worth while I try and get one to you when I am back.

Thanks,

James

--
View this message in context: 
http://cxf.547215.n5.nabble.com/java2ws-fails-to-generate-wrapperbeans-CXF-2-4-1-tp4669225p4669885.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to