@Ignore("Integration test") @Test public void testGetTypeDescriptorForOutputPort() throws Exception { assertNotNull("The type for the port 'paremeters' could not be found", activity.getTypeDescriptorForOutputPort("parameters")); assertTrue( "The type for the port 'paremeters' shoule be complex", activity.getTypeDescriptorForOutputPort("parameters") instanceof ComplexTypeDescriptor); assertNull("There should be no type descriptor for 'fred' port", activity.getTypeDescriptorForOutputPort("fred")); }
@Override public TypeDescriptor getTypeDescriptorForOutputPort(String portName) throws UnknownOperationException, IOException { TypeDescriptor result = null; List<TypeDescriptor> outputDescriptors = parser .getOperationOutputParameters(configurationBean.get("operation").get("name").textValue()); for (TypeDescriptor descriptor : outputDescriptors) { if (descriptor.getName().equals(portName)) { result = descriptor; break; } } return result; }
WSDLActivity extends AbstractAsynchronousActivity<JsonNode> implements
		InputPortTypeDescriptorActivity, OutputPortTypeDescriptorActivity { @Override public TypeDescriptor getTypeDescriptorForOutputPort(String portName) throws UnknownOperationException, IOException { TypeDescriptor result = null; List<TypeDescriptor> outputDescriptors = parser .getOperationOutputParameters(configurationBean.get("operation").get("name").textValue()); for (TypeDescriptor descriptor : outputDescriptors) { if (descriptor.getName().equals(portName)) { result = descriptor; break; } } return result; } }
WSDLActivity extends AbstractAsynchronousActivity<JsonNode> implements
		InputPortTypeDescriptorActivity, OutputPortTypeDescriptorActivity { @Override public TypeDescriptor getTypeDescriptorForOutputPort(String portName) throws UnknownOperationException, IOException { TypeDescriptor result = null; List<TypeDescriptor> outputDescriptors = parser .getOperationOutputParameters(configurationBean.get("operation").get("name").textValue()); for (TypeDescriptor descriptor : outputDescriptors) { if (descriptor.getName().equals(portName)) { result = descriptor; break; } } return result; } WSDLActivity(CredentialManager credentialManager); }
WSDLActivity extends AbstractAsynchronousActivity<JsonNode> implements
		InputPortTypeDescriptorActivity, OutputPortTypeDescriptorActivity { @Override public TypeDescriptor getTypeDescriptorForOutputPort(String portName) throws UnknownOperationException, IOException { TypeDescriptor result = null; List<TypeDescriptor> outputDescriptors = parser .getOperationOutputParameters(configurationBean.get("operation").get("name").textValue()); for (TypeDescriptor descriptor : outputDescriptors) { if (descriptor.getName().equals(portName)) { result = descriptor; break; } } return result; } WSDLActivity(CredentialManager credentialManager); boolean isWsrfService(); @Override void configure(JsonNode bean); @Override JsonNode getConfiguration(); @Override TypeDescriptor getTypeDescriptorForInputPort(String portName); @Override Map<String, TypeDescriptor> getTypeDescriptorsForInputPorts(); @Override TypeDescriptor getTypeDescriptorForOutputPort(String portName); @Override Map<String, TypeDescriptor> getTypeDescriptorsForOutputPorts(); @Override void executeAsynch(final Map<String, T2Reference> data,
			final AsynchronousActivityCallback callback); }
WSDLActivity extends AbstractAsynchronousActivity<JsonNode> implements
		InputPortTypeDescriptorActivity, OutputPortTypeDescriptorActivity { @Override public TypeDescriptor getTypeDescriptorForOutputPort(String portName) throws UnknownOperationException, IOException { TypeDescriptor result = null; List<TypeDescriptor> outputDescriptors = parser .getOperationOutputParameters(configurationBean.get("operation").get("name").textValue()); for (TypeDescriptor descriptor : outputDescriptors) { if (descriptor.getName().equals(portName)) { result = descriptor; break; } } return result; } WSDLActivity(CredentialManager credentialManager); boolean isWsrfService(); @Override void configure(JsonNode bean); @Override JsonNode getConfiguration(); @Override TypeDescriptor getTypeDescriptorForInputPort(String portName); @Override Map<String, TypeDescriptor> getTypeDescriptorsForInputPorts(); @Override TypeDescriptor getTypeDescriptorForOutputPort(String portName); @Override Map<String, TypeDescriptor> getTypeDescriptorsForOutputPorts(); @Override void executeAsynch(final Map<String, T2Reference> data,
			final AsynchronousActivityCallback callback); static final String URI; static final String ENDPOINT_REFERENCE; }