Hi, I am using following Framework / library: - Spring 2.5.6 - CXF 2.1.3 - jaxb for databinding (cxf default)
I declare the following service: @WebService(serviceName = "PerValueObjectService",portName = "PerValueObjectServicePort",targetNamespace="http://pper.foo.com/pervalueobjectservice";) public class PerValueObjectServiceEndPoint implements PerValueObjectService { ... @Override @WebResult(name="DomainValueObject") public DomainValueObject getDomain(@WebParam(name = "domainId")int domainId) throws PerException { ... } I declare DomainValueObject class as: @XmlRootElement(name="DomainValueObject") @XmlType(name="DomainValueObject") public class DomainValueObject extends AbstractBaseValueObject { ... } and I define into my Spring context the service as: <!-- Value object service --> <bean id="perValueObjectServiceEndPoint" class="ch.ciip.per.service.ws.PerValueObjectServiceEndPoint"> <property name="perValueObjectService" ref="perValueObjectService"/> </bean> <jaxws:endpoint id="perValueObjectServiceWs" implementor="#perValueObjectServiceEndPoint" address="/ValueObjectService"/> My problem is the jaxb doesn't define complex type DomainValueObject into wsdl and got the error: Marshalling Error: com.per.valueobject.DomainValueObject is not known to this context How to tell jaxb where/how to find my class DomainValueObject? Thanks for help or advice Willy
