The missing "/WEB-INF/sun-jaxws.xml" is caused due to the 
WSServletContextListener trying to fetch the URL to sunJaxWsXml. Stepping 
through the code got me to the ContextHandler which checks the 
_baseResource value, which was never set when setting the servlet.
The most important bit is to set the resource base, without which the 
context would never find xml file, no matter where you place the file.

I am using dropwizard 0.7.1 and I add this to the run method of my 
Application class.

`               ServletEnvironment servlet = environment.servlets();`
`                servlet.setResourceBase("/");`
` servlet.addServlet("/SOAP/*", new 
com.sun.xml.ws.transport.http.servlet.WSServlet());`
` servlet.addServletListeners(new 
com.sun.xml.ws.transport.http.servlet.WSServletContextListener());`

And then ensure /WEB-INF/sun-jaxws.xml exists in the root directory.

On Wednesday, November 14, 2012 at 4:07:17 AM UTC-5, Poorna Prakash 
Parvathala wrote:
>
> Hi any one implemented a SOAP supported Dropwizard (except This 
> <https://gist.github.com/3341293>)
> any help would be appreciated
>
> Thanks,
> Poorna
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to