Package org.soapinterop.xsd

Examples of org.soapinterop.xsd.SOAPStruct


  /**
   * test echo struct
   * @throws RemoteException
   */
  public void testEchoStruct() throws RemoteException {
    SOAPStruct input=(SOAPStruct)dataFactory.create(SOAPStruct.class);
    input.setVarInt(200);
    input.setVarFloat(.002f);
    input.setVarString("Hello");
    SOAPStruct output = doc.echoStruct(input);
        assertEquals(input.getVarInt(), output.getVarInt());
        assertEquals(input.getVarFloat(), output.getVarFloat());
        assertEquals(input.getVarString(), output.getVarString());
  }
View Full Code Here


     * test echo struct
     *
     * @throws RemoteException
     */
    public void testEchoStruct() throws RemoteException {
        SOAPStruct input = (SOAPStruct) dataFactory.create(SOAPStruct.class);
        input.setVarInt(200);
        input.setVarFloat(.002f);
        input.setVarString("Hello");
        SOAPStruct output = doc.echoStruct(input);
        assertEquals(input.getVarInt(), output.getVarInt());
        assertEquals(input.getVarFloat(), output.getVarFloat());
        assertEquals(input.getVarString(), output.getVarString());
    }
View Full Code Here

     * test echo struct
     *
     * @throws RemoteException
     */
    public void testEchoStruct() throws RemoteException {
        SOAPStruct input = (SOAPStruct) dataFactory.create(SOAPStruct.class);
        input.setVarInt(200);
        input.setVarFloat(.002f);
        input.setVarString("Hello");
        SOAPStruct output = doc.echoStruct(input);
        assertEquals(input.getVarInt(), output.getVarInt());
        assertEquals(input.getVarFloat(), output.getVarFloat());
        assertEquals(input.getVarString(), output.getVarString());
    }
View Full Code Here

TOP

Related Classes of org.soapinterop.xsd.SOAPStruct

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.