THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
mvn archetype:create \ -DarchetypeGroupId=org.apache.servicemix.tooling \ -DarchetypeArtifactId=servicemix-cxf-bc-service-unit -DarchetypeVersion=2010.01 \ -DgroupId=your.group.id \ -DartifactId=your.artifact.id \ -Dversion=your-version |
Once you've customized the service unit, simply install the SU:
Code Block |
---|
mvn install
|
Info | ||
---|---|---|
Remember that to be deployable in ServiceMix, the ServiceUnit has to be embedded in a Service Assembly: only the Service Assembly zip file can be deployed in ServiceMix.
|
Endpoints Configuration
Consumer Endpoint
...
Code Block |
---|
[target namespace][delimiter][interface name][delimiter][operation name] |
where:
\[delimiter\] is ":" when the \ [target namespace\] is a URN, otherwise "/".Wiki Markup \[target namespace\] is the namespace of the interface.unmigrated-wiki-markupWiki Markup - \[interface name\] is the name of the interface.unmigrated-wiki-markup\
- [operation name\] is the name of the operation.
For example, the following header
...
will be used to address the JBI exchange with the following properties:
- interface name: {http://example.com/stockquote\}StockQuoteInterface
- operation name: {http://example.com/stockquote\}GetLastTradePrice
...
Code Block |
---|
[target namespace][delimiter][service name][delimiter][endpoint name] |
where:
...
- \[delimiter\] is ":" when the \ [target namespace\] is a URN, otherwise "/".unmigrated-wiki-markup
- \[target namespace\] is the namespace of the interface.unmigrated-wiki-markup
- \[service name\] is the name of the service.
\Wiki Markup - [endpoint name\] is the name of the endpoint.
For example, the following header
...