Hmmm I have no idea how that's occurring... Any chance your wsdl has zero
operations in it?

- Dan

On 8/17/07, Bokde, Dhiraj <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to build a generic server using Provider<DOMSource>. But I
> want to make the WSDL metadata, wsdlLocation, serviceName, portName,
> etc. to be user configurable, without having to re-compile the Provider
> with new WebServiceProvider annotations for every new WSDL.
>
> I thought I'd be able to do this with an empty WebServiceProvider
> annotation for my Provider like below:
>
> <snip>
> @WebServiceProvider()
> @ServiceMode(value = Service.Mode.MESSAGE)
> public final class GenericMessageProvider implements Provider<DOMSource>
> {
> <snip>
>
> And the jaxws:endpoint element in a spring container cxf-beans.xml, like
> below:
>
> <snip>
>         <jaxws:endpoint id="myEndpoint" implementor="#genericProvider"
>                 address="/myLocation/" serviceName="msp:MyService"
>                 wsdlLocation="classpath:wsdl/MyWSDL.wsdl"
>                 xmlns:msp="http://my.service";>
>         </jaxws:endpoint>
> <snip>
>
> But this throws an NPE when I load the cxf-beans.xml using Tomcat. The
> relevant log4j logs are attached.
>
> Any ideas what's causing this?
>
> Thanks,
> Dhiraj.
>
>


-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to