Re: camel-spring-ws: Invalid attribute "Content-Type" in SOAP-ENV:Header element

2021-03-12 Thread Claus Ibsen
sult is the same in both. > > > > Can you give some references where I can look for filter examples? > > > > I tried to look into camel sources but I'm new to java and I'm yet to > > figure out the piece of code which is generating soap envelope messages. >

Re: camel-spring-ws: Invalid attribute "Content-Type" in SOAP-ENV:Header element

2021-03-12 Thread Harsh Karn
5.0. > The result is the same in both. > > Can you give some references where I can look for filter examples? > > I tried to look into camel sources but I'm new to java and I'm yet to > figure out the piece of code which is generating soap envelope messages. > > *Thanks* > *Harsh* >

Re: camel-spring-ws: Invalid attribute "Content-Type" in SOAP-ENV:Header element

2021-03-08 Thread Harsh Karn
which is generating soap envelope messages. *Thanks* *Harsh*

Re: camel-spring-ws: Invalid attribute "Content-Type" in SOAP-ENV:Header element

2021-03-08 Thread Claus Ibsen
Hi Ah which Camel version do you use? And it may be that there is a bug in camel-spring-ws where such header gets mapped to SOAP-ENV header. You are welcome to dive into the source code and try to find out. There are some filtering that "filter" which headers that gets to SOAP ENV and

camel-spring-ws: Invalid attribute "Content-Type" in SOAP-ENV:Header element

2021-03-08 Thread Harsh Karn
Hi, I'm getting invalid attribute "Content-Type" in SOAP-ENV:Header element. I'm trying camel-spring-ws example. I'm running camel example https://github.com/apache/camel-examples/tree/master/examples/spring-ws. SOAP Request - http://schemas.xmlsoap.org/soap/en

Re: How to Add SOAP header to XML Web service

2021-03-02 Thread Babak Vahdat
> wrote: > > Hi, > I have a soap xml web service deployed on my environment and i want to use > camel to intercept the requests made to this web service and add a soap > header. is that possible in camel? > > Thanks > > > Ahmad

How to Add SOAP header to XML Web service

