So what is the point of service and endpoint attributes existence on cxfse:endpoint element? it is confusing for a developer when you can set them (as it is done with almost all other components) but they are ignored, if you think that normal approach is to use annotations (or generated ones) then why not remove these attributes from XSD?
Freeman Fang wrote: > > 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? >> > > > -- View this message in context: http://www.nabble.com/CXF-SE-endpoint-service-name-tp18711641p18714257.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
