i need to make WS inside jbi who call external WS with a special business
logic
for example, i have a WS inside jbi which get the user list of my
application
this operation invole to call a sequence of my external WS.

How can i do taht without calling SOAP directly in my method?



gnodet wrote:
> 
> Agreed. Your service should not deal with SOAP directly if inside the JBI
> bus.
> That way, you can achieve loose coupling between your services.
> I've blogged about that very recently:
> http://gnodet.blogspot.com/2007/06/loose-coupling-in-jbi.html
> 
> On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>> Jsr181:proxy is nothing but a proxy(client) for the external WS. Please
>> go through the tutorial that explains how multiple external WS can be
>> orchestrated inside a single jsr181 Pojo (exposed via http endpoint)
>>
>> Regards,
>> Rabi Mishra,
>> http://rabisblog.blogspot.com/
>> c++; /* this makes c bigger but returns the old value */
>> -----Original Message-----
>> From: Erik Allais [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, June 28, 2007 2:33 PM
>> To: [email protected]
>> Subject: RE: Calling External WS in a component
>>
>>
>> my real question is to implement a soap client inside a method of my web
>> service so i want to know i must develop this client or if this
>> component ever exist en SMX
>>
>>
>> rabi wrote:
>> >
>> >
>> > You can use jsr181 proxy to call external ws.
>> >
>> >  <jsr181:proxy context="#context"
>> >                                   type="net.webservicex.USZipSoap"
>> >                                   service="uszip:USZip" />
>> >                   </property>
>> >
>> > Look at the tutorial..
>> >
>> > http://incubator.apache.org/servicemix/orchestration-with-jsr181.html
>> >
>> >
>> > Regards,
>> > Rabi Mishra,
>> > Wipro Technologies,Office: +91-20-39104549, VOIP:842
>> > 2545,CELL+91(0)9890363765
>> > http://rabisblog.blogspot.com/
>> > c++; /* this makes c bigger but returns the old value */
>> > -----Original Message-----
>> > From: Erik Allais [mailto:[EMAIL PROTECTED]
>> > Sent: Thursday, June 28, 2007 2:11 PM
>> > To: [email protected]
>> > Subject: Calling External WS in a component
>> >
>> >
>> >
>> >>> i need help about my conception.
>> >>> I need to make a internal WS in servicemix which call external WS
>> >>>
>> >>>
>> >>>         my pojo class :
>> >>>         -> method 1    }
>> >>>         -> method 2    }  [internal WS]
>> > ---------------?----------------
>> >>> [external WS]
>> >>>         -> method 3    }
>> >>>
>> >>> each method of my jsr181 pojo class need to call external WS
>> >>>
>> >>> There is a component inside servicemix which do that job (WS client
>> >>> or SOAP client) Or i must implement my own WS client with axis or
>> >>> XFire Same question with jdbc
>> >>>
>> >>> Thanks,
>> >>> Wait your response.
>> >>>
>> >>> Erik
>> > --
>> > View this message in context:
>> > http://www.nabble.com/Calling-External-WS-in-a-component-tf3993170s120
>> > 49
>> > .html#a11339268
>> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >
>> >
>> >
>> > The information contained in this electronic message and any
>> > attachments to this message are intended for the exclusive use of the
>> > addressee(s) and may contain proprietary, confidential or privileged
>> > information. If you are not the intended recipient, you should not
>> > disseminate, distribute or copy this e-mail. Please notify the sender
>> > immediately and destroy all copies of this message and any
>> attachments.
>> >
>> > WARNING: Computer viruses can be transmitted via email. The recipient
>> > should check this email and any attachments for the presence of
>> viruses.
>> > The company accepts no liability for any damage caused by any virus
>> > transmitted by this email.
>> >
>> > www.wipro.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Calling-External-WS-in-a-component-tf3993170s12049
>> .html#a11339530
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>>
>> The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s)
>> and
>> may contain proprietary, confidential or privileged information. If you
>> are
>> not the intended recipient, you should not disseminate, distribute or
>> copy
>> this e-mail. Please notify the sender immediately and destroy all copies
>> of
>> this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of viruses.
>> The
>> company accepts no liability for any damage caused by any virus
>> transmitted
>> by this email.
>>
>> www.wipro.com
>>
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Calling-External-WS-in-a-component-tf3993170s12049.html#a11342165
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to