Package org.apache.tuscany.interop

Examples of org.apache.tuscany.interop.InteropFactory


        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here


        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

        // test AttributeComplexType
        {
            AttributeComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType();
        attrib.setAttribute("SomeText");
        param = factory.createAttributeComplexType();
        param.setAttributeElement(attrib);
      
            AttributeComplexType result = greeterClient.greetAttributeComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute());
     
        }

        // test AttributeReferenceComplexType
        {
            AttributeReferenceComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createAttributeReferenceComplexType();
       
        param.setReferencedAttribute("SomeText");
      
            AttributeReferenceComplexType result = greeterClient.greetAttributeReferenceComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute());
     
        }

        // test SimpleTypeWithAbstractComplexType
        {
            SimpleTypeWithAbstractComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithAbstractComplexType();
        param.setSimpleTypeWithAbstractExtensionElement("SomeText");
      
            SimpleTypeWithAbstractComplexType result = greeterClient.greetSimpleTypeWithAbstractComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement());
     
        }

        // test SimpleTypeWithNameComplexType
        {
            SimpleTypeWithNameComplexType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createSimpleTypeWithNameComplexType();
        param.setSimpleTypeWithNameElement("SomeText");
      
            SimpleTypeWithNameComplexType result = greeterClient.greetSimpleTypeWithNameComplexType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement());
     
        }

        // test ComplexTypeWithContentType
        {
            ComplexTypeWithContentType param = null;
           
        InteropFactory factory = InteropFactory.INSTANCE;
        param = factory.createComplexTypeWithContentType();
        param.setSimpleTypeWithName("SomeText");
      
            ComplexTypeWithContentType result = greeterClient.greetComplexTypeWithContentType(param);
           
        assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName());
View Full Code Here

TOP

Related Classes of org.apache.tuscany.interop.InteropFactory

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.