No, it's not a bug.
If you use code first approach, all servicemodel info generated from the
code.
So if there is annotation in the ExampleClass, it will be used to set
the service/endpoint name.
If there is no annotation in the ExampleClass, the rule is servicename
should be implclassName + "Service", and the endpointname should be
implclassName + "Port".
Freeman
Lukasz L. wrote:
I noticed that service and endpoint name specified in xbean.xml are ignored:
<cxfse:endpoint service="xxx:exampleName"
endpoint="xxx:exampleEndpointName">
<cxfse:pojo>
<bean class="org.example.ExampleClasss" />
</cxfse:pojo>
</cxfse:endpoint>
When I specified service and endpoint (portName) properties using annotation
on the POJO class they are taken into account but when there are no
annotations the service/endpoint name are generated (based on POJO class
name) and settings in xbean.xml are simply disregarded.
Is it a bug?