WsdlInterface iface = wsdls[0];
assertNotNull( iface );
assertEquals( 2, iface.getOperationCount() );
WsdlOperation operation = ( WsdlOperation )iface.getOperationAt( 0 );
assertNotNull( operation );
assertEquals( "GetDefaultPageData", operation.getName() );
Definition definition = WsdlUtils.readDefinition( "http://localhost:8082/testonewayop/TestService.wsdl" );
BindingOperation bindingOperation = operation.findBindingOperation( definition );
assertNotNull( bindingOperation );
assertEquals( bindingOperation.getName(), operation.getBindingOperationName() );
assertNull( operation.getOutputName() );
WsdlRequest request = operation.addNewRequest( "TestRequest" );
assertNotNull( request );
String requestXml = operation.createRequest( true );
assertNotNull( requestXml );
request.setRequestContent( requestXml );
Submit submit = request.submit( new WsdlSubmitContext( null ), false );