Package cxf.repro

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


        return data.getALong();
    }

    public ReproDatas failsEmpty( ReproData data )
    {
        ReproDatas out = new ReproDatas();
        out.getItem().add( data );
        return out;
    }
View Full Code Here

TOP

Related Classes of cxf.repro.ReproDatas

Copyright © 2018 www.massapicom. 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.