servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Jean-Baptiste Onofré" ...@nanthrax.net>
Subject Re: SOAP error when using HTTP component in front of CXF-SE one
Date Tue, 04 Nov 2008 07:25:41 GMT
 Thanks Freeman,

 I try it.

 Regards
 JB
 -- 
 Jean-Baptiste Onofré 
 jb@nanthrax.net 
 BuildProcess/AutoDeploy Project Leader 
 http://buildprocess.sourceforge.net

 On Tue 04/11/08 02:29, Freeman Fang freeman.fang@gmail.com wrote:
  Jean-Baptiste Onofré wrote: 
 > OK understood, there is no really a split between the message 
 > formatting and the process of the message (HTTP component is a
kind of 
 > proxy to the "internal" WSDL). 
 > 
 > So, to summarize : 
 > - to have on-the-fly WSDL, I need to use HTTP component which act
as 
 > a proxy to the CXF WSDL generation (using other stuff like aegis, 
 > jaxb2, etc) 
 > - using "static" WSDL (WSDL hand made), I can use CXF-BC or 
 > soap-consumer. 
 > 
 If what you want is expose the target cxf-se endpoint's wsdl from 
 cxf-bc, yeah, you also can do it using cxf-bc, provided the cxf-se 
 endpoint already started. Which means you needn't specify the wsdl
in 
 cxf bc consumer configuration, the cxf bc consumer will try to
retrieve 
 the wsdl exposed by its target service (which is specified by the 
 targetService etc, it should be the cxf se endpoint you want to
expose 
 by cxf bc consumer). 
 You need make sure the cxf se endpoint already started. 
 > Is it correct ? 
 > 
 > If this behavior is the correct one, it means that a customer
can't 
 > "automatically" deploy a HTTP WebService in front of an existing