2021-03-02 Thread Ahmad Abushosheh | ICSFS
Hi, I have a soap xml web service deployed on my environment and i want to use camel to intercept the requests made to this web service and add a soap header. is that possible in camel? Thanks Ahmad Abu Shosheh | Senior Technical Consultant [cid:image002.png@01D70F45.E6236B80

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-29 Thread Shenavai, Manuel
To: users@camel.apache.org Subject: [CAUTION] RE: Camel CXF with SOAP 1.1 and SOAP 1.2 Hi everyone, I further looked into the problem and found that the issue mentioned (error.txt) is probably caused by the SAAJOutInterceptor. I found in SAAJOutInterceptor:L123 there will be a MessageFactory

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-28 Thread William Juwono
; > camel-http > > ${camel-version} > > > > > > org.apache.camel > > camel-soap > > ${camel-version} > > > > > > org.apache.camel > > camel-cxf > > ${camel-version} > > > > I have tried

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-28 Thread Shultz, Dmitry
You need to let Spring know about your bean, do Camel can find it. Now you are self instantiating it and not registering anywhere. From: Peter Turányi Sent: 27 October 2020 08:20 To: users@camel.apache.org Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-28 Thread Peter Turányi
Thank you I have got dependencies org.apache.camel camel-http ${camel-version} org.apache.camel camel-soap ${camel-version} org.apache.camel camel-cxf ${camel-version} I have tried add cxf-rt-transports-http-jetty but I have not luck. Exception remains. (version

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-26 Thread Shultz, Dmitry
seems like you are missing org.apache.cxf cxf-rt-transports-http-jetty ${cxf.version} From: Peter Turányi [mailto:peter.tura...@pobox.sk] Sent: Monday, October 26, 2020 3:23 AM To: users@camel.apache.org Subject: Re: Camel CXF with SOAP 1.1 and SOAP 1.2 Thank

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-26 Thread Peter Turányi
iceConstructionException Caused by: org.apache.cxf.service.factory.ServiceConstructionException: null Caused by: java.io.IOException: Could not find destination factory for transport http://schemas.xmlsoap.org/soap/http  Thank you for help in advance   __

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-25 Thread Shenavai, Manuel
regards, Manuel From: Shenavai, Manuel Sent: Donnerstag, 22. Oktober 2020 10:09 To: users@camel.apache.org Subject: [CAUTION] Camel CXF with SOAP 1.1 and SOAP 1.2 Hi everyone, I have a question regarding the camel CXF component. I setup a cxfEndpoint using a SOAP 1.2 WSDL, endpoint &

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-23 Thread Shultz, Dmitry
nt exchange object into an operation invocation on a remote Web service. camel.apache.org From: Peter Turányi Sent: 22 October 2020 22:08 To: users@camel.apache.org Subject: Re: Camel CXF with SOAP 1.1 and SOAP 1.2 Excuse me. I am newbee in this area. I don'

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
s url parameter as it clearly asks) should help.     From: Peter Turányi [mailto:[hidden email] ] Sent: Thursday, October 22, 2020 6:33 AM To: [hidden email] Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2   I am sorry but I didn't found any useful code there.   My project contains standard

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Shultz, Dmitry
Reading the error message (and specifying serviceClass url parameter as it clearly asks) should help. From: Peter Turányi [mailto:peter.tura...@pobox.sk] Sent: Thursday, October 22, 2020 6:33 AM To: users@camel.apache.org Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2 I am sorry but I

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
ura...@pobox.sk" Dátum: 22.10.2020 15:06 Predmet: RE: Camel CXF with SOAP 1.1 and SOAP 1.2 Hi Peter,   my code looks similar to whats provided in the docs: https://camel.apache.org/components/latest/cxf-component.html <https://camel.apache.org/components/latest/cxf-component.html&g

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
Dátum: 22.10.2020 10:27 > Predmet: Camel CXF with SOAP 1.1 and SOAP 1.2 > Hi everyone,   I have a question regarding the camel CXF component. I setup a cxfEndpoint using a SOAP 1.2 WSDL, endpoint & port. This allows to call the endpoint with SOAP 1.2. But when I call the endpoint with SO

Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Shenavai, Manuel
Hi everyone, I have a question regarding the camel CXF component. I setup a cxfEndpoint using a SOAP 1.2 WSDL, endpoint & port. This allows to call the endpoint with SOAP 1.2. But when I call the endpoint with SOAP 1.1 messages, I got different results. In CamelBlueprintTestSupport this w

Apache Camel Fuse soap CXF proxy service marshal jacksonXML output

2020-10-05 Thread Peter Turányi
<https://stackoverflow.com/posts/64181884/timeline>    I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. Here is main part of proxy service wsdl. http://schemas.xmlsoap.org/wsdl/"; xmlns:xs="http://www.w3.org/2001/XMLSchema&qu

Re: Apache Camel Fuse soap proxy service CXF input type

2020-10-05 Thread Peter Turányi
ache.org > Dátum: 30.09.2020 14:13 > Predmet: Apache Camel Fuse soap proxy service CXF input type > I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. I have defined start of route uri="cxf:bean:countryInfoProxyServiceClient?dataFormat=RAW"

Apache Camel Fuse soap proxy service CXF input type

2020-09-30 Thread Peter Turányi
I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. I have defined start of route uri="cxf:bean:countryInfoProxyServiceClient?dataFormat=RAW"/> because PAYLOAD and CXF-MESSAGE data formats cause exception Message part {http://www.demo.co

Apache Camel Fuse soap proxy service CXF input type

2020-09-30 Thread Peter Turányi
I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. I have defined start of route uri="cxf:bean:countryInfoProxyServiceClient?dataFormat=RAW"/> because PAYLOAD and CXF-MESSAGE data formats cause exception Message part {http://www.demo.co

Catch soap fault for cxf web service

2020-02-14 Thread Jessie Ding
Hi I am using camel cxf component to publish and call other soap web services. I am looking for method on how to catch soap fault messages with cxf? If someone could provide some examples, that would be great! Thanks Jessie Ding

Re: CXF soap call complains of missing portType?

2019-11-15 Thread John F. Berry
Other people in my shop have complained that something's just not right with this WSDL  I thought I'd upload it to an online checker to verify complaince... It mostly checks out (besides all the snake case).. but it also reported that this is a SOAP 1.1 WDSL.. I think that&#x

CXF soap call complains of missing portType?

2019-11-14 Thread John F. Berry
services in the wsdl that cannot be unwrapped.  There's hundreds of services in this wsdl. I've seen many unanswered threads in a websearch, so perhaps the right question is not being asked.I am using cxf to producw a SOAP request from a vendor provided wsdl.. what could I be mi

Re: Java DSL cxf SOAP call (client)..

2019-11-05 Thread John F. Berry
all the classes in let's say com.somecompany.model package. Then the route looks like this: SoapJaxbDataFormat soap = new SoapJaxbDataFormat(com.somecompany.model. ServicePort.class.getPackage().getName(), new ServiceInterfaceStrategy(ServicePort.class, true)); from("direct:se

RE: Java DSL cxf SOAP call (client)..

2019-11-04 Thread Shultz, Dmitry
Hey John, I'm using org.apache.cxf:cxf-codegen-plugin in pom.xml, it builds all the classes in let's say com.somecompany.model package. Then the route looks like this: SoapJaxbDataFormat soap = new SoapJaxbDataFormat(com.somecompany.model. ServicePort.class.getPackage().getN

Java DSL cxf SOAP call (client)..

2019-11-04 Thread John F. Berry
s a base64 encoded pdf to a filesystem and updates MS SQL with the properties of that action..  Now we are changing systems and the base64 encoded pdf will remain encoded, but marshalled with some data properties placed into XML for a SOAP call.  I have the vendor's WDSL and have defined that in

RE: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-11 Thread Isaiah Inuwa
help! Isaiah Inuwa Database Application Administrator  |  ITS (312) 329-8081 -Original Message- From: Willem Jiang Sent: Thursday, January 10, 2019 8:59 AM To: users@camel.apache.org Subject: Re: Help Accessing Remote SOAP Service with Authentication via CXF Hi the wssec.xml and client clas

Re: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-10 Thread Willem Jiang
--- > From: Willem Jiang > Sent: Tuesday, January 8, 2019 8:15 PM > To: users@camel.apache.org > Subject: Re: Help Accessing Remote SOAP Service with Authentication via CXF > > Hi, > > I think you may need find the right moment to setup the CXFEndpoint. > It could be meaningl

RE: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-09 Thread Isaiah Inuwa
[2] https://github.com/apache/camel/blob/master/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/wssecurity/client/Client.java Isaiah Inuwa -Original Message- From: Willem Jiang Sent: Tuesday, January 8, 2019 8:15 PM To: users@camel.apache.org Subject: Re: Help Accessing Remote SO

Re: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-08 Thread Willem Jiang
to synchronize contact information between our local system and a > third-party service using SOAP. Here is the basic flow: > > - Read JSON objects from RabbitMQ > - Convert Objects to JAXB Objects required for third-party service > - POST objects to SOAP service > > I am able to r

Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-08 Thread Isaiah Inuwa
besides this, but I'll start here.) My task is to synchronize contact information between our local system and a third-party service using SOAP. Here is the basic flow: - Read JSON objects from RabbitMQ - Convert Objects to JAXB Objects required for third-party service - POST objects to SOAP servi

strange error handling in Camel CXF (SOAP) for HTTP 500

2018-12-14 Thread Kessler, Joerg
is another camel route using http consumer) to return the response code http 500 and an XML payload which is not a SOAP Fault. The CXF consumer endpoint that started the route delivers this response payload and http 200 as return code. I checked Basic Profile Version 1.0 and they only write for

Re: could not display ${out.body} at Log for external soap service provider

2018-12-05 Thread Claus Ibsen
Hi Just use ${body} Also mind about logging streaming data, you may only be able to read it once. See this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Wed, Nov 21, 2018 at 1:49 PM Wang Yan wrote: > > i already got reply from to uri which is mock soap service (externa

could not display ${out.body} at Log for external soap service provider

2018-11-21 Thread Wang Yan
i already got reply from to uri which is mock soap service (external soap provider) but why i could not see it in log with ${out.body} i think soap is InOut exchangepattern, it should have out.body always my code example looks like below Any hints are more than welcome! http://{{soap.ip

Re: how to throw soap fault from otherwise clause? if no expected operationname found

2018-11-19 Thread Wang Yan
i simple put .throwException(new Exception("error happened")), then looks like camel route convert exception to soapfault automatically. i even did not handlefault on route. On Thu, Nov 15, 2018 at 9:28 PM Wang Yan wrote: > Hello all, > > how to throw soap fault from othe

how to throw soap fault from otherwise clause? if no expected operationname found

2018-11-15 Thread Wang Yan
Hello all, how to throw soap fault from otherwise clause? if no expected operationname found. any suggestions? from(SOAP_ENDPOINT_OUT_URI ) .choice() .when(simple("${in.headers.operationName} == 'getcity'")) .to(SOAP_ENDPOINT_MOCK_CITY) .when(simple("${in.headers.oper

Re: soap inboud does not get soap outbound 's response

2018-11-01 Thread Willem Jiang
Twitter: willemjiang Weibo: 姜宁willem On Thu, Oct 25, 2018 at 11:14 PM Wang Yan wrote: > > I have two routes in camel, route1 will send soap request to route2 > What I am expecting route1 will get reponse from route2 > But Altough route2 can send response (i see it in log ), but route1

Re: camel soap endpoint only WSDL but without serviceClass, is it possible?

2018-11-01 Thread Willem Jiang
/resources/org/apache/camel/component/cxf/GreeterEndpointCxfMessageWithoutSEIBeans.xml Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Mon, Oct 22, 2018 at 10:00 PM Wang Yan wrote: > > camel soap endpoint only using wsdl , not using serviceClass , is it > possbile? > > priva

Re: how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-27 Thread Willem Jiang
MESSAGE").removeHeaders("CamelHttp*") > > > > > > I can get operationName by ${in.headers.operationName} > > > but I could not get operationName when useing > > > dataFormat=MESSAGE > > > > > > from(SOAP_ENDPOINT_IN_URI + "&

Fwd: how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-26 Thread Wang Yan
ame} > > but I could not get operationName when useing > > dataFormat=MESSAGE > > > > from(SOAP_ENDPOINT_IN_URI + "&dataFormat=MESSAGE"). > > > > any idea or suggestion ? > > > -- > If you reply to this email

Re: how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-26 Thread Willem Jiang
Hi, When you use MESSAGE dataformat, camel-cxf component doesn't read the message, so it makes sense that you cannot operationName header. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Oct 26, 2018 at 4:07 PM Wang Yan wrote: > > when i use > from(SOAP_ENDPOINT_IN_URI + > "&dataForm

how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-26 Thread Wang Yan
when i use from(SOAP_ENDPOINT_IN_URI + "&dataFormat=CXF_MESSAGE").removeHeaders("CamelHttp*") I can get operationName by ${in.headers.operationName} but I could not get operationName when useing dataFormat=MESSAGE from(SOAP_ENDPOINT_IN_URI + "&dataFormat=MESSAGE"). any idea or suggestion ?

soap inboud does not get soap outbound 's response

2018-10-25 Thread Wang Yan
I have two routes in camel, route1 will send soap request to route2 What I am expecting route1 will get reponse from route2 But Altough route2 can send response (i see it in log ), but route1 could not get it. Any idea ? how to let route1 get response from route2? route1 // SOAP_InBound

camel soap endpoint only WSDL but without serviceClass, is it possible?

2018-10-22 Thread Wang Yan
camel soap endpoint only using wsdl , not using serviceClass , is it possbile? private static final String SOAP_ENDPOINT_URI = "cxf:// http://0.0.0.0:9009/create?serviceClass=com.xyz.CreateService";; I tried like below, but it does not work, it looks like the endpoint really

Re: camel K and soap

2018-10-18 Thread Nicola Ferraro
ot understand everything. Let's say I need a camel > route using a soap endpoint based on a wsdl (contract-first wsdl2java). Is > this possible using Camel K? If so, where do you "store" the wsdl? And what > if you want to create a java mapping based (bean) on that wsdl (jaxb),

camel K and soap

2018-10-18 Thread Raymond de Hond
Hi, I just read the "intro to camel K" by Nicola Ferraro. Very interesting :-) But as a newbie I do not understand everything. Let's say I need a camel route using a soap endpoint based on a wsdl (contract-first wsdl2java). Is this possible using Camel K? If so, where do you "

Re: how to transform soap jaxb/pojo playload to file in apache camel

2018-09-17 Thread Claus Ibsen
, 2018 at 2:03 PM Wang Yan wrote: > > I try to save soap request (jaxb payload) to file as xml payload in apache > camel via below code, but it failed. anyone know how to do it? Any hints > will be more than welcome! > > public class CamelRouteBuilder extends RouteBuilder { >

how to transform soap jaxb/pojo playload to file in apache camel

2018-09-15 Thread Wang Yan
I try to save soap request (jaxb payload) to file as xml payload in apache camel via below code, but it failed. anyone know how to do it? Any hints will be more than welcome! public class CamelRouteBuilder extends RouteBuilder { private static final String SOAP_ENDPOINT_URI = "cxf:/

RE: SOAP request causing null namespace URI in SimpleNsStreamWriter camel-cxf/woodstox

2018-08-27 Thread Fritz , Jürgen
: users@camel.apache.org Subject: Re: SOAP request causing null namespace URI in SimpleNsStreamWriter camel-cxf/woodstox Hi What older version of Camel and camel-cxf were you using that worked? You are also welcome to log a JIRA about this NPE. From the debugger if you change that nsUrl from null

Re: SOAP request causing null namespace URI in SimpleNsStreamWriter camel-cxf/woodstox

2018-08-27 Thread Claus Ibsen
Hi What older version of Camel and camel-cxf were you using that worked? You are also welcome to log a JIRA about this NPE. >From the debugger if you change that nsUrl from null, to that SOAP namespace, does it work then? And what if you change the nsUrl to be an empty string? On Mon, Aug

SOAP request causing null namespace URI in SimpleNsStreamWriter camel-cxf/woodstox

2018-08-27 Thread Fritz , Jürgen
Getting NullPointer at com.ctc.wstx.sw.SimpleNsStreamWriter.writeNamespace(SimpleNsStreamWriter.java:134), Because parameter nsURI is null. (full stack trace below) First call of this method prefix="soapenv", nsURI=null Second call: prefix="soap", nsURI=="http://schemas.

Re: Error with consuming and exposing soap service with camel and sprint-boot

2018-06-13 Thread Jeisson Fabian Perez Rodriguez
Hello, Any suggestion about it? please? Thank you. > On Jun 12, 2018, at 6:07 PM, Jeisson Fabian Perez Rodriguez > wrote: > > Hello, > > Im trying to consume a SOAP WS and exposing it as soap too, using xml camel > context file, so I defined the “cxf:cxfEndpoint” th

Error with consuming and exposing soap service with camel and sprint-boot

2018-06-12 Thread Jeisson Fabian Perez Rodriguez
Hello, Im trying to consume a SOAP WS and exposing it as soap too, using xml camel context file, so I defined the “cxf:cxfEndpoint” that would be the front end service exposed, and defined into the “camelcontext” tag an endpoint “callRealWebService” that contains the url of the SOAP WS

Re: extracting data from large xml of SOAP services in processor class

2017-05-29 Thread Trilok Agarwal
You can use xquery expression to get the desired element. On May 30, 2017 12:08 AM, "anjanaintergration" <2340pa...@gmail.com> wrote: > > Hi , > > We have a SOAP service that sends huge data 4 gb. We need to route this > response to another SOAP service. However t

Re: extracting data from large xml of SOAP services in processor class

2017-05-29 Thread arno noordover
In the past I generated java-classes based on a wsdl containing DataHandlers. If you are able to generate a java-class like this you could render the soap-message to a java-object without a large memory consumption. You need to enable MTOM on the endpoint. Maybe this can help you. -- View this

extracting data from large xml of SOAP services in processor class

2017-05-29 Thread anjanaintergration
Hi , We have a SOAP service that sends huge data 4 gb. We need to route this response to another SOAP service. However there is an element in SOAP:BODY which we need to extract and set as SOAP header in outgoing service. I understand converting to JAXB is not optimal since huge data

Simple SOAP Webservice

2017-05-23 Thread MDF
Hello, I am new to Camel. I have to work in a project which uses Camel 2.18.3 and cxf 3.1.10 on Tomcat 8.5. I need to implement a Soap Webservice which is not used within Camel Routing (it implements a simple synchronous method call). For testing I have tried this very simple example package

Re: Active MQ; Put Soap Request in Active MQ and get back SOAP response

2017-04-20 Thread Joseph Kampf
to the next step in the route. Joe On 4/18/17, 8:53 AM, "Ancil hameed" wrote: I working on JBoss Fuse, I want to put my SOAP request in Active MQ Queue. After putting SOAP request in Queue I want a response sent back to my SOAP request. Sample Code snippet: B

Active MQ; Put Soap Request in Active MQ and get back SOAP response

2017-04-18 Thread Ancil hameed
I working on JBoss Fuse, I want to put my SOAP request in Active MQ Queue. After putting SOAP request in Queue I want a response sent back to my SOAP request. Sample Code snippet: Below is my camel context, i have replace < > with ( ) (cxf:cxfEndpointaddress="http://localhost:818

Re: Calling a SOAP wenservice from Camel

2017-03-29 Thread Tomohisa Igarashi
wrote: Hi, I want to call a SOAP based webservice from Camel. But I have the SOAP message in String form which I will have to send to the service. Can anyone kindly suggest me how to achieve this in Camel? Regards, Anirban. -- View this message in context: http://camel.465427.n5.nabble.com/Call

Calling a SOAP wenservice from Camel

2017-03-29 Thread anirban.gupta4
Hi, I want to call a SOAP based webservice from Camel. But I have the SOAP message in String form which I will have to send to the service. Can anyone kindly suggest me how to achieve this in Camel? Regards, Anirban. -- View this message in context: http://camel.465427.n5.nabble.com/Calling

Calling a SOAP wenservice from Camel

2017-03-29 Thread anirban.gupta4
Hi, I want to call a SOAP based webservice from Camel. But I have the SOAP message in String form which I will have to send to the service. Can anyone kindly suggest me how to achieve this in Camel? Regards, Anirban. -- View this message in context: http://camel.465427.n5.nabble.com/Calling

Setting SOAP header.

2017-03-16 Thread Siddharth Patil
Hi, My soap request is as shown below : http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ws="http://ws.processing.dstawd.com/";> HUBUSER OSBLENDING WRESPONSE CREATED Created by HUB-First run 841906 ACCEPTANCE OSBLENDING ACCEPTANCE cid:source1 OSB

SOAP request structure.

2017-03-16 Thread Siddharth Patil
Hi, I have a SOAP web service. I am trying to make SOAP request from WSDL. Following is the structure that I am getting when I create the SOAP service using the WSDL. http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ws="http://ws.processing.dstawd.com/";> HUBUSER OS

RE: Getting soap:VersionMismatch on invoking a SOAP service using CXF

2017-01-06 Thread MadhuChitti
From: MadhuChitti [via Camel] [mailto:ml-node+s465427n579224...@n5.nabble.com] Sent: Friday, January 06, 2017 10:38 AM To: Madhu Chitti Subject: Re: Getting soap:VersionMismatch on invoking a SOAP service using CXF After changing dataFormat from MESSAGE to PAYLOAD, it is working fine

Re: Getting soap:VersionMismatch on invoking a SOAP service using CXF

2017-01-06 Thread MadhuChitti
After changing dataFormat from MESSAGE to PAYLOAD, it is working fine PAYLOAD*"/> -- View this message in context: http://camel.465427.n5.nabble.com/Getting-soap-VersionMismatch-on-invoking-a-SOAP-service-using-CXF-tp5792156p5792248.html Sent from the Camel - Users mailing list ar

Getting soap:VersionMismatch on invoking a SOAP service using CXF

2017-01-04 Thread MadhuChitti
*Camel Context:* http://camel.apache.org/schema/spring";> callService http://auth.org *Res

Re: CxfEndpoint soap client usernametoken authentication

2016-10-14 Thread catequil
/CxfEndpoint-soap-client-usernametoken-authentication-tp5787910p5788813.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CxfEndpoint soap client usernametoken authentication

2016-10-12 Thread dmitriyC300
sword"); } } -- View this message in context: http://camel.465427.n5.nabble.com/CxfEndpoint-soap-client-usernametoken-authentication-tp5787910p5788698.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CxfEndpoint soap client usernametoken authentication

2016-10-11 Thread catequil
Just was wondering if anyone had thought about a solution to this issue yet? -- View this message in context: http://camel.465427.n5.nabble.com/CxfEndpoint-soap-client-usernametoken-authentication-tp5787910p5788623.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: CxfEndpoint soap client usernametoken authentication

2016-09-22 Thread catequil
. There has to be an easier and better way than going through the whole process of creating an XML document from XML text and then adding it to the header. It just seems such a kluge. Any other thoughts on best practices for doing this type of camel route accessing soap calls? -- View this message

RE: CxfEndpoint soap client usernametoken authentication

2016-09-22 Thread Siano, Stephan
You probably should have a look at http://cxf.apache.org/docs/ws-security.html Best regards Stephan -Original Message- From: catequil [mailto:brat...@yahoo.com] Sent: Donnerstag, 22. September 2016 00:55 To: users@camel.apache.org Subject: CxfEndpoint soap client usernametoken

CxfEndpoint soap client usernametoken authentication

2016-09-21 Thread catequil
I am trying to access a soap service that requires that I athenticate with a usernametoken in the security header. Example desired outcome: I can get the soap envelope part right with body, but the header with security header alludes me. Does anyone have a best practices for doing this in

Re: Camel-cxf is removing square brackets in soap response

2016-08-24 Thread Claus Ibsen
Right now we are about to production and we can't upgrade to camel latest version. Below is on camel 2.12.0 but it is working on camel 2.15.1. Is there any work around to overcome on camel 2.12.0? We have observed that "[]" are getting removed from soap response. We have

Camel-cxf is removing square brackets in soap response

2016-08-23 Thread bharadwaj
Hi, We have observed that "[]" are getting removed from soap response. We have service, which calls external soap service and while external soap service returns response like test test[square] abcd we are getting out put as test testsquare abcd Please help... -- View this

Not able to consume HTTPS SOAP service using cxfEndpoint

2016-08-22 Thread niteshjain
ttyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:154) any suggestion what is wrong here Thank you, Nitesh -- View this message in context: http://camel.465427.n5.nabble.com/Not-able-to-consume-HTTPS-SOAP-service-using-cxfEndpoint-tp5786679.html Sent from the Camel - Users mailing list archive at Nabble.com.

Not able to consume HTTPS SOAP service using cxfEndpoint

2016-08-22 Thread niteshjain
ttyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:154) any suggestion what is wrong here Thank you, Nitesh -- View this message in context: http://camel.465427.n5.nabble.com/Not-able-to-consume-HTTPS-SOAP-service-using-cxfEndpoint-tp5786682.html Sent from the Camel - Users mailing list archive at Nabble.com.

Cxf component doesn't propagate SOAP faults

2016-07-11 Thread Alberto
Hello, I'using cxf component as producer to access a SOAP service. In case of soap faults I need to access the reason of the fault. I'm using PAYLOAD dataformat. I tried several options but SoapFault.class is never fired. I can find it in the ip packets using wireshark. The only excep

Re: SOAP 1.2 and cxf end point

2016-07-06 Thread yogu13
Hello, If using xml try specifying the version for soap binding or incase of annotations try specifying it as below @SOAPBinding(style = Style.DOCUMENT) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/SOAP-1-2-and-cxf-end-point-tp5771070p5784906.html Sent

Re: SOAP 1.2 and cxf end point

2016-07-06 Thread suneshkumar
Hi I am facing the same issue now, anybody else able to resolve this? Please share your experience it would be helpful Cheers Sunesh -- View this message in context: http://camel.465427.n5.nabble.com/SOAP-1-2-and-cxf-end-point-tp5771070p5784902.html Sent from the Camel - Users mailing list

RE: SOAP Envelope and headers are not added by CXF by default

2016-06-21 Thread Shultz, Dmitry
It worked, Thanks! -Original Message- From: Aki Yoshida [mailto:elak...@gmail.com] Sent: June-21-16 4:37 AM To: users@camel.apache.org Subject: Re: SOAP Envelope and headers are not added by CXF by default dataFormat=MESSAGE assumes the body content represents the entire soap message

Re: SOAP Envelope and headers are not added by CXF by default

2016-06-21 Thread Aki Yoshida
dataFormat=MESSAGE assumes the body content represents the entire soap message. If you are sending the plain payload to the endpoint, you have to use use dataFormat=PAYLOAD so that it will be wrapped in the soap envelope. 2016-06-21 2:52 GMT+02:00 Shultz, Dmitry : > Hi All, > > I hav

SOAP Envelope and headers are not added by CXF by default

2016-06-20 Thread Shultz, Dmitry
correctly and sent, but for some reason it doesn't wrap it with SOAP envelope and headers (the http payload has only the request xml). Is there anything special supposed to be done in order to make sure outgoing message has the proper soap format? Cheers, Dmitry

Re: rest to soap

2016-06-07 Thread miri eyni
i found the solution: i need to change the contectType to json and removing the marshal -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp5783547p5783570.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: rest to soap

2016-06-07 Thread Brad Johnson
Because XStream is marshaling it as XML. Why are you using XStream for that. I love XStream and it can do JSON but there are probably easier/better ways to do it. On Tue, Jun 7, 2016 at 6:08 AM, miri eyni wrote: > when i routing from soap to rest and than i marshal the response , i did

rest to soap

2016-06-07 Thread miri eyni
when i routing from soap to rest and than i marshal the response , i didn't get the response as a json format. http://{{fromUrl}}/bankValidation?matchOnUriPrefix

Re: How to set username password in custom SOAP header from cxf endpoint and camel route to call external webservice

2016-05-24 Thread Joseph Kampf
Another option is to create a List of org.apache.cxf.binding.soap.SoapHeader and put it into the Camel Headers under: org.apache.cxf.headers.Header.HEADER_LIST The Camel CXF component will add the SOAP Header to the SOAP Envelop. Joe On 5/24/16, 10:06 AM, "dmitriyC300" wrote:

Re: How to set username password in custom SOAP header from cxf endpoint and camel route to call external webservice

2016-05-24 Thread dmitriyC300
You could do that via cxf out interceptor. You would need to create an intercepter that will construct your soap header and register it with your client(see camel cxf docs). When your client sends a request, interceptor will inject the soap header based on defined instructions. Example: public

cxf setting Nonce and created in SOAP wsse header

2016-05-23 Thread akmishra30
==Username== http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>==Password== http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";>===EncodeString===

Re: How to set username password in custom SOAP header from cxf endpoint and camel route to call external webservice

2016-05-20 Thread Matt Sicker
I never figured out how to do it via CXF, but I once used a workaround by just bypassing SOAP altogether and posting the SOAP XML straight over HTTP instead. On 19 May 2016 at 13:31, kazvis wrote: > Hi , > > i want to call a external SOAP service from camel route. i have

How to set username password in custom SOAP header from cxf endpoint and camel route to call external webservice

2016-05-19 Thread kazvis
Hi , i want to call a external SOAP service from camel route. i have imported corresponding java objects in my project. I am using the CXF component to call that SOAP service and need to send a username password as a custom soap header. so give me the approach. i here by attached the soap header

Re: rest to soap

2016-05-16 Thread yogu13
A simpler way would be to use camel-cxf see if your can use this http://camel.apache.org/cxf.html Regards, -Yogesh On Mon, May 16, 2016 at 5:14 PM, miri eyni [via Camel] < ml-node+s465427n5782665...@n5.nabble.com> wrote: > i converted the json to xml > i try to send soap request fr

Re: rest to soap

2016-05-16 Thread miri eyni
i converted the json to xml i try to send soap request from rest , on the process method i converted the body to xml but i think i am missing somethings , from - is rest url to - is webService url (soap) from("jetty:http://localhost:8080/json?matchOnUriPrefix=true";) public vo

Re: rest to soap

2016-05-16 Thread yogu13
You need to transform the data which your SOAP endpoint can understand. Looks like you are missing that piece of code. BTW I see your payload is XML instead of JSON from the logs you added. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap

Re: rest to soap

2016-05-16 Thread miri eyni
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

Re: rest to soap

2016-05-16 Thread miri eyni
} }).marshal().xstream().to("localhost:9060/ws/policyServices/findPolicy?bridgeEndpoint=true"); and i got : HTTP operation failed invoking http://localhost:9060/ws/policyServices/findPolicy with statusCode: 403 i try to routing from rest to soap , -- View this

  1   2   3   4   5   6   7   8   >