cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <>
Subject [jira] Assigned: (CXF-507) Spring Config of portName and serviceName does not work
Date Sat, 31 Mar 2007 20:46:25 GMT


Dan Diephouse reassigned CXF-507:

    Assignee: Dan Diephouse

> Spring Config of portName and serviceName does not work
> -------------------------------------------------------
>                 Key: CXF-507
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration, JAX-WS Runtime
>    Affects Versions: 2.0-RC
>         Environment: Using 2.0-RC SNAPSHOT
>            Reporter: Chris Moesel
>         Assigned To: Dan Diephouse
> The documentation at the following page indicates that a portName and serviceName can
be specified as attributes in <jaxws:endpoint> in the spring config file:
> There are two issues:
> 1)  If the portName and serviceName are specified as recommended in the documentation,
Spring does not properly parse the config file, due to the following exception:
> org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '{}MyServicePort'
is not a valid value for 'QName'.
> I was able to get it to parse by adding the following to the root beans element:
> xmlns:mws=""
> And then specifying the portName like so: "mws:MyServicePort"
> 2)  Once you've gotten past #1 above,  you get the following error:
> org.springframework.beans.NotWritablePropertyException: Invalid property 'portName' of
bean class [org.apache.cxf.jaxws.spring.EndpointFactoryBean]: Bean property 'portName' is
not writable or has an invalid setter method. Does the parameter type of the setter match
the return type of the getter?
> Looking at the source code, it appears there are no setters for portName or serviceName:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message