CXF 
 > component. Snifff :( 
 > 
 > Regards 
 > -- 
 > Jean-Baptiste Onofré 
 > jb@nanthrax.net [1] 
 > BuildProcess/AutoDeploy Project Leader 
 > http://buildprocess.sourceforge.net  [2]>
 > 
 > On Mon 03/11/08 16:31, "Guillaume Nodet" gnodet@gmail.com [3]
wrote: 
 > No, this is not possible right now afaik. I was meaning that it 
 > should be possible to enhance those components. 
 > FYI, the wsdl generation done by the does not use 
 > Aegis. It simply grabs the WSDL from the target endpoint (which
may 
 > be 
 > generated using jaxb2, aegis or any other java->wsdl tool from cxf

 > or 
 > even manually set on the endpoint) and wraps it using a default
soap 
 > 
 > binding / service / port so that it can expose it for external 
 > clients. 
 > 
 > On Mon, Nov 3, 2008 at 3:34 PM, Jean-Baptiste Onofré 
 > <jb@nanthrax.net [4] [1]> wrote: 
 > > In fact, the CXF component already provide an "internal" WSDL
but 
 > my 
 > > customer want to get the published HTTP WSDL. 
 > > 
 > > That's explain my question :) 
 > > 
 > > The advantage of the HTTP component is that it can provide the 
 > WSDL 
 > > "on the fly" (using aegis, I guess) and it's a very interesting 
 > > feature. 
 > > 
 > > Maybe it's possible to do the same using CXF-BC or 
 > > HTTP:SOAP-CONSUMER but I haven't found anything in the 
 > documentation 
 > > of these components. 
 > > 
 > > Regards 
 > > -- 
 > > Jean-Baptiste Onofré 
 > > jb@nanthrax.net [5] [2] 
 > > BuildProcess/AutoDeploy Project Leader 
 > > http://buildprocess.sourceforge.net [6] [3]> 
 > > 
 > > On Mon 03/11/08 15:24, "Guillaume Nodet" gnodet@gmail.com [7]
[4] 
 > wrote: 
 > > I don't think so. Though I don't see why it would not be doable
to 
 > 
 > > generate a WSDL if the target endpoint already expose one. 
 > > 
 > > On Mon, Nov 3, 2008 at 3:19 PM, Jean-Baptiste Onofré 
 > > <jb@nanthrax.net [8] [5] [1]> wrote: 
 > > > But, is CXF-BC or can generate the WSDL ? 
 > > > -- 
 > > > Jean-Baptiste Onofré 
 > > > jb@nanthrax.net [9] [6] [2] 
 > > > BuildProcess/AutoDeploy Project Leader 
 > > > http://buildprocess.sourceforge.net [10] [7] [3]> 
 > > > 
 > > > On Mon 03/11/08 15:13, "Guillaume Nodet" gnodet@gmail.com [11]
[8] 
 > [4] 
 > > wrote: 
 > > > CXF-SE expects either a JBI wrapper or a SOAP envelope. 
 > > > If you want to have a better HTTP consumer, I would recommend 
 > > using 
 > > > either CXF-BC or endpoint. 
 > > > Both should work better with CXF-SE engine. 
 > > > 
 > > > On Mon, Nov 3, 2008 at 2:46 PM, Jean-Baptiste Onofré 
 > > > <jb@nanthrax.net [12] [9] [5] [1]> wrote: 
 > > > > Hi all, 
 > > > > 
 > > > > On ServiceMix 3.3, I have two SUs : 
 > > > > - the first one is a CXF-SE component (using a bean) 
 > > > > - the second one is a HTTP component in front of the CXF-SE 
 > one 
 > > > > 
 > > > > In the xbean.xml of the CXF-SE component, I use 
 > > > > useJbiWrapper="false"> to avoid a communication error
between 
 > > the 
 > > > > both. 
 > > > > 
 > > > > In the xbean.xml of the HTTP component, I use 
 > > > > soap="false">, the service works but the WSDL is not
complete 
 > > (the 
 > > > 
 > > > > method operation are not exposed). 
 > > > > 
 > > > > But, if I switch to , I have the 
 > > > > following error : 
 > > > > org.apache.cxf.binding.soap.SoapFault: 
 > > > "http://www.fimasys.com/fsb", [13] [10] [6] [2]> 
 > > > > the namespace on the "vinCheck" element, is not a valid SOAP

 > > > version. 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:92)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:156)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:283)

 > 
 > > 
 > > > 
 > > > > at 
 > > > > 
 > > > 
 > > 
 >
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)

 > 
 > > 
 > > > 
 > > > > 
 > > > > Does anybody have any idea ? 
 > > > > 
 > > > > Thanks 
 > > > > Regards 
 > > > > -- 
 > > > > Jean-Baptiste Onofré 
 > > > > jb@nanthrax.net [14] [11] [7] [3] 
 > > > > BuildProcess/AutoDeploy Project Leader 
 > > > > http://buildprocess.sourceforge.net [15] [12] [8] [4]> 
 > > > > 
 > > > > 
 > > > 
 > > > -- 
 > > > Cheers, 
 > > > Guillaume Nodet 
 > > > ------------------------ 
 > > > Blog: http://gnodet.blogspot.com/ [16] [13] [9] [5] 
 > > > ------------------------ 
 > > > Open Source SOA 
 > > > http://fusesource.com [17] [14] [10] [6] 
 > > > 
 > > > 
 > > > 
 > > > Links: 
 > > > ------ 
 > > > [1] jb@nanthrax.net [18] [15] [11] 
 > > > [2] http://www.fimasys.com/fsb [19] [16] [12]> 
 > > > [3] jb@nanthrax.net [20] [17] [13] 
 > > > [4] http://buildprocess.sourceforge.net [21] [18] [14]> 
 > > > [5] http://gnodet.blogspot.com/ [22] [19] [15]> 
 > > > [6] http://fusesource.com [23] [20] [16]> 
 > > > 
 > > 
 > > -- 
 > > Cheers, 
 > > Guillaume Nodet 
 > > ------------------------ 
 > > Blog: http://gnodet.blogspot.com/ [24] [21] [17] 
 > > ------------------------ 
 > > Open Source SOA 
 > > http://fusesource.com [25] [22] [18] 
 > > 
 > > 
 > > 
 > > Links: 
 > > ------ 
 > > [1] jb@nanthrax.net [26] [23] 
 > > [2] jb@nanthrax.net [27] [24] 
 > > [3] http://buildprocess.sourceforge.net [28] [25]> 
 > > [4] gnodet@gmail.com [29] [26] 
 > > [5] jb@nanthrax.net [30] [27] 
 > > [6] http://www.fimasys.com/fsb [31] [28]> 
 > > [7] jb@nanthrax.net [32] [29] 
 > > [8] http://buildprocess.sourceforge.net [33] [30]> 
 > > [9] http://gnodet.blogspot.com/ [34] [31]> 
 > > [10] http://fusesource.com [35] [32]> 
 > > [11] jb@nanthrax.net [36] [33] 
 > > [12] http://www.fimasys.com/fsb [37] [34]> 
 > > [13] jb@nanthrax.net [38] [35] 
 > > [14] http://buildprocess.sourceforge.net [39] [36]> 
 > > [15] http://gnodet.blogspot.com/ [40] [37]> 
 > > [16] http://fusesource.com [41] [38]> 
 > > [17] http://gnodet.blogspot.com/ [42] [39]> 
 > > [18] http://fusesource.com [43] [40]> 
 > > 
 > 
 > -- 
 > Cheers, 
 > Guillaume Nodet 
 > ------------------------ 
 > Blog: http://gnodet.blogspot.com/ [44] [41] 
 > ------------------------ 
 > Open Source SOA 
 > http://fusesource.com [45] [42] 
 > 
 > 
 > 
 > Links: 
 > ------ 
 > [1] jb@nanthrax.net [46] 
 > [2] jb@nanthrax.net [47] 
 > [3] http://buildprocess.sourceforge.net [48]>
 > [4] gnodet@gmail.com [49] 
 > [5] jb@nanthrax.net [50] 
 > [6] jb@nanthrax.net [51] 
 > [7] http://buildprocess.sourceforge.net  [52]>
 > [8] gnodet@gmail.com [53] 
 > [9] jb@nanthrax.net [54] 
 > [10] http://www.fimasys.com/fsb  [55]>
 > [11] jb@nanthrax.net [56] 
 > [12] http://buildprocess.sourceforge.net  [57]>
 > [13] http://gnodet.blogspot.com/  [58]>
 > [14] http://fusesource.com  [59]>
 > [15] jb@nanthrax.net [60] 
 > [16] http://www.fimasys.com/fsb  [61]>
 > [17] jb@nanthrax.net [62] 
 > [18] http://buildprocess.sourceforge.net  [63]>
 > [19] http://gnodet.blogspot.com/  [64]>
 > [20] http://fusesource.com  [65]>
 > [21] http://gnodet.blogspot.com/  [66]>
 > [22] http://fusesource.com  [67]>
 > [23] jb@nanthrax.net [68] 
 > [24] jb@nanthrax.net [69] 
 > [25] http://buildprocess.sourceforge.net [70]>
 > [26] gnodet@gmail.com [71] 
 > [27] jb@nanthrax.net [72] 
 > [28] http://www.fimasys.com/fsb [73]>
 > [29] jb@nanthrax.net [74] 
 > [30] http://buildprocess.sourceforge.net [75]>
 > [31] http://gnodet.blogspot.com/ [76]>
 > [32] http://fusesource.com [77]>
 > [33] jb@nanthrax.net [78] 
 > [34] http://www.fimasys.com/fsb [79]>
 > [35] jb@nanthrax.net [80] 
 > [36] http://buildprocess.sourceforge.net [81]>
 > [37] http://gnodet.blogspot.com/ [82]>
 > [38] http://fusesource.com [83]>
 > [39] http://gnodet.blogspot.com/ [84]>
 > [40] http://fusesource.com [85]>
 > [41] http://gnodet.blogspot.com/  [86]>
 > [42] http://fusesource.com  [87]>
 > 
 > 



