| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Generated by Apache ServiceMix Archetype --> |
| <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0" |
| xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation=" |
| http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-@{components.version}.xsd |
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> |
| |
| <!-- |
| ServiceMix CXF SE component is a JBI Service Engine exposing (annotated) POJO |
| as services on the JBI Bus. |
| It uses Apache CXF internally to perform service invocations and XML marshaling. |
| It supports: |
| - JSR-181 annotations |
| - JAXB2/Aegis/XMLBeans databinding |
| - WSDL auto generation |
| - Java proxy |
| - MTOM/attachment |
| |
| You can get more information on the component wiki page and CXF website: |
| |
| http://servicemix.apache.org/servicemix-cxf-se.html |
| http://cxf.apache.org |
| --> |
| |
| <!-- BEGIN SNIPPET: cxfse-pojo --> |
| <!-- |
| The CXF SE endpoint provides a property named pojo. |
| You can expose any POJO which contains the @WebService annotation. |
| |
| Attributes: |
| service : endpoint service name |
| endpoint : endpoint name |
| interfaceName : endpoint interface name |
| mtomEnabled : enable MTOM/attachment support |
| pojo : the instanciated POJO to service requests |
| useJBIWrapper : specifies if the endpoint expects to receive the JBI wrapper |
| in the message received from the NMR |
| useSOAPEnvelope : specifies if the endpoint expects SOAP message when useJBIWrapper |
| is false |
| useXmlBeans : specifies if the endpoint uses XMLBeans databinding to marshal/unmarshal |
| message |
| useAegis : specifies if the endpoint uses Aegis databinding to marshal/unmarshal |
| message |
| pojoService : specifies the servicemodel service name generated from the POJO |
| pojoEndpoint : specifies the servicemodel endpoint name generated from the POJO |
| --> |
| <cxfse:endpoint> |
| <cxfse:pojo> |
| <bean class="${packageName}.ExampleService" /> |
| </cxfse:pojo> |
| </cxfse:endpoint> |
| <!-- END SNIPPET: cxfse-pojo --> |
| |
| </beans> |