Hi davide,
<http://servicemix.blogspot.com/2006/07/understanding-soap-binding-httpwww.html>I
have add an entry to my blog (
http://servicemix.blogspot.com/2006/07/understanding-soap-binding-httpwww.html)
where i tried to explain what happens in the soap-binding examples once the
send button is clicked.
Bruce-- please let me know if my understanding is correct.
Please find my response to your queries inline with your mail.
On 7/6/06, haranbanjo <[EMAIL PROTECTED]> wrote:


Hi Vamsi,
thanks for your response.
I know that i'm a very novice :-)
I try to explain better my doubts.
I know that with JBI, i have a Binding Component and a Service Engine.
The first is for connect to and from NMR through Delivery channels and the
second implements the logic behind my service.
But i haven't understand well how i can manage the flow of the normalized
message.
In the example that i found, there are "xbean.xml" file.. one for binding
service unit and one for engine service unit.
In the first i can see a "http:ednpoint" service definition named
"demo:simple-service" that refer to a paricular "locationURI".
In the second i can see a "jsr181:endpoint" service named as the first
"demo:simple-service" that refer to a pojoClass that implements my
webservice.
So i think that now i have a simple WS that can be called...and
potentially
it can comunicate with NMR.
But, now, i want to serialize the data that arrive (to my WS) to a
database.
I don't want to write the code directly in this WS to perform this task. I
want to have a second service that is connected to NMR that receive a
normalized message and than serialize it to database.
So what is not clear to me is:

1) how i can send the message to NMR in the first service (WS) (maybe it
is
just on NMR??)


Please refer to step 3 in the link stated above

2) how i can create a new service that don't need to be exposed externaly
with WS... it needs only to be notified when service 1 is called.


Are you asking for the approach to save the request to the database? If yes,
you can choose from many options( db helpers, dao etc) depending on your
design considerations.Either ways the ESB(servicemix) has nothing to do with
the db serialization approach you choose.ESB's job ends onces you WS
provider webservice is invoked by the request.

Thanks in advace for your help.
Davide



Hope that helps!
Vamsi
PS There are no 'stupid' questions.Questions, however basic they are,
deserve to be answered!! So keep asking. :-)

--
View this message in context:
http://www.nabble.com/ServiceMix-Beginner---Help-me-%3A-D-tf1899815.html#a5201232
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to