Bus.setCurrent(null);
}
public void testServiceCreation() throws Exception {
properties.put("org.objectweb.celtix.BusId", "MPT1");
Bus bus = Bus.init(null, properties);
Bus.setCurrent(bus);
URL wsdlUrl = getClass().getResource("resources/router.wsdl");
Definition def = bus.getWSDLManager().getDefinition(wsdlUrl);
QName sourceSrv = new QName("http://objectweb.org/HWRouter", "HTTPXMLServiceSource");
String sourcePort = new String("HTTPXMLPortSource");
QName destSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceDestination");
String destPort = new String("HTTPSoapPortDestination");