com/esb/sample"
SOAP-ENV:encodingStyle=
"http://schemas.xmlsoap.org/soap/encoding/">
what's your name?
The client sends the above SOAP request to http://localhost:8192/Service/.
As, we already configured ServiceMix http:endpoint listening in port 8192,
the SOAP request will be intercepted and sent to the JBI NMR. http:endpoint has
the consumer role when it sends a SOAP request to the NMR and it will be routed
to http:endpoint listening in port 8192. This service is the JSR181 binding
component for our service implementation class, which when invoked will carry out
the business functionality and any response is returned through a similar channel
back to the client.
Summary
We use multiple archive formats for various J2EE components??”.jar, .war, .ear,
and .rar are few amongst them. Now, JBI specification recognizes .zip as a valid
archive format for JBI components. SUs and SAs are packaged as valid .zip files and
are deployed into JBI compliant containers. In this chapter, we have seen how to write
code from scratch, package it into standard JBI formats, and deploy it to the ESB
run time.
Pages:
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200