Links:
------
[1] mailto:jb@nanthrax.net
[2] http://buildprocess.sourceforge.net</font
[3] mailto:gnodet@gmail.com
[4] mailto:jb@nanthrax.net
[5] mailto:jb@nanthrax.net
[6] http://buildprocess.sourceforge.net
[7] mailto:gnodet@gmail.com
[8] mailto:jb@nanthrax.net
[9] mailto:jb@nanthrax.net
[10] http://buildprocess.sourceforge.net
[11] mailto:gnodet@gmail.com
[12] mailto:jb@nanthrax.net
[13] http://www.fimasys.com/fsb
[14] mailto:jb@nanthrax.net
[15] http://buildprocess.sourceforge.net
[16] http://gnodet.blogspot.com/
[17] http://fusesource.com
[18] mailto:jb@nanthrax.net
[19] http://www.fimasys.com/fsb
[20] mailto:jb@nanthrax.net
[21] http://buildprocess.sourceforge.net
[22] http://gnodet.blogspot.com/
[23] http://fusesource.com
[24] http://gnodet.blogspot.com/
[25] http://fusesource.com
[26] mailto:jb@nanthrax.net
[27] mailto:jb@nanthrax.net
[28] http://buildprocess.sourceforge.net
[29] mailto:gnodet@gmail.com
[30] mailto:jb@nanthrax.net
[31] http://www.fimasys.com/fsb
[32] mailto:jb@nanthrax.net
[33] http://buildprocess.sourceforge.net
[34] http://gnodet.blogspot.com/
[35] http://fusesource.com
[36] mailto:jb@nanthrax.net
[37] http://www.fimasys.com/fsb
[38] mailto:jb@nanthrax.net
[39] http://buildprocess.sourceforge.net
[40] http://gnodet.blogspot.com/
[41] http://fusesource.com
[42] http://gnodet.blogspot.com/
[43] http://fusesource.com
[44] http://gnodet.blogspot.com/
[45] http://fusesource.com
[46] mailto:jb@nanthrax.net
[47] mailto:jb@nanthrax.net
[48] http://buildprocess.sourceforge.net&lt;/font</font
[49] mailto:gnodet@gmail.com
[50] mailto:jb@nanthrax.net
[51] mailto:jb@nanthrax.net
[52] http://buildprocess.sourceforge.net</font
[53] mailto:gnodet@gmail.com
[54] mailto:jb@nanthrax.net
[55] http://www.fimasys.com/fsb</font
[56] mailto:jb@nanthrax.net
[57] http://buildprocess.sourceforge.net</font
[58] http://gnodet.blogspot.com/</font
[59] http://fusesource.com</font
[60] mailto:jb@nanthrax.net
[61] http://www.fimasys.com/fsb</font
[62] mailto:jb@nanthrax.net
[63] http://buildprocess.sourceforge.net</font
[64] http://gnodet.blogspot.com/</font
[65] http://fusesource.com</font
[66] http://gnodet.blogspot.com/</font
[67] http://fusesource.com</font
[68] mailto:jb@nanthrax.net
[69] mailto:jb@nanthrax.net
[70] http://buildprocess.sourceforge.net&lt;/font&lt;/font</font
[71] mailto:gnodet@gmail.com
[72] mailto:jb@nanthrax.net
[73] http://www.fimasys.com/fsb&lt;/font</font
[74] mailto:jb@nanthrax.net
[75] http://buildprocess.sourceforge.net&lt;/font</font
[76] http://gnodet.blogspot.com/&lt;/font</font
[77] http://fusesource.com&lt;/font</font
[78] mailto:jb@nanthrax.net
[79] http://www.fimasys.com/fsb&lt;/font&lt;/font</font
[80] mailto:jb@nanthrax.net
[81]
http://buildprocess.sourceforge.net&lt;/font&lt;/font&lt;/font</font
[82] http://gnodet.blogspot.com/&lt;/font&lt;/font</font
[83] http://fusesource.com&lt;/font&lt;/font</font
[84] http://gnodet.blogspot.com/&lt;/font</font
[85] http://fusesource.com&lt;/font</font
[86] http://gnodet.blogspot.com/</font
[87] http://fusesource.com</font

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message