You server is not aligned with your client it seems. Decorate Ping#hello (server) as Ping#hello (client) and all works smoothly
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-10 22:15 GMT+01:00 Romain Manni-Bucau <[email protected]>: > Oops sorry, misunderstood the issue, seems we don't interpret correctly > @Action > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-11-10 22:00 GMT+01:00 Romain Manni-Bucau <[email protected]>: >> Hello >> >> think http://tomee.apache.org/examples-trunk/change-jaxws-url/README.html >> should fix it >> >> >> Romain Manni-Bucau >> @rmannibucau >> http://www.tomitribe.com >> http://rmannibucau.wordpress.com >> https://github.com/rmannibucau >> >> >> 2014-11-10 21:52 GMT+01:00 benerridge <[email protected]>: >>> Finally getting back to this.. >>> >>> I setup a github project that will demonstrate the issue I have. It is >>> completely bare bones. >>> clone address >>> https://github.com/cyberoblivion/webservice-test.git >>> >>> If you checkout and build the war project and deploy it to tomee then run >>> the client against it. The client will fail with >>> >>> exception: "The given SOAPAction http://test.ciminc.com/Ping/helloRequest >>> does not match an operation." >>> >>> If you run the exact same webapp on glassfish 3 the client will succeed. >>> >>> FYI >>> I can change the client ever so slightly to make it work on both: >>> >>> //this one works on both tomee and glassfish >>> Ping_Service service = new com.ciminc.test.Ping_Service(new >>> URL("http://localhost:8080/webapp/Ping")); >>> //this one works only on glassfish but I would like to make it work on tomee >>> Ping_Service service = new com.ciminc.test.Ping_Service(); >>> >>> The later one is how our currently distributed clients access the web >>> service so I would like to make it work with tomee if possible. >>> >>> Thanks! >>> >>> >>> >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://tomee-openejb.979440.n4.nabble.com/Glassfish-to-TomEE-Webservices-tp4672146p4672818.html >>> Sent from the TomEE Users mailing list archive at Nabble.com.
