Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-11-03 Thread Claus Ibsen
On Thu, Nov 3, 2011 at 1:50 PM, Gnanaguru S
 wrote:
>
> Hi Claus,
>
> Do we have Fuse IDE based example somewhere. Since using camel through fuse
> ide might be better.
>

There will possible be an example and documentation in the future.


> Else can you suggest any way to do WSDl based example using Fuse IDE.
>

Do you create the WSDL by hand? Or do you already have an existing WSDL?
Eclipse have WS* plugins to help create WSDL and web services etc.

When you have the WSDL, then you may add that CXF plugin in the pom.xml file.
If you want to generate source code from the WSDL, in case you want to
use the POJO data format with CXF.

There is a webinar series at FuseSource which demonstrates using
WebServices. You may check it out.


>
> Regards
> Guru
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Contract-first-approach-using-WSDL-to-create-a-WS-using-cxf-and-route-using-camel-tp4951686p4960963.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/


Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-11-03 Thread Gnanaguru S

Hi Claus,

Do we have Fuse IDE based example somewhere. Since using camel through fuse
ide might be better. 

Else can you suggest any way to do WSDl based example using Fuse IDE.


Regards
Guru

--
View this message in context: 
http://camel.465427.n5.nabble.com/Contract-first-approach-using-WSDL-to-create-a-WS-using-cxf-and-route-using-camel-tp4951686p4960963.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread smehta34
Hi,

Thanks for reply.

I tried that example before and it was build successfully but when I put
that zip file in the Webapp folder of Tomcat and deployed it and after
giving address in the browser
"http://localhost:8080/camel-example-cxf-tomcat-2.5.0/webservices/incident?wsdl";
it was showing this message "The requested resource
(/camel-example-cxf-tomcat-2.5.0/webservices/incident) is not available". 

When I tried CamelinAction book's example "War" of chapter 13 then it got
successfully deployed. But same thing happened to "War-servlet" example, it
was not successfully deployed in Tomcat.

I am not able to resolve the problem.

Please help me out.

Regards,
Sachin



--
View this message in context: 
http://camel.465427.n5.nabble.com/Contract-first-approach-using-WSDL-to-create-a-WS-using-cxf-and-route-using-camel-tp4951686p4952013.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread Claus Ibsen
Hi

Check the CXF Tomcat example
http://camel.apache.org/cxf-tomcat-example.html

On Mon, Oct 31, 2011 at 8:26 AM, smehta34  wrote:
> Hi,
>
> I want to create a WS using contract first approach. I have WSDL with me. I
> want a WS which when invokes send some data to an XML file using Camel.
>
> I want to deploy it in Tomcat Server.
>
> I am new to Camel. Please help out.
>
> Regards,
> Sachin Mehta
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Contract-first-approach-using-WSDL-to-create-a-WS-using-cxf-and-route-using-camel-tp4951686p4951686.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/


Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread smehta34
Hi,

I want to create a WS using contract first approach. I have WSDL with me. I
want a WS which when invokes send some data to an XML file using Camel.

I want to deploy it in Tomcat Server. 

I am new to Camel. Please help out.

Regards,
Sachin Mehta

--
View this message in context: 
http://camel.465427.n5.nabble.com/Contract-first-approach-using-WSDL-to-create-a-WS-using-cxf-and-route-using-camel-tp4951686p4951686.html
Sent from the Camel - Users mailing list archive at Nabble.com.