almost done it, simply need to fix examples and maybe tests
- Romain 2012/2/19 David Blevins <david.blev...@gmail.com> > I seem to recall we fixed our web service support in TomEE so that the > services were "inside" the application rather than at the root. > > Would be excellent if we could get the same support in plain OpenEJB. For > example: > > @BeforeClass > public static void setUp() throws Exception { > Properties properties = new Properties(); > properties.setProperty(EJBContainer.APP_NAME, "simple-webservice"); > properties.setProperty("openejb.embedded.remotable", "true"); > EJBContainer.createEJBContainer(properties); > } > > @Test > public void test() throws Exception { > Service calculatorService = Service.create( > new URL(" > http://127.0.0.1:4204/simple-webservice/Calculator?wsdl"), > new QName("http://superbiz.org/wsdl", > "CalculatorService")); > > assertNotNull(calculatorService); > > CalculatorWs calculator = > calculatorService.getPort(CalculatorWs.class); > assertEquals(10, calculator.sum(4, 6)); > assertEquals(12, calculator.multiply(3, 4)); > } > > Created a jira for it: https://issues.apache.org/jira/browse/OPENEJB-1780 > > Up for grabs if someone wants to tackle it. > > Would be great to have an option to retain the current behavior of putting > everything at the root, but nice to have this option so the addresses would > match how they look in Tomcat/TomEE. > > > -David > >