A follow-up... Just to add more confusion, if I test the configuration in embedded mode (by extending the org.apache.servicemix.tck.TestSupport class) with the following spring configuration file, the programs do not 'lock up'.
So there appears to be something different between the 'embedded' mode and the 'server' mode. Any suggestions of where to look next? Thanks, James --------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://xbean.org/schemas/spring/1.0" xmlns:demo="urn:servicemix:soap-binding" xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0" xmlns:iconnect="http://stilesmachinery.com/iconnect/"> <!-- the JBI container --> <sm:container id="jbi" monitorInstallationDirectory="false"> <sm:activationSpecs> <sm:activationSpec> <sm:component> <jsr181:component> <jsr181:endpoints> <jsr181:endpoint pojoClass="soap.SimpleServiceImpl" annotations="jsr181" service="demo:simple-JSR-service" endpoint="simple-JSR-service-endpoint" /> </jsr181:endpoints> </jsr181:component> </sm:component> </sm:activationSpec> <sm:activationSpec> <sm:component> <http:component> <http:endpoints> <http:endpoint service="demo:simple-http-service" endpoint="simple-http-service-endpoint" role="consumer" targetService="demo:simple-JSR-service" targetEndpoint="simple-JSR-service-endpoint" locationURI="http://0.0.0.0:8192/PingService/" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" /> </http:endpoints> </http:component> </sm:component> </sm:activationSpec> </sm:activationSpecs> </sm:container> <!-- generic servicemix client --> <bean id="client" class="org.apache.servicemix.client.DefaultServiceMixClient"> <constructor-arg ref="jbi" /> </bean> <bean id="xFireProxy" class="org.codehaus.xfire.spring.remoting.XFireClientFactoryBean"> <property name="lookupServiceOnStartup" value="false" /> <property name="serviceClass" value="soap.SimpleService" /> <property name="wsdlDocumentUrl" value="http://localhost:8192/PingService/?wsdl" /> <property name="properties"> <map> <entry key="timeout" value="100000"></entry> </map> </property> </bean> </beans>
