}
public void testSoapProviderInOnly() throws Exception {
JmsComponent component = new JmsComponent();
JmsSoapProviderEndpoint endpoint = new JmsSoapProviderEndpoint();
endpoint.setService(new QName("uri:HelloWorld", "HelloService"));
endpoint.setEndpoint("HelloPort");
endpoint.setConnectionFactory(connectionFactory);
endpoint.setDestinationName("destination");
endpoint.setWsdl(new ClassPathResource("org/apache/servicemix/jms/HelloWorld-RPC.wsdl"));
component.setEndpoints(new JmsProviderEndpoint[] {endpoint});
container.activateComponent(component, "servicemix-jms");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
FileUtil.copyInputStream(new ClassPathResource("org/apache/servicemix/jms/HelloWorld-RPC-Input-OneWay.xml").getInputStream(), baos);