Hi everyone,

I'm new to WSDL but I found CXF to be very helpful in that regards. :-)

Would appreciate your advise on the following case where somehow I always get 
nulls for my array/List parameters. 
My environment is JDK 1.6, WindowsXP, CXF 2.1.4.

1) I have a class called SimServerImpl with a method similar to the
following:

    public boolean foo (String abc, 
                              String def, 
                              List<String> ghi) 

note - I get the same error even if I change List<String> to String[].


2) Next I expose the class in the usual manner:
        SimServerImpl implementor = new SimServerImpl();
        String address = "http://localhost:9999/SimServer";;
        Endpoint e = Endpoint.publish(address, implementor);


The problem - I always get a null value in field 'ghi'. Just to double check, I 
changed 'ghi' back to a flat field i.e. just a String and only then
I get can a non-null. Unfortunately I really need my list/array. :-(

Thanks for your advice!

cheers



      

Reply via email to