Thanks Dan, I re-read the docs and you are right. Unfortunately that did not 
fix the problem.

I checked the code and the line that generates the NPE is 226 of 
WSDLServiceBuilder:
                223 PortType bindingPt = binding.getPortType();
            226 PortType pt = def.getPortType(bindingPt.getQName()); 

Turns out the bindingPt is null, any ideas or tips you can give as to why this 
is the case?

Mike Barlotta
Associate
Booz | Allen | Hamilton

-----Original Message-----
From: Daniel Kulp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 20, 2007 11:45 AM
To: [email protected]
Cc: Barlotta, Michael [USA]
Subject: Re: CXF @WebServiceProvider deployment issue


I believe portName should map to the name of the port in the service.   
Not the portType name.

Dan


On Thursday 20 December 2007, Barlotta, Michael [USA] wrote:
> > @WebServiceProvider(
> > serviceName="MessageRouterService",   <------------ mapped to
>
> wsdl:service name
>
> > portName="RoutePortType",                     <------------ mapped 
> > to
>
> wsdl:portType name
>
> > targetNamespace="http://xxxxx/",              <------------ mapped 
> > to
>
> wsdl:definitions targetNamespace
>
> > wsdlLocation="WEB-INF/wsdl/MessageRouter.wsdl"



--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to