Examples of ReproDatas


Examples of cxf.repro.ReproDatas

        // this call succeeds
        int out = port.works( in );
        assertTrue ("Value should be 42", out == 42);

        ReproDatas outs = port.failsEmpty( in );
        assertFalse ("Value should not be empty", outs.getItem().isEmpty());

        for( ReproData d : outs.getItem()) {
          TestUtils.getLogger().debug( "===> [" + d.isABool() + ":" + d.getALong() + ":" + d.getAString() + "]");
        }

        // this call fails with a null pointer exception during unmarshal
        // (the service gets called correctly, but the client chokes on result data)
View Full Code Here

Examples of cxf.repro.ReproDatas

        return data.getALong();
    }

    public ReproDatas failsEmpty( ReproData data )
    {
        ReproDatas out = new ReproDatas();
        out.getItem().add( data );
        return out;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.