You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2009/05/05 23:08:10 UTC
Re: CXF Error Message on Container Startup
Two options:
1) In the @WebService annotation for the implementation, specify the
"portName" attribute to point at a port that exists in the wsdl.
2) In you spring config or whatever that is used to create the endpoints,
specify the appropriate portname. For example, the jaxws:endpoint element has
an "endpointName" attribute. It's of type QName so would need to look
something like:
<jaxws:endpoint .....
xmlns:ns="http://www.foo.com/enterpriseservices/accountservices/accountsecurity_1_0_0"
endpointName="ns:AccountSecurityService">.....
Dan
On Thu April 30 2009 11:03:10 am jp4 wrote:
> I am getting the following error when my container starts for each of my
> services. The services deploy and work properly, but I was wondering what
> I need to do to get rid of this message as it appears to sound the alarms
> on our monitoring scripts.
>
> 0:55:55,062 ERROR [STDERR] Apr 30, 2009 10:55:55 AM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service
> {http://www.foo.com/enterpriseservices/accountservices/accountsecurity_1_0_
>0}AccountSecurityServicePorts from WSDL: AccountSecurity_1_0_0.wsdl
> 10:55:55,839 ERROR [STDERR] Apr 30, 2009 10:55:55 AM
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
> createEndpointWARNING: Could not find endpoint/port for
> {http://www.foo.com/enterpriseservices/accountservices/accountsecurity_1_0_
>0}AccountSecurityServicePort in wsdl. Using {http://www.foo
> .com/enterpriseservices/accountservices/accountsecurity_1_0_0}AccountSecuri
>tyService. 10:55:55,862 ERROR [STDERR] Apr 30, 2009 10:55:55 AM
> org.apache.cxf.endpoint.ServerImpl initDestination
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog