public void test6Soap12TestRpcPortEchoNestedStruct() throws Exception { test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding; try { binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub) new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort(); } catch (javax.xml.rpc.ServiceException jre) { if (jre.getLinkedCause() != null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); test.wsdl.soap12.assertion.xsd.SOAPStructStruct input = new test.wsdl.soap12.assertion.xsd.SOAPStructStruct(); input.setVarFloat(-5); input.setVarInt(10); input.setVarString("EchoNestedStruct1"); test.wsdl.soap12.assertion.xsd.SOAPStruct inputInner = new test.wsdl.soap12.assertion.xsd.SOAPStruct(); inputInner.setVarFloat(-5); inputInner.setVarInt(10); inputInner.setVarString("EchoNestedStruct2"); input.setVarStruct(inputInner); // Test operation test.wsdl.soap12.assertion.xsd.SOAPStructStruct output = null; output = binding.echoNestedStruct(input); // TBD - validate results assertEquals(input, output); }