Package org.apache.axis.encoding

Examples of org.apache.axis.encoding.BeanSerializer$PropertyTarget


        // register the PurchaseOrder class
        QName poqn = new QName("http://www.soapinterop.org/Bid",
                               "PurchaseOrder");
        Class cls = PurchaseOrder.class;
        call.addSerializer(cls, poqn, new BeanSerializer(cls));
        call.addDeserializerFactory(poqn, cls, BeanSerializer.getFactory());

        // register the Address class
        QName aqn = new QName("http://www.soapinterop.org/Bid", "Address");
        cls = Address.class;
        call.addSerializer(cls, aqn, new BeanSerializer(cls));
        call.addDeserializerFactory(aqn, cls, BeanSerializer.getFactory());

        // register the LineItem class
        QName liqn = new QName("http://www.soapinterop.org/Bid", "LineItem");
        cls = LineItem.class;
        call.addSerializer(cls, liqn, new BeanSerializer(cls));
        call.addDeserializerFactory(liqn, cls, BeanSerializer.getFactory());

        try {
            // Default return type based on what we expect
            call.setOperationName( "Buy" );
View Full Code Here

TOP

Related Classes of org.apache.axis.encoding.BeanSerializer$PropertyTarget

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.