camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Help with camel relaying HTTP msg between .Net web client and .Net service.
Date Tue, 03 Feb 2009 08:11:24 GMT
Hi

As I read your post. You want Camel to expose a web service that you
can call from a .Net client?

What you need then is a webservice stack to use? Such as Apache CXF.

You can see part 5 of this lengthy tutorial as it an example of
exposing a webservice with CXF from Camel
http://camel.apache.org/tutorial-example-reportincident.html

And you can read from part 1, if you need to get CXF and .wsdl files
setup and all that.

And the camel-cxf component is documented here.
http://camel.apache.org/cxf.html

And we also have a tutorial on using Apache Axis with Camel
http://camel.apache.org/tutorial-axis-camel.html



On Mon, Feb 2, 2009 at 5:26 PM, aliasrob <aliasrobM@gmail.com> wrote:
>
> Hello, we are using a .NET client to communicate over http: with a .NET web
> service.  We are attempting to send a message directly to Camel
> (http://activemq.apache.org/camel/) from the .NET client, and then have
> camel relay that message to the service.  Then the service will then reply
> back to Camel and Camel should send that reply message back to the client.
> We wish to do all this over HTTP without adding any of these messages to a
> JMS queue.
> So the process would look something like this
>
> Message sent out
> {Client Machine} --Http Message out --> {Camel Machine} -- Http Message out
> --> {Service Machine}
>
> Message returned
> {Client Machine} <-- Http Message retuned --< {Camel Machine} <-- Http
> Message retuned <-- {Service Machine}
>
>
> Our main problem right now is how to configure the endpoints and which files
> need hold the information. In other words, what HTTP endpoint address does
> the client side send a message to in order to reach Camel? (How do we expose
> Camel as an HTTP endpoint that is reachable by the client?)  Also, how do we
> then forward that message from Camel to our .NET service over HTTP? Are
> there any settings in .wsdl we and web.config files which we need to pay
> particular attention to? Any help on how resolve this issue would be greatly
> appreciated. Please provide an example of any xml settings etc.
>
> Thanks
> Rob
>
> --
> View this message in context: http://www.nabble.com/Help-with-camel-relaying-HTTP-msg--between-.Net-web-client-and-.Net-service.-tp21792780s22882p21792780.html
> Sent from the Camel - Development mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Mime
View raw message