Hello,

I've put this into Spring and am using CXF 2.3.0:

                <jaxws:endpoint
                                address="http://localhost:8080/moo";
                                
xmlns:ns="http://ctp.company.com/il/wsdl/AuditLog-v1";
                                
wsdlLocation="META-INF/il-auditlog-wsdl/AuditLog-v1.wsdl"
                                serviceName="AuditLogService_v1_0"
                                implementorClass="com.company.TestClass">
                 <jaxws:properties>
                    <entry key="schema-validation-enabled" value="true" />
                  </jaxws:properties>
                </jaxws:endpoint>

And I get this exception when I try to run the application:

Caused by: java.lang.NoSuchMethodException: 
org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl.<init>()
     at java.lang.Class.getConstructor0(Unknown Source)
     at java.lang.Class.getDeclaredConstructor(Unknown Source)
     at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
     ... 14 more



The problem seems to be the EndpointDefintionParser which returns the 
SpringEndpointImpl subclass to Spring as the bean classname, and it doesn't 
have an empty constructor.

What's going on?


John


******************************************************************************
The information contained in this email may be confidential. It is intended
only for the use of the named recipient. If you are not the named recipient
please delete this email and notify the sender of the delivery error. If you
have received this email and are not the named recipient, any disclosure,
reproduction, distribution or other dissemination or use of the information
contained in this email is strictly prohibited.
 
The transmission of email cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of email transmission. If verification is required please
request a hard copy version.

The Camelot group of companies includes:
Camelot UK Lotteries Limited (reg. no 2822203), Camelot Business Solutions
Limited (reg. no 07553982), Camelot Strategic Solutions Limited (reg. no
07553980), Camelot Global Services Limited (reg. no 02822300) and Camelot
Commercial Services Limited (reg. no 06911097), all of which are registered
in England and Wales and have their registered office at:
Tolpits Lane
Watford
WD18 9RN
Tel : 01923 425000
******************************************************************************

Reply via email to