I figured it out. For some reason, localhost doesn't seem to work for me. I use the real hostname, and it works. I don't understand why this is so since I used a 0.0.0.0 address in my http SU, but I guess this will do.
Benamin wrote: > > Chandra, > > I tried using your files that you uploaded, and everything compiles and I > can deploy your packages. The problem goes when I try to post something > to that URL (http://localhost:8192/chandra). I get a 404 error. Do you > know what could be the problem, or can you explain how you did this? > > thanks > > > chandra shekher gupta wrote: >> >> Thanks everybody , The steps explained in this series , is very helpfull >> and i followed that step by step and finally got it working...in Forum >> Some new bie complains that there is no source code that they can run it >> directly..that is why i have uploaded the code in zip eval.smx.zip. >> >> Thanks to evreybody... >> Chandra >> Infoaxon Technology >> India. >> >> >> >> bsnyder wrote: >>> >>> On 5/9/07, chandra shekher gupta <[EMAIL PROTECTED]> wrote: >>>> >>>> well I am trying t make one POC in servicemix. let us say ( servicemix >>>> http) >>>> >>>> >>>> I am making one POC and it should achieve following thing. >>>> >>>> Http Web Browser client will send post/get to a component and that >>>> should >>>> read the message and should return with "acceptance " to the client. >>>> that >>>> is it. >>> >>> If that's the use case you're trying to address, then you do not need >>> to create a JBI binding component. You will need to create a consumer >>> SU based on the servicemix-http component that is wrapped in a SA and >>> deployed to ServiceMix. >>> >>> The HTTP consumer SU will need to forward any SOAP requests to some >>> other service that will handle the request and generate a response. So >>> the flow would look like this: >>> >>> web browser -> consumer-http-su -> <some service> -> consumer-http-su >>> -> web browser >>> >>> This is described in the FAQ entry, 'What is a JBI SU and how do I >>> create one?' here: >>> >>> http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html >>> >>> Notice in the diagram on that page that the servicemix-http consumer >>> SU passes messages to an Internal Service. This is what will handle >>> the request and generate a response and the thing that you need to >>> create and make available in the JBI container so that the >>> consumer-http-su can send messages to it. There are examples of this >>> in ServiceMix. The bridge example might be a good place to start: >>> >>> http://incubator.apache.org/servicemix/creating-a-protocol-bridge.html >>> >>> Once the consumer-http-su is completed, it will need to be wrapped in >>> a SA as described here: >>> >>> http://incubator.apache.org/servicemix/what-is-a-jbi-sa-and-how-do-i-create-one.html >>> >>> Bruce >>> -- >>> perl -e 'print >>> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" >>> );' >>> >>> Apache Geronimo - http://geronimo.apache.org/ >>> Apache ActiveMQ - http://activemq.org/ >>> Apache ServiceMix - http://servicemix.org/ >>> Castor - http://castor.org/ >>> >>> >> http://www.nabble.com/file/8401/eval-smx.zip eval-smx.zip >> > > -- View this message in context: http://www.nabble.com/Hello-World-Example-Help-tf3541687s12049.html#a10616041 Sent from the ServiceMix - User mailing list archive at Nabble.com.
