camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miri eyni <miri.e...@sapiens.com>
Subject Re: rest to soap
Date Mon, 16 May 2016 10:49:08 GMT
thanks, i fixed the url

but now i got status code :500 

i check the server.log 

and its look like the request is a rest request instead of soap.request


Content-Type: application/soap+xml
Headers: {alis-datasource-key=[1],
breadcrumbId=[ID-HLLT-PC0A4F7B-53348-1463390080537-0-2],
Content-Length=[686], content-type=[application/soap+xml],
Host=[localhost:8888], User-Agent=[Jakarta Commons-HttpClient/3.1]}
Payload: <?xml version='1.0'
encoding='UTF-8'?><org.apache.camel.component.bean.BeanInvocation><org.apache.camel.component.bean.MethodBean><name>findPolicy</name><type>com.camel.policy.PolicySOAPServices</type><parameterTypes><java-class>com.camel.policy.RequestPolicyView</java-class></parameterTypes></org.apache.camel.component.bean.MethodBean><object-array><com.camel.policy.RequestPolicyView><policyNo>1079</policyNo></com.sapiens.alis.foundation.external.model.entities.dto.policy.RequestPolicyView></object-array></org.apache.camel.component.bean.BeanInvocation>
--------------------------------------
[2016-05-16 12:14:49.114],[WARN ],[LogUtils.java:452],[],Interceptor for
{http://policy.camel.com/}PolicyGenericServicesImplService has thrown
exception, unwinding now
org.apache.cxf.interceptor.Fault: HTTP verb was not GET or POST

Do you know what is wrong ?



--
View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782661.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message