Re: "serviceClass must be specified" error in ServiceMix

2013-12-17 Thread madusanka
still the issue is there? I also want to proxy a RESTful service developed in CXF. Can I use or should I have to use jetty? -- View this message in context: http://camel.465427.n5.nabble.com/serviceClass-must-be-specified-error-in-ServiceMix-tp5744904p5744925.html Sent from the Camel - Users m

Re: "serviceClass must be specified" error in ServiceMix

2013-12-16 Thread madusanka
My configuration http://localhost:9090/cxf-proxy"; endpointName="tns:HelloServicePort" serviceName="tns:HelloService" wsdlURL="etc/HelloService.wsdl" xmlns:tns="http://www.example.org/HelloService"/> http://camel.ap

"serviceClass must be specified" error in ServiceMix

2013-12-16 Thread madusanka
Hi, I'm trying to proxy a web service using the in ServiceMix 4.5.2. I have specified the WSDL url. Even then the "serviceClass must be specified" error comes. -- View this message in context: http://camel.465427.n5.nabble.com/serviceClass-must-be-specified-error-in-ServiceMix-tp5744904.html

Jetty vs Http components

2013-12-16 Thread madusanka
Hi, what is the difference between jetty and http components. Which is more suitable to proxy an Axis2 web service? -- View this message in context: http://camel.465427.n5.nabble.com/Jetty-vs-Http-components-tp5744899.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Content Based Routing with Camel

2013-12-09 Thread madusanka
I have to detect what type they are first and then route to the appropriate service provider. I was wondering if JSONPath is supported in early versions of Camel ? -- View this message in context: http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495p5744508.html Sent fro

Content Based Routing with Camel

2013-12-09 Thread madusanka
Hi, I know that JSONPath component will be available as of camel 2.13. Is there a way to perform CBR for JSON payload in other versions of Apache Camel? -- View this message in context: http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495.html Sent from the Camel - User

Re: Message Transformation for JSON

2013-12-08 Thread madusanka
Hi, source and target data formats are also JSON -- View this message in context: http://camel.465427.n5.nabble.com/Message-Transformation-for-JSON-tp5744433p5744490.html Sent from the Camel - Users mailing list archive at Nabble.com.

Message Transformation for JSON

2013-12-08 Thread madusanka
Hi, We can transform the XML format using XSLT. Likewise is there a way to transform JSON format? -- View this message in context: http://camel.465427.n5.nabble.com/Message-Transformation-for-JSON-tp5744433.html Sent from the Camel - Users mailing list archive at Nabble.com.

XSLT transformation for both request & reply

2013-12-05 Thread madusanka
Hi, Is there a way I can use two different xslt files for the request & reply? One xslt transformation for the request & another xslt transformation for the reply. If so what is the spring configuration? -- View this message in context: http://camel.465427.n5.nabble.com/XSLT-transformation-for

Re: javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
the problem is with the encoding. It works properly when "UTF-8" is used -- View this message in context: http://camel.465427.n5.nabble.com/javax-xml-transform-TransformerException-tp5744321p5744325.html Sent from the Camel - Users mailing list archive at Nabble.com.

javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
| 100 - org.apache.camel.camel-core - 2.10.6 | Failed delivery for (MessageId: ID-madusanka-G31M-40283-1386172572659-4-2 on ExchangeId: ID-madusanka-G31M-40283-1386172572659-4-1). Exhausted after delivery attempt: 1 caught: javax.xml.transform.TransformerException: Invalid encoding name "ht

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
I was able to solve my problem. Thanks a lot !!! -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-XSLT-message-tranformation-tp5744263p5744317.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
Thanks a lot. It worked. Now i want to put the XSLT file in the classpath. Does "classpath" refer to the servicemix installation directory or the group id (ex - org.apache.camel) in the org.apache.camel.archetype generated camel project ? Because what I need is to put the xslt file in the camel pro

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
Hi, I changed the 2nd URI as you told. Now a FileNotFound exception is thrown. It says "Cannot find resource in classpath for URI: /home/madusanka/Desktop/example.xsl". The "example.xsl" file exists in my desktop. How to set the classpath in the URI? http://camel.apac

Error in XSLT message tranformation

2013-12-03 Thread madusanka
Hi, My requirement is to transform an XML array using XSLT. But it gives the "GenericFileOperationFailedException: Cannot store file: /home/madusanka/Desktop/example.xsl/hello.xml~". What could be the reason? ++

Re: Exposing a Remote Web Service written in Axis2

2013-11-18 Thread madusanka
Hi, Thanks a lot. it worked. Can I apply "Content Based Routing" rules if I use jetty for proxy ? -- View this message in context: http://camel.465427.n5.nabble.com/Exposing-a-Remote-Web-Service-written-in-Axis2-tp5743186p5743454.html Sent from the Camel - Users mailing list archive at Nabble.

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread madusanka
Hi, I have already added the jetty dependency in POM.xml. only the version is different since I'm using ServiceMix 4.5.2. org.apache.camel camel-jetty 2.10.5 -- View this message in context: http://camel.465427.n5.nabble.com/Exposing

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread madusanka
Hi, I used jetty as suggested. Following is the routing rule. But still an exception is thrown. It says it can't resolve the proxy uri. http://camel.apache.org/schema/spring";> http://localhost:8082/services/HelloService"/> http://localhost:8080/axis

Exposing a Remote Web Service written in Axis2

2013-11-13 Thread madusanka
I need to expose a web service using Camel. Scenario is like this. There are three computers. Service provider, ServiceMix and service consumer are deployed in these three computers (for development purposes all there are in the localhost). ServiceMix acts like a proxy here. I have already develop

Re: How to expose a remote Web Service

2013-11-13 Thread madusanka
Hi, Following is my camel-context.xml file. "HelloServiceEndpoint" is the actual remote web service implementation. "proxyEndpoint" is the front end accessed by clients. ++ http://www.springframework.org/schema/beans"; xmlns:xs

Re: How to expose a remote Web Service

2013-11-12 Thread madusanka
Hi, Thanks a lot!!!. I don't want to run Axis2 service in Camel. I have an existing web service someplace and I want to create a proxy in front of it. Following is my proxy configuration. For "proxyEndpoint" can I use any URL of my choice or is there a specific one? http://localhost:8080/Hel

Re: How to expose a remote Web Service

2013-11-12 Thread madusanka
Hi, So is there any way I can expose an Axis2 Web Service in Apache Camel ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-expose-a-remote-Web-Service-tp5743119p5743121.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to expose a remote Web Service

2013-11-12 Thread madusanka
Hi, I want to expose a remote web service in Camel using . But the remote web service is written in Axis2. Is this possible or if not, How can I expose a remote Axis2 web service in ServiceMix ?? Thank you !!! -- View this message in context: http://camel.465427.n5.nabble.com/How-to-expose

Re: Creating a Camel Project with customized POM

2013-09-20 Thread madusanka
Thanks!!! I'm sorry about posting the same question in multiple forums. I did so since it involved Camel, ServiceMix and Maven. Yes it worked. I added the "-DarchetypeVersion=2.10.5" argument to the maven command and it worked -- View this message in context: http://camel.465427.n5.nabble.co

Creating a Camel Project with customized POM

2013-09-20 Thread madusanka
Hi all, I created a camel project with "camel-archetype-spring" archetype to deploy in ServiceMix 4.4.2. But the versions of all the dependencies in POM are above that of ServiceMix. Example - ServiceMix camel-core version is 2.8.5 whereas the camel-core version in POM is 2.12.0. So I want to