Package interop.wsifservice

Examples of interop.wsifservice.Doc_TestPortType


            // force to use a 'wrapped' type operation
            WSIFMessage context = service.getContext();
            context.setObjectPart(WSIFConstants.CONTEXT_OPERATION_STYLE, WSIFConstants.CONTEXT_OPERATION_STYLE_WRAPPED);
            service.setContext(context);

            Doc_TestPortType stub = (Doc_TestPortType) service.getStub(portName, Doc_TestPortType.class);

            SingleTag_Type stet = new SingleTag_Type();

            SingleTag_Type response = stub.singleTag(stet);

      assertNotNull("response is null!!!", response);

    } catch (Exception ex) {
      ex.printStackTrace();
View Full Code Here


            // force to use a 'wrapped' type operation
            WSIFMessage context = service.getContext();
            context.setObjectPart(WSIFConstants.CONTEXT_OPERATION_STYLE, WSIFConstants.CONTEXT_OPERATION_STYLE_WRAPPED);
            service.setContext(context);

            Doc_TestPortType stub = (Doc_TestPortType) service.getStub(portName, Doc_TestPortType.class);

            SimpleDocument_Type sdt = new SimpleDocument_Type();
            sdt.setValue("petra");

            SimpleDocument_Type response = stub.simpleDocument(sdt);

      assertNotNull("response is null!!!", response);

      assertTrue(
          "simpleDocument value wrong: " + response.getValue(),
View Full Code Here

            // force to use a 'wrapped' type operation
            WSIFMessage context = service.getContext();
            context.setObjectPart(WSIFConstants.CONTEXT_OPERATION_STYLE, WSIFConstants.CONTEXT_OPERATION_STYLE_WRAPPED);
            service.setContext(context);

            Doc_TestPortType stub = (Doc_TestPortType) service.getStub(portName, Doc_TestPortType.class);

            ComplexDocument_Type cdt = makeComplexDocument();
            checkComplexDocument(cdt);
                       
            ComplexDocument_Type response = stub.complexDocument(cdt);
      assertNotNull("response is null!!!", response);

      checkComplexDocument(response);

    } catch (Exception ex) {
View Full Code Here

TOP

Related Classes of interop.wsifservice.Doc_TestPortType

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.