cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Clarke <>
Subject Marshalling Error: xxxxxx is not known to this context
Date Mon, 05 Nov 2007 19:06:00 GMT
Hi there,

I don't know how to overcome this error. "Marshalling Error:  xxxxxx is
not known to this context" I see from the bug list that it is recommend
that one uses

ServerFactoryBean svrBean = new ServerFactoryBean();

Map props = svrBean.getProperties();
         if (props == null) {
             props = new HashMap<String, Object>();
                   new Class[] {java.rmi.Remote.class,

But where is one supposed to put this code? I am using annotations and
the web.xml as well as the following in the applicationContext.xml

     <import resource="classpath:META-INF/cxf/cxf.xml" />
     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

     <jaxws:endpoint id="itestWebService"
implementor="#itestWebServiceBean" address="/ITestWebService" />



Cyber Connect - More than just broadband - Vodacom 3G R99/month

Cyber Designs - Put your business on the net

Jumping Bean - Your Java and Linux Experts

Tel: 011-781 80 14
Fax: 011-781 80 15

Any views or opinions presented in this email are solely those of the author and do not necessarily
represent those of the company. Employees of Cyber Designs are expressly required not to make
defamatory statements and not to infringe or authorize any infringement of copyright or any
other legal right by email communications. Any such communication is contrary to company policy
and outside the scope of the employment of the individual concerned. The company will not
accept any liability in respect of such communication, and the employee responsible will be
personally liable for any damages or other liability arising.

View raw message