I tested with failover code .
However notice that only the service defined in from tag i.e
http://localhost:9000/order?wsdl is available .
Please guide me with a simple code fragment referring to my earlier code
snippet shared(route,WSDL).
I am stuck in fail over clustering.
Appreciate your
Thanks a lot for the clarification,will check and let you know in case if any
issues.
How ever ,currently I am running the service in IDE, and if kill port 9000 ,
then none of the other service ports are available.
Is this the right way to test the failover?
Thanks
Sayed
--
View this message
Dear Experts,
I have some doubts and need clarification regarding LB and FO wrt
CXF-Service deployment ,badly need your help to clarify my doubts .
Scenario :Assuming that I setup 3 clusters and deployed the same CXF
service(just a sample default order.wsdl ) bundle in all the 3 clusters.
Hi,
Thanks for the response.
I am able to resolve the compilation issue with below code but unable to
test ,when I kill the process with 9000 expecting that 9001-2 should be up
and running which is not, please suggest .
route id=route
Hi,
I followed the instructions provided but unable to implement shows the
error:
[LoadBalanceType[ref:null... because of ref or loadBalancer must be
specified.
Please find below code snippet and correct me where I go wrong with this.
WSDL
--
wsdl:service name=OrderEndpointService
Hello,
Can any one please help in retaining the date value instead converting to
GMT?
Thanks,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/Date-format-issue-in-xstream-marshalling-tp5758860p5760697.html
Sent from the Camel - Users mailing list archive at
Hi,
I observed that while marshalling uisng XStream, the date field of an XML
tag gets changed to GMT(i.e,-5:30 hrs).
Could you please point to a quick solution to avoid this changes?
Before transformation.All...[{COPYRIGHTYEAR=2009-01-01
00:00:00.0}]
After
Guys,
This has been resolved following the below link.
http://camel.465427.n5.nabble.com/HTTP-Post-component-parameters-td4937377.html
Hope helps others as well,
Thanks,
Sayed
--
View this message in context:
Hello,
I need to call a REST service POST method with parameters from Another REST
service GET method using the partial response data as the input for the POST
method as described below, please share the working code sample:
For Example
http://localhost:8080/employee-- this REST service has a get
This can be done by changing the @PathParam to @FormParam and using
URLEncoded.
Hope this helps others.
Thanks,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-send-the-POST-parameters-value-for-REST-Service-tp5757760p5757944.html
Sent from the Camel -
One observation,
1)The second URI is appended with First URI Path
i.e, http://locahost:8090/dept/employee
2)How to avoid this and put other parameters like method
,encoding,formParam.
I use the below code still doesnt work
.setHeader(CamelHttpMethod,constant(POST))
Hello,
The first issue of URL is resolved using
.setHeader(CamelHttpPath,simple(/dept))
But the POST service call gives ArrayIndexOutofBound Exception with no clue
, so stops calling second service
.setHeader(CamelHttpMethod,constant(POST))
Thanks for the response.
My question am not able to get the id param value in the SQL query throws
error as invalid SQL query as the :id is not replaced with the value.
Best regards,
Sayed
--
View this message in context:
Hello,
Following the sample code below works perfectly fine for REST GET method,
But the POST method always inserts the null record,
Can any one please suggest me in case of any change required.
Route Builder:
public void configure() throws Exception {
Hello,
Thanks a lot for the response.Will try and let you know.
please share a sample code snippet.
However the same code works for me at server side for CXF-SOAP so why not
for CXF-REST ?
Regards,
Sayed
--
View this message in context:
Hello,
Sorry I was referring to the Java Interceptor code above mentioned which
works fine for CXF SOAP.
Cann't we make it for CXF-REST?
Thanks,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5756392.html
Sent from the Camel -
Hello,
Pls find below my query of CXF-RS with Basic authentication:
public void configure() throws Exception {
System.out.println(inside route);
MapString, Object properties = new HashMapString, Object();
AuthorizationPolicy authPolicy = new
Hello,
I tried the below code and able to print the id, but not able to get the
required query.
Please correct the code:
when
simple${header.operationName} == 'getCompany'/simple
setHeader headerName='id'
simple$simple{body}/simple
/setHeader
log
Hello Experts,
Pls share me the CXF-REST code reference to use the above Java
Authentication:
Not getting an idea how to include this BasicAuthAuthorizationInterceptor in
REST end point either in Spring or Java DSL:
Spring End point:
from
Hello,
I am a newbie in Camel and need of some basic authentication for CXF SOAP
and REST service.
Added the shared code in route builder , but not getting authentication
being cheked when accessing.
Please share the complete code base .
Thanks and Regards,
Sayed
--
View this message in
Hello,
I tried with the code shared ,seems working fine at server end for CXF-SOAP
as tested through SOAPUI tool.
Please share the code for CXF REST Service.
However I need a Java client to call the service.
Tried many options but gives me errors.
Please send me a sample Java main client to
21 matches
Mail list logo