You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Florent <fl...@sopragroup.com> on 2007/11/23 10:58:20 UTC

servicemix-cxf-bc & soapVersion attribute

Hello,

I'm trying to expose a third party webservice to the bus, using cxf.

I'd like to know if i can set the soap version. For example, when i was
using service-http, there was a SoapVersion attribute, but i didn't find one
for the servicemix-cxf-bc-3.2-schema.

Is soap 1.1 or 1.2 used?

Here is my xbean.xml :

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
       xmlns:ns1="http://ejb.proto.mycompany.com">
       
      <cxfbc:consumer 
                        wsdl="classpath:ProtoBean.wsdl" 
                        endpoint="ProtoBeanPort"
                        targetEndpoint="ProtoBean" 
                        targetService="ns1:ProtoBeanService" 
                        targetInterface="ns1:ProtoBean" 
                        > 
      </cxfbc:consumer> 
  
      <cxfbc:provider 
                        wsdl="classpath:ProtoBean.wsdl" 
                       
locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
                        service="ns1:ProtoBeanService" 
                        endpoint="ProtoBean" 
                        interfaceName="ns1:ProtoBean" 
                        > 
      </cxfbc:provider>

</beans> 


-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13909543
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

I already added those 2 interceptors and i put the result in my third post
of this thread.

But i don't really understand what it's going on...

Here is the servicemix log output (bear in mind you've to add the add the
param tag) :


INFO: Inbound Message 
-------------------------------------- 
Encoding: utf-8 
Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
Host=[ITEM-509 
73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
SOAPAct 
ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
Cache-Control 
=[no-cache], Accept=[application/soap+xml,multipart/related,text/*]} 
Message: 
<env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:en 
v="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/ 
XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http 
://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr 
otoDTO></env:Body></env:Envelope> 
-------------------------------------- 
DEBUG - CxfBcComponent                 - Created correlation id:
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
DEBUG - DeliveryChannelImpl            - SendSync
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc} 
DEBUG - SedaFlow                       - Called Flow send 
DEBUG - DeliveryChannelImpl            - Waiting for exchange
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 (1d7a7b3) to be answered in
DeliveryChannel{servicemix-cxf-bc} from sendSync 
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
exchange: InOut[ 
  id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
  status: Active 
  role: provider 
  interface: {http://ejb.proto.mycompany.com}ProtoBean 
  service: {http://ejb.proto.mycompany.com}ProtoBeanService 
  endpoint: ProtoBean 
  operation: {http://ejb.proto.mycompany.com}getProtoDTO 
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java. 
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name= 
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns: 
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr 
otoDTO></jbi:part></jbi:message> 
] 
DEBUG - CxfBcComponent                 - Received exchange: status: Active,
role: provider 
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
DEBUG - DeliveryChannelImpl            - Send
ID:172.xx.xxx.xxx-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc} 
DEBUG - SedaFlow                       - Called Flow send 
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
exchange: InOut[ 
  id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
  status: Active 
  role: consumer 
  interface: {http://ejb.proto.mycompany.com}ProtoBean 
  service: {http://ejb.proto.mycompany.com}ProtoBeanService 
  endpoint: ProtoBean 
  operation: {http://ejb.proto.mycompany.com}getProtoDTO 
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java. 
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name= 
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns: 
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr 
otoDTO></jbi:part></jbi:message> 
  out: null 
] 
DEBUG - DeliveryChannelImpl            - Notifying exchange
ID:172.xx.xxx.xxx-1167b1f58b2-4:1(1d7a7b3) in
DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange 
DEBUG - DeliveryChannelImpl            - Notified:
ID:172.xx.xxx.xxx-1167b1f58b2-4:1(1d7a7b3) in
DeliveryChannel{servicemix-cxf-bc} from sendSync 
26 nov. 2007 09:59:48
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose 
INFO: Outbound Message 
-------------------------------------- 
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body 
 /></soap:Envelope> 
-------------------------------------- 
DEBUG - DeliveryChannelImpl            - Send
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
in DeliveryChannel{servicemix-cxf-bc} 
DEBUG - SedaFlow                       - Called Flow send 
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
exchange: InOut[ 
  id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
  status: Done 
  role: provider 
  interface: {http://ejb.proto.mycompany.com}ProtoBean 
  service: {http://ejb.proto.mycompany.com}ProtoBeanService 
  endpoint: ProtoBean 
  operation: {http://ejb.proto.mycompany.com}getProtoDTO 
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java. 
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name= 
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns: 
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr 
otoDTO></jbi:part></jbi:message> 
  out: null 
] 
DEBUG - CxfBcComponent                 - Received exchange: status: Done,
role:provider 
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.xx.xxx.xxx-1167b1f58b2-4:1 
javax.jbi.messaging.MessagingException: Out not supported 
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357) 
        at
org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125) 
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932) 
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790) 
        at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166) 
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538) 
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490) 
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) 
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610) 
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170) 
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167) 
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134) 
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) 
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) 
        at java.lang.Thread.run(Thread.java:595) 


Is this log helpfull?

Thanks in advance,
Florent.



Freeman Fang wrote:
> 
> You can add LoggingInInterceptor and LoggingOutInterceptor in
> xbean.xml for cxf bc provider. You can get example from the test I
> point in previous mail
> Best Regards
> On Nov 27, 2007 9:33 PM, Florent <fl...@sopragroup.com> wrote:
>>
>>
>> Yes, that's exactly what i mean.
>>
>> The param tag didn't appear in my first for some obscur reason. That's
>> why i
>> was saying my SOAP message is correct.
>>
>> Is there any way to trace what is going on in the bus? Something better
>> than
>> the debug log?
>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>> provider.
>>
>>
>>
>>
>> Freeman Fang wrote:
>> >
>> > You mean your request soap message already has < param> yourParam<
>> > /param> element? and it still doesn't work ? (obviously I make a
>> > mistake in my prevoious mail, I mismactch the response and request,
>> > sorry for it)
>> >
>> >
>> > On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>> >>
>> >> There is a problem when i post the "param" tag : it does not appear in
>> >> the
>> >> forum post. I edited my previous message and put some spaces :
>> >>
>> >> <tns:getProtoDTO>
>> >> < param>myparam</ param>
>> >> </tns:getProtoDTO>
>> >>
>> >> Sorry, i didn't notice it in my first post. I think the
>> misunderstanding
>> >> came from that...
>> >>
>> >> Best Regards,
>> >> Florent
>> >>
>> >>
>> >>
>> >> Florent wrote:
>> >> >
>> >> > Ok, i think i understand why you said my soap enveloppe in
>> incorrect.
>> >> >
>> >> > Here is the one i'm using (in my first post, i have to admit it
>> wasn't
>> >> > correct) :
>> >> >
>> >> > <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> >> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> >> > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> >> > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>> >> > xmlns:tns=\"http://ejb.proto.sopra.com\">
>> >> > <env:Body>
>> >> > <tns:getProtoDTO>
>> >> > < param>myparam</ param>
>> >>
>> >> > </tns:getProtoDTO>
>> >> > </env:Body>
>> >> > </env:Envelope>
>> >> >
>> >> >
>> >> >
>> >> > Florent wrote:
>> >> >>
>> >> >>
>> >> >> this :
>> >> >>
>> >> >> Standalone client <--> SOAP message <--> Servicemix cxf bc
>> >> consumer<--->
>> >> >> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>> >> >> <-->Websphere
>> >> >> Application Server
>> >> >>
>> >> >> is exactly what i want to be done (and what i'm trying to do) :)
>> >> >>
>> >> >> According to your reply, i should use the following soap message :
>> >> >>
>> >> >> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> >> >> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> >> >> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> >> >> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>> >> >> xmlns:tns=\"http://ejb.proto.sopra.com\">
>> >> >> <env:Body>
>> >> >> <tns:getProtoDTO>
>> >> >> <date>2007-11-27T10:04:16.347Z</date>
>> >> >> <dble>0.0</dble>
>> >> >> <integ>1</integ>
>> >> >> <liste>
>> >> >> <string>s01</string><string>s02</string><string>s03</string>
>> >> >> </liste>
>> >> >> </tns:getProtoDTO>
>> >> >> </env:Body>
>> >> >> </env:Envelope>
>> >> >>
>> >> >> But, according to my wsdl, this is the response soap message, not
>> the
>> >> >> request one !
>> >> >>
>> >> >> Operation :
>> >> >> <wsdl:operation name="getProtoDTO">
>> >> >>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>> >> >>        <wsdl:input name="getProtoDTORequest">
>> >> >>          <wsdlsoap:body use="literal"/>
>> >> >>       </wsdl:input>
>> >> >>        <wsdl:output name="getProtoDTOResponse">
>> >> >>          <wsdlsoap:body use="literal"/>
>> >> >>       </wsdl:output>
>> >> >> </wsdl:operation>
>> >> >>
>> >> >> PortType :
>> >> >> <wsdl:portType name="ProtoBean">
>> >> >>      <wsdl:operation name="getProtoDTO">
>> >> >>        <wsdl:input message="intf:getProtoDTORequest"
>> >> >> name="getProtoDTORequest"/>
>> >> >>        <wsdl:output message="intf:getProtoDTOResponse"
>> >> >> name="getProtoDTOResponse"/>
>> >> >>     </wsdl:operation>
>> >> >> </wsdl:portType>
>> >> >>
>> >> >>
>> >> >> Input / request :
>> >> >> <wsdl:message name="getProtoDTORequest">
>> >> >>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>> >> >> </wsdl:message>
>> >> >>
>> >> >> Element :
>> >> >> <element name="getProtoDTO">
>> >> >>     <complexType>
>> >> >>      <sequence>
>> >> >>       <element name="param" nillable="true" type="xsd:string"/>
>> >> >>      </sequence>
>> >> >>     </complexType>
>> >> >> </element>
>> >> >>
>> >> >> Output / response :
>> >> >> <wsdl:message name="getProtoDTOResponse">
>> >> >>      <wsdl:part element="intf:getProtoDTOResponse"
>> name="parameters"/>
>> >> >> </wsdl:message>
>> >> >>
>> >> >> Element :
>> >> >> <element name="getProtoDTOResponse">
>> >> >>     <complexType>
>> >> >>      <sequence>
>> >> >>       <element name="getProtoDTOReturn" nillable="true"
>> >> >> type="tns2:ProtoDTO"/>
>> >> >>      </sequence>
>> >> >>     </complexType>
>> >> >> </element>
>> >> >>
>> >> >> So, the output is the ProtoDTO complex type, and the input is a
>> >> string.
>> >> >>
>> >> >> Did i misunderstand something? May be i'm confusing
>> provider/consumer
>> >> >> role?
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Freeman Fang wrote:
>> >> >>>
>> >> >>> Comments in line
>> >> >>>
>> >> >>> Florent wrote:
>> >> >>>> Morning Freeman,
>> >> >>>>
>> >> >>>> I tried to modify my SOAP message, but it didn't work : i still
>> get
>> >> the
>> >> >>>> same
>> >> >>>> error.
>> >> >>>>
>> >> >>> What's your new soap message now?
>> >> >>>> I also tried to call the web service with this enveloppe and a
>> >> >>>> standalone
>> >> >>>> client : i got a "wrong parameter error".
>> >> >>>>
>> >> >>>> I think my SOAP message is correct : i tried to generate it from
>> the
>> >> >>>> RAD 7
>> >> >>>> web service test and it was the same one. Plus, my business
>> method
>> >> has
>> >> >>>> one
>> >> >>>> parameter (a string) and a complex type as return type.
>> >> >>>>
>> >> >>> According to the schema from your wsdl, your soap messge
>> >> >>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>> >> >>> element, there should be element <date> or <dble> or <integ> or
>> >> <liste>
>> >> >>>
>> >> >>> Btw, different soap tool kit may generate soap message with little
>> >> >>> different, which may cause interoperability problem
>> >> >>>
>> >> >>>> As i'm totally new to servicemix, so there is probably something
>> i
>> >> >>>> don't
>> >> >>>> understand.
>> >> >>>>
>> >> >>>> What i want to do :
>> >> >>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>> <-->Websphere
>> >> >>>> Application Server
>> >> >>>>
>> >> >>>> Considering the debug log, what i think it's going on :
>> >> >>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>> <-->Websphere
>> >> >>>> Application Server
>> >> >>>>
>> >> >>> no, what's going on is
>> >> >>>
>> >> >>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>> >> >>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>> >> >>> Application Server
>> >> >>>
>> >> >>> So what's reach your websphere application server is soap message,
>> >> not
>> >> >>> jbi message.
>> >> >>> May be you need refer to [1]  which is similiar as your scenario
>> >> >>> [1]
>> >> >>>
>> >>
>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>> >> >>>
>> >> >>>> So, i don't think WAS support JBI message... and that could
>> explain
>> >> my
>> >> >>>> error
>> >> >>>> (i no longer think it's a soap verion problem).
>> >> >>>>
>> >> >>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>> thrid
>> >> >>>> party
>> >> >>>> web service URL.
>> >> >>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>> >> >>>>
>> >> >>>> I only want to call my web service, but i want to call it using a
>> >> >>>> servicemix
>> >> >>>> URL.
>> >> >>>>
>> >> >>>> Thanks again for your help,
>> >> >>>> Best Regards,
>> >> >>>> Florent.
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> Freeman Fang wrote:
>> >> >>>>
>> >> >>>>> Hi Florent,
>> >> >>>>>
>> >> >>>>> This problem has nothing to do with soap version.
>> >> >>>>>
>> >> >>>>> The problem is that your hard code soap request message is not
>> >> >>>>> correct.
>> >> >>>>>
>> >> >>>>> According to the schema in wsdl you append, it should be
>> something
>> >> >>>>> like
>> >> >>>>>
>> >> >>>>> <env:Envelope
>> >> >>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> >> >>>>> xmlns:en
>> >> >>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> >> >>>>> xmlns:xsd="http://www.w3.org/2001/
>> >> >>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >> >>>>> xmlns:tns="http
>> >> >>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>> >> >>>>> <date>your date</date>
>> >> >>>>> <dble>your dble</dble>
>> >> >>>>> <integ>your integ</integ>
>> >> >>>>> <liste>your liste</liste>
>> >> >>>>> </tns:getPr
>> >> >>>>> otoDTO></env:Body></env:Envelope>
>> >> >>>>>
>> >> >>>>> You shouldn't use
>> >> >>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>> >> element
>> >> >>>>> tag
>> >> >>>>> defined in the schema.
>> >> >>>>> For some complex schema, write soap message yourself is not so
>> >> easy,
>> >> >>>>> so we
>> >> >>>>> prefer to use some soap tool kit to generate soap message for
>> you,
>> >> may
>> >> >>>>> be
>> >> >>>>> you can  try to use apache cxf, basically generate code stub
>> from
>> >> the
>> >> >>>>> wsdl, and what you need do is just write client invoke code as
>> >> normal
>> >> >>>>> java
>> >> >>>>> operation invoke and  cxf will genearate soap message for you.
>> >> >>>>>
>> >> >>>>> Would you please try it again?
>> >> >>>>>
>> >> >>>>> Best Regards
>> >> >>>>>
>> >> >>>>> Freeman
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> Florent wrote:
>> >> >>>>>
>> >> >>>>>> Hi Freeman,
>> >> >>>>>>
>> >> >>>>>> Indeed,
>> >> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>> >> >>>>>> use
>> >> >>>>>> soap
>> >> >>>>>> 1.1.
>> >> >>>>>> But i don't know which soap version
>> >> >>>>>> http://localhost:8092/ProtoBeanService/
>> >> >>>>>> is using...
>> >> >>>>>>
>> >> >>>>>> The third party webservice is hosted by Websphere Application
>> >> Server
>> >> >>>>>> 6.1.
>> >> >>>>>>
>> >> >>>>>> I don't really know what cxf is doing to the message, is it
>> >> possible
>> >> >>>>>> to
>> >> >>>>>> log/trace it?
>> >> >>>>>>
>> >> >>>>>> I enabled debug log and added interceptors in my xbean.xml,
>> here
>> >> is
>> >> >>>>>> the
>> >> >>>>>> output :
>> >> >>>>>>
>> >> >>>>>> INFO: Inbound Message
>> >> >>>>>> --------------------------------------
>> >> >>>>>> Encoding: utf-8
>> >> >>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>> WebServices/1.0],
>> >> >>>>>> Host=[ITEM-509
>> >> >>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>> 08:59:47
>> >> >>>>>> GMT],
>> >> >>>>>> SOAPAct
>> >> >>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>> charset=utf-8],
>> >> >>>>>> Cache-Control
>> >> >>>>>> =[no-cache],
>> >> Accept=[application/soap+xml,multipart/related,text/*]}
>> >> >>>>>> Message:
>> >> >>>>>> <env:Envelope
>> >> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> >> >>>>>> xmlns:en
>> >> >>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> >> >>>>>> xmlns:xsd="http://www.w3.org/2001/
>> >> >>>>>> XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >> >>>>>> xmlns:tns="http
>> >> >>>>>>
>> >> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>> >> >>>>>> otoDTO></env:Body></env:Envelope>
>> >> >>>>>> --------------------------------------
>> >> >>>>>> DEBUG - CxfBcComponent                 - Created correlation
>> id:
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>> >> >>>>>> DeliveryChannel{servicemix-cxf-bc}
>> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> >> >>>>>> DEBUG - SedaQueue                      -
>> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>> >> dequeued
>> >> >>>>>> exchange: InOut[
>> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>>   status: Active
>> >> >>>>>>   role: provider
>> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >> >>>>>>   endpoint: ProtoBean
>> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >> >>>>>> xmlns:jbi="http://java.
>> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >> >>>>>> version="1.0"><jbi:part><tns:
>> >> >>>>>> getProtoDTO
>> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >> >>>>>> otoDTO></jbi:part></jbi:message>
>> >> >>>>>> ]
>> >> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>> >> status:
>> >> >>>>>> Active,
>> >> >>>>>> role: provider
>> >> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>> id:
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - Send
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>> >> >>>>>> DeliveryChannel{servicemix-cxf-bc}
>> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >> >>>>>> DEBUG - SedaQueue                      -
>> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>> >> dequeued
>> >> >>>>>> exchange: InOut[
>> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>>   status: Active
>> >> >>>>>>   role: consumer
>> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >> >>>>>>   endpoint: ProtoBean
>> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >> >>>>>> xmlns:jbi="http://java.
>> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >> >>>>>> version="1.0"><jbi:part><tns:
>> >> >>>>>> getProtoDTO
>> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >> >>>>>> otoDTO></jbi:part></jbi:message>
>> >> >>>>>>   out: null
>> >> >>>>>> ]
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from
>> >> >>>>>> processInboundSynchronousExchange
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> >> >>>>>> 26 nov. 2007 09:59:48
>> >> >>>>>>
>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>> >> >>>>>> onClose
>> >> >>>>>> INFO: Outbound Message
>> >> >>>>>> --------------------------------------
>> >> >>>>>> <soap:Envelope
>> >> >>>>>>
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>> >> >>>>>>  /></soap:Envelope>
>> >> >>>>>> --------------------------------------
>> >> >>>>>> DEBUG - DeliveryChannelImpl            - Send
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>> in DeliveryChannel{servicemix-cxf-bc}
>> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >> >>>>>> DEBUG - SedaQueue                      -
>> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>> >> dequeued
>> >> >>>>>> exchange: InOut[
>> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>>   status: Done
>> >> >>>>>>   role: provider
>> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >> >>>>>>   endpoint: ProtoBean
>> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >> >>>>>> xmlns:jbi="http://java.
>> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >> >>>>>> version="1.0"><jbi:part><tns:
>> >> >>>>>> getProtoDTO
>> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >> >>>>>> otoDTO></jbi:part></jbi:message>
>> >> >>>>>>   out: null
>> >> >>>>>> ]
>> >> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>> >> status:
>> >> >>>>>> Done,
>> >> >>>>>> role:provider
>> >> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>> id:
>> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >> >>>>>> javax.jbi.messaging.MessagingException: Out not supported
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>> >> >>>>>>         at
>> >> >>>>>>
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>> >> >>>>>>         at java.lang.Thread.run(Thread.java:595)
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>> Here is my wsdl used by servicemix (the one used by the AS is
>> the
>> >> >>>>>> same
>> >> >>>>>> one,
>> >> >>>>>> except the service location) :
>> >> >>>>>>
>> >> >>>>>> <?xml version="1.0" encoding="UTF-8"?>
>> >> >>>>>> <wsdl:definitions
>> targetNamespace="http://ejb.proto.mycompany.com"
>> >> >>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>> >> >>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>> >> >>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>> >> >>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >> >>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>> >> >>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>> >> >>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >> >>>>>>  <wsdl:types>
>> >> >>>>>>          <schema
>> targetNamespace="http://ejb.proto.mycompany.com"
>> >> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>> >> >>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>> >> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >> >>>>>>                  <import
>> >> namespace="http://dto.proto.mycompany.com" />
>> >> >>>>>>                  <element name="getProtoDTOResponse">
>> >> >>>>>>                          <complexType>
>> >> >>>>>>                                  <sequence>
>> >> >>>>>>                                          <element
>> >> name="getProtoDTOReturn"
>> >> >>>>>>                                                 
>> nillable="true"
>> >> type="tns2:ProtoDTO" />
>> >> >>>>>>                                  </sequence>
>> >> >>>>>>                          </complexType>
>> >> >>>>>>                  </element>
>> >> >>>>>>                  <element name="getProtoDTO">
>> >> >>>>>>                          <complexType>
>> >> >>>>>>                                  <sequence>
>> >> >>>>>>                                          <element name="param"
>> >> nillable="true"
>> >> >>>>>>                                                 
>> type="xsd:string"
>> >> />
>> >> >>>>>>                                  </sequence>
>> >> >>>>>>                          </complexType>
>> >> >>>>>>                  </element>
>> >> >>>>>>                  <complexType
>> name="ArrayOf_xsd_nillable_string">
>> >> >>>>>>                          <sequence>
>> >> >>>>>>                                  <element maxOccurs="unbounded"
>> >> minOccurs="0"
>> >> >>>>>>                                          name="string"
>> >> nillable="true" type="xsd:string" />
>> >> >>>>>>                          </sequence>
>> >> >>>>>>                  </complexType>
>> >> >>>>>>          </schema>
>> >> >>>>>>          <schema
>> targetNamespace="http://dto.proto.mycompany.com"
>> >> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>> >> >>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>> >> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >> >>>>>>                  <import
>> >> namespace="http://ejb.proto.mycompany.com" />
>> >> >>>>>>                  <complexType name="ProtoDTO">
>> >> >>>>>>                          <sequence>
>> >> >>>>>>                                  <element name="date"
>> >> nillable="true"
>> >> >>>>>>                                          type="xsd:dateTime" />
>> >> >>>>>>                                  <element name="dble"
>> >> nillable="true"
>> >> >>>>>>                                          type="xsd:double" />
>> >> >>>>>>                                  <element name="integ"
>> >> type="xsd:int" />
>> >> >>>>>>                                  <element name="liste"
>> >> nillable="true"
>> >> >>>>>>
>> >> type="impl:ArrayOf_xsd_nillable_string" />
>> >> >>>>>>                          </sequence>
>> >> >>>>>>                  </complexType>
>> >> >>>>>>          </schema>
>> >> >>>>>>  </wsdl:types>
>> >> >>>>>>
>> >> >>>>>>  <wsdl:message name="getProtoDTORequest">
>> >> >>>>>>          <wsdl:part element="intf:getProtoDTO"
>> name="parameters"
>> >> />
>> >> >>>>>>
>> >> >>>>>>  </wsdl:message>
>> >> >>>>>>
>> >> >>>>>>  <wsdl:message name="getProtoDTOResponse">
>> >> >>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>> >> name="parameters" />
>> >> >>>>>>
>> >> >>>>>>  </wsdl:message>
>> >> >>>>>>
>> >> >>>>>>  <wsdl:portType name="ProtoBean">
>> >> >>>>>>          <wsdl:operation name="getProtoDTO">
>> >> >>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>> >> >>>>>>                          name="getProtoDTORequest" />
>> >> >>>>>>
>> >> >>>>>>                  <wsdl:output
>> message="intf:getProtoDTOResponse"
>> >> >>>>>>                          name="getProtoDTOResponse" />
>> >> >>>>>>
>> >> >>>>>>          </wsdl:operation>
>> >> >>>>>>
>> >> >>>>>>  </wsdl:portType>
>> >> >>>>>>
>> >> >>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>> type="intf:ProtoBean">
>> >> >>>>>>
>> >> >>>>>>          <wsdlsoap:binding style="document"
>> >> >>>>>>                 
>> transport="http://schemas.xmlsoap.org/soap/http"
>> >> />
>> >> >>>>>>
>> >> >>>>>>          <wsdl:operation name="getProtoDTO">
>> >> >>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO"
>> />
>> >> >>>>>>
>> >> >>>>>>                  <wsdl:input name="getProtoDTORequest">
>> >> >>>>>>                          <wsdlsoap:body use="literal" />
>> >> >>>>>>
>> >> >>>>>>                  </wsdl:input>
>> >> >>>>>>
>> >> >>>>>>                  <wsdl:output name="getProtoDTOResponse">
>> >> >>>>>>                          <wsdlsoap:body use="literal" />
>> >> >>>>>>
>> >> >>>>>>                  </wsdl:output>
>> >> >>>>>>
>> >> >>>>>>          </wsdl:operation>
>> >> >>>>>>
>> >> >>>>>>  </wsdl:binding>
>> >> >>>>>>
>> >> >>>>>>  <wsdl:service name="ProtoBeanService">
>> >> >>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>> >> >>>>>>                  name="ProtoBean">
>> >> >>>>>>                  <wsdlsoap:address
>> >> >>>>>>
>> >> location="http://localhost:8092/ProtoBeanService/" />
>> >> >>>>>>
>> >> >>>>>>          </wsdl:port>
>> >> >>>>>>
>> >> >>>>>>  </wsdl:service>
>> >> >>>>>>
>> >> >>>>>> </wsdl:definitions>
>> >> >>>>>>
>> >> >>>>>> Thanks in advance,
>> >> >>>>>> Florent.
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>> Freeman Fang-2 wrote:
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>> Hi Florent,
>> >> >>>>>>> Do you mean
>> >> >>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>> use
>> >> >>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>> >> 1.2?
>> >> >>>>>>> Which soap toolkit are the third party webservice using?
>> >> >>>>>>> Would you please append the wsdl used for two webservices?
>> >> >>>>>>>
>> >> >>>>>>> Best Regards
>> >> >>>>>>>
>> >> >>>>>>> Freeman
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>> Florent wrote:
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>> If i use the following code to access to my web service, it
>> >> works
>> >> >>>>>>>> fine
>> >> >>>>>>>> :
>> >> >>>>>>>>
>> >> >>>>>>>> String endpoint =
>> >> >>>>>>>>
>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>> >> >>>>>>>>
>> >> >>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>> >> >>>>>>>>                                                "<env:Envelope
>> >> >>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>> >> >>>>>>>> " +
>> >> >>>>>>>>
>> >> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>> >> >>>>>>>>                                "<env:Body>" +
>> >> >>>>>>>>                                "<tns:getProtoDTO>" +
>> >> >>>>>>>>
>> >> >>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>> >> >>>>>>>>                                "</tns:getProtoDTO>" +
>> >> >>>>>>>>                                                "</env:Body>"
>> +
>> >> >>>>>>>>
>> >> "</env:Envelope>";
>> >> >>>>>>>>
>> >> >>>>>>>>                MessageFactory mf =
>> MessageFactory.newInstance();
>> >> >>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>> >> MimeHeaders(), new
>> >> >>>>>>>> ByteArrayInputStream(xml.getBytes()));
>> >> >>>>>>>>
>> >> >>>>>>>>                SOAPConnection conn =
>> >> >>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>> >> >>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>> >> >>>>>>>>
>> >> >>>>>>>>         SOAPEnvelope env =
>> response.getSOAPPart().getEnvelope();
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>> If i try to call the fellowing url :
>> >> >>>>>>>> http://localhost:8092/ProtoBeanService/
>> >> >>>>>>>> i get an error : No SOAPAction header (Application server
>> >> log)...
>> >> >>>>>>>> That's
>> >> >>>>>>>> why
>> >> >>>>>>>> i was wondering about the soap version.
>> >> >>>>>>>>
>> >> >>>>>>>> I get the following error in servicemix log :
>> >> >>>>>>>>
>> >> >>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>> >> >>>>>>>>         at
>> >> >>>>>>>>
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>> >> >>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>> Any idea?
>> >> >>>>>>>>
>> >> >>>>>>>> Thank you in advance,
>> >> >>>>>>>> Florent.
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>> Freeman Fang wrote:
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>>> Hi,
>> >> >>>>>>>>>
>> >> >>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf
>> bc
>> >> >>>>>>>>> should
>> >> >>>>>>>>> support both of it by default.
>> >> >>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>> >> model
>> >> >>>>>>>>> accordingly, extract soap version from your wsdl binding
>> part.
>> >> >>>>>>>>>
>> >> >>>>>>>>> Best Regards
>> >> >>>>>>>>>
>> >> >>>>>>>>> Freeman
>> >> >>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>> Florent wrote:
>> >> >>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>>> Hello,
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>> >> using
>> >> >>>>>>>>>> cxf.
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> I'd like to know if i can set the soap version. For
>> example,
>> >> when
>> >> >>>>>>>>>> i
>> >> >>>>>>>>>> was
>> >> >>>>>>>>>> using service-http, there was a SoapVersion attribute, but
>> i
>> >> >>>>>>>>>> didn't
>> >> >>>>>>>>>> find
>> >> >>>>>>>>>> one
>> >> >>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> Is soap 1.1 or 1.2 used?
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> Here is my xbean.xml :
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>> >> >>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>> >> >>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>       <cxfbc:consumer
>> >> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>> >> >>>>>>>>>>                         endpoint="ProtoBeanPort"
>> >> >>>>>>>>>>                         targetEndpoint="ProtoBean"
>> >> >>>>>>>>>>                        
>> targetService="ns1:ProtoBeanService"
>> >> >>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>> >> >>>>>>>>>>                         >
>> >> >>>>>>>>>>       </cxfbc:consumer>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>       <cxfbc:provider
>> >> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >>
>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>> >> >>>>>>>>>>                         service="ns1:ProtoBeanService"
>> >> >>>>>>>>>>                         endpoint="ProtoBean"
>> >> >>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>> >> >>>>>>>>>>                         >
>> >> >>>>>>>>>>       </cxfbc:provider>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> </beans>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>
>> >> >>>>
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>> >>
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13970889
>>
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13972266
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
You can add LoggingInInterceptor and LoggingOutInterceptor in
xbean.xml for cxf bc provider. You can get example from the test I
point in previous mail
Best Regards
On Nov 27, 2007 9:33 PM, Florent <fl...@sopragroup.com> wrote:
>
>
> Yes, that's exactly what i mean.
>
> The param tag didn't appear in my first for some obscur reason. That's why i
> was saying my SOAP message is correct.
>
> Is there any way to trace what is going on in the bus? Something better than
> the debug log?
> I'd like to check the SOAP message generated by the Servicemix Cxf bc
> provider.
>
>
>
>
> Freeman Fang wrote:
> >
> > You mean your request soap message already has < param> yourParam<
> > /param> element? and it still doesn't work ? (obviously I make a
> > mistake in my prevoious mail, I mismactch the response and request,
> > sorry for it)
> >
> >
> > On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
> >>
> >> There is a problem when i post the "param" tag : it does not appear in
> >> the
> >> forum post. I edited my previous message and put some spaces :
> >>
> >> <tns:getProtoDTO>
> >> < param>myparam</ param>
> >> </tns:getProtoDTO>
> >>
> >> Sorry, i didn't notice it in my first post. I think the misunderstanding
> >> came from that...
> >>
> >> Best Regards,
> >> Florent
> >>
> >>
> >>
> >> Florent wrote:
> >> >
> >> > Ok, i think i understand why you said my soap enveloppe in incorrect.
> >> >
> >> > Here is the one i'm using (in my first post, i have to admit it wasn't
> >> > correct) :
> >> >
> >> > <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> >> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> >> > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
> >> > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
> >> > xmlns:tns=\"http://ejb.proto.sopra.com\">
> >> > <env:Body>
> >> > <tns:getProtoDTO>
> >> > < param>myparam</ param>
> >>
> >> > </tns:getProtoDTO>
> >> > </env:Body>
> >> > </env:Envelope>
> >> >
> >> >
> >> >
> >> > Florent wrote:
> >> >>
> >> >>
> >> >> this :
> >> >>
> >> >> Standalone client <--> SOAP message <--> Servicemix cxf bc
> >> consumer<--->
> >> >> JBI message  <--->Servicemix Cxf bc provider <---> soap message
> >> >> <-->Websphere
> >> >> Application Server
> >> >>
> >> >> is exactly what i want to be done (and what i'm trying to do) :)
> >> >>
> >> >> According to your reply, i should use the following soap message :
> >> >>
> >> >> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> >> >> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> >> >> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
> >> >> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
> >> >> xmlns:tns=\"http://ejb.proto.sopra.com\">
> >> >> <env:Body>
> >> >> <tns:getProtoDTO>
> >> >> <date>2007-11-27T10:04:16.347Z</date>
> >> >> <dble>0.0</dble>
> >> >> <integ>1</integ>
> >> >> <liste>
> >> >> <string>s01</string><string>s02</string><string>s03</string>
> >> >> </liste>
> >> >> </tns:getProtoDTO>
> >> >> </env:Body>
> >> >> </env:Envelope>
> >> >>
> >> >> But, according to my wsdl, this is the response soap message, not the
> >> >> request one !
> >> >>
> >> >> Operation :
> >> >> <wsdl:operation name="getProtoDTO">
> >> >>        <wsdlsoap:operation soapAction="getProtoDTO"/>
> >> >>        <wsdl:input name="getProtoDTORequest">
> >> >>          <wsdlsoap:body use="literal"/>
> >> >>       </wsdl:input>
> >> >>        <wsdl:output name="getProtoDTOResponse">
> >> >>          <wsdlsoap:body use="literal"/>
> >> >>       </wsdl:output>
> >> >> </wsdl:operation>
> >> >>
> >> >> PortType :
> >> >> <wsdl:portType name="ProtoBean">
> >> >>      <wsdl:operation name="getProtoDTO">
> >> >>        <wsdl:input message="intf:getProtoDTORequest"
> >> >> name="getProtoDTORequest"/>
> >> >>        <wsdl:output message="intf:getProtoDTOResponse"
> >> >> name="getProtoDTOResponse"/>
> >> >>     </wsdl:operation>
> >> >> </wsdl:portType>
> >> >>
> >> >>
> >> >> Input / request :
> >> >> <wsdl:message name="getProtoDTORequest">
> >> >>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
> >> >> </wsdl:message>
> >> >>
> >> >> Element :
> >> >> <element name="getProtoDTO">
> >> >>     <complexType>
> >> >>      <sequence>
> >> >>       <element name="param" nillable="true" type="xsd:string"/>
> >> >>      </sequence>
> >> >>     </complexType>
> >> >> </element>
> >> >>
> >> >> Output / response :
> >> >> <wsdl:message name="getProtoDTOResponse">
> >> >>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
> >> >> </wsdl:message>
> >> >>
> >> >> Element :
> >> >> <element name="getProtoDTOResponse">
> >> >>     <complexType>
> >> >>      <sequence>
> >> >>       <element name="getProtoDTOReturn" nillable="true"
> >> >> type="tns2:ProtoDTO"/>
> >> >>      </sequence>
> >> >>     </complexType>
> >> >> </element>
> >> >>
> >> >> So, the output is the ProtoDTO complex type, and the input is a
> >> string.
> >> >>
> >> >> Did i misunderstand something? May be i'm confusing provider/consumer
> >> >> role?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Freeman Fang wrote:
> >> >>>
> >> >>> Comments in line
> >> >>>
> >> >>> Florent wrote:
> >> >>>> Morning Freeman,
> >> >>>>
> >> >>>> I tried to modify my SOAP message, but it didn't work : i still get
> >> the
> >> >>>> same
> >> >>>> error.
> >> >>>>
> >> >>> What's your new soap message now?
> >> >>>> I also tried to call the web service with this enveloppe and a
> >> >>>> standalone
> >> >>>> client : i got a "wrong parameter error".
> >> >>>>
> >> >>>> I think my SOAP message is correct : i tried to generate it from the
> >> >>>> RAD 7
> >> >>>> web service test and it was the same one. Plus, my business method
> >> has
> >> >>>> one
> >> >>>> parameter (a string) and a complex type as return type.
> >> >>>>
> >> >>> According to the schema from your wsdl, your soap messge
> >> >>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
> >> >>> element, there should be element <date> or <dble> or <integ> or
> >> <liste>
> >> >>>
> >> >>> Btw, different soap tool kit may generate soap message with little
> >> >>> different, which may cause interoperability problem
> >> >>>
> >> >>>> As i'm totally new to servicemix, so there is probably something i
> >> >>>> don't
> >> >>>> understand.
> >> >>>>
> >> >>>> What i want to do :
> >> >>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
> >> >>>> Application Server
> >> >>>>
> >> >>>> Considering the debug log, what i think it's going on :
> >> >>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
> >> >>>> Application Server
> >> >>>>
> >> >>> no, what's going on is
> >> >>>
> >> >>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
> >> >>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
> >> >>> Application Server
> >> >>>
> >> >>> So what's reach your websphere application server is soap message,
> >> not
> >> >>> jbi message.
> >> >>> May be you need refer to [1]  which is similiar as your scenario
> >> >>> [1]
> >> >>>
> >> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
> >> >>>
> >> >>>> So, i don't think WAS support JBI message... and that could explain
> >> my
> >> >>>> error
> >> >>>> (i no longer think it's a soap verion problem).
> >> >>>>
> >> >>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
> >> >>>> party
> >> >>>> web service URL.
> >> >>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
> >> >>>>
> >> >>>> I only want to call my web service, but i want to call it using a
> >> >>>> servicemix
> >> >>>> URL.
> >> >>>>
> >> >>>> Thanks again for your help,
> >> >>>> Best Regards,
> >> >>>> Florent.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> Freeman Fang wrote:
> >> >>>>
> >> >>>>> Hi Florent,
> >> >>>>>
> >> >>>>> This problem has nothing to do with soap version.
> >> >>>>>
> >> >>>>> The problem is that your hard code soap request message is not
> >> >>>>> correct.
> >> >>>>>
> >> >>>>> According to the schema in wsdl you append, it should be something
> >> >>>>> like
> >> >>>>>
> >> >>>>> <env:Envelope
> >> >>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >> >>>>> xmlns:en
> >> >>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >> >>>>> xmlns:xsd="http://www.w3.org/2001/
> >> >>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> >>>>> xmlns:tns="http
> >> >>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
> >> >>>>> <date>your date</date>
> >> >>>>> <dble>your dble</dble>
> >> >>>>> <integ>your integ</integ>
> >> >>>>> <liste>your liste</liste>
> >> >>>>> </tns:getPr
> >> >>>>> otoDTO></env:Body></env:Envelope>
> >> >>>>>
> >> >>>>> You shouldn't use
> >> >>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
> >> element
> >> >>>>> tag
> >> >>>>> defined in the schema.
> >> >>>>> For some complex schema, write soap message yourself is not so
> >> easy,
> >> >>>>> so we
> >> >>>>> prefer to use some soap tool kit to generate soap message for you,
> >> may
> >> >>>>> be
> >> >>>>> you can  try to use apache cxf, basically generate code stub from
> >> the
> >> >>>>> wsdl, and what you need do is just write client invoke code as
> >> normal
> >> >>>>> java
> >> >>>>> operation invoke and  cxf will genearate soap message for you.
> >> >>>>>
> >> >>>>> Would you please try it again?
> >> >>>>>
> >> >>>>> Best Regards
> >> >>>>>
> >> >>>>> Freeman
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>> Florent wrote:
> >> >>>>>
> >> >>>>>> Hi Freeman,
> >> >>>>>>
> >> >>>>>> Indeed,
> >> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
> >> >>>>>> use
> >> >>>>>> soap
> >> >>>>>> 1.1.
> >> >>>>>> But i don't know which soap version
> >> >>>>>> http://localhost:8092/ProtoBeanService/
> >> >>>>>> is using...
> >> >>>>>>
> >> >>>>>> The third party webservice is hosted by Websphere Application
> >> Server
> >> >>>>>> 6.1.
> >> >>>>>>
> >> >>>>>> I don't really know what cxf is doing to the message, is it
> >> possible
> >> >>>>>> to
> >> >>>>>> log/trace it?
> >> >>>>>>
> >> >>>>>> I enabled debug log and added interceptors in my xbean.xml, here
> >> is
> >> >>>>>> the
> >> >>>>>> output :
> >> >>>>>>
> >> >>>>>> INFO: Inbound Message
> >> >>>>>> --------------------------------------
> >> >>>>>> Encoding: utf-8
> >> >>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> >> >>>>>> Host=[ITEM-509
> >> >>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
> >> >>>>>> GMT],
> >> >>>>>> SOAPAct
> >> >>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> >> >>>>>> Cache-Control
> >> >>>>>> =[no-cache],
> >> Accept=[application/soap+xml,multipart/related,text/*]}
> >> >>>>>> Message:
> >> >>>>>> <env:Envelope
> >> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >> >>>>>> xmlns:en
> >> >>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >> >>>>>> xmlns:xsd="http://www.w3.org/2001/
> >> >>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> >>>>>> xmlns:tns="http
> >> >>>>>>
> >> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> >> >>>>>> otoDTO></env:Body></env:Envelope>
> >> >>>>>> --------------------------------------
> >> >>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>> DEBUG - DeliveryChannelImpl            - SendSync
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
> >> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >> >>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >> >>>>>> DEBUG - SedaQueue                      -
> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
> >> dequeued
> >> >>>>>> exchange: InOut[
> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>>   status: Active
> >> >>>>>>   role: provider
> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >> >>>>>>   endpoint: ProtoBean
> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >> >>>>>> xmlns:jbi="http://java.
> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >> >>>>>> version="1.0"><jbi:part><tns:
> >> >>>>>> getProtoDTO
> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >> >>>>>> otoDTO></jbi:part></jbi:message>
> >> >>>>>> ]
> >> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
> >> status:
> >> >>>>>> Active,
> >> >>>>>> role: provider
> >> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
> >> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >> >>>>>> DEBUG - SedaQueue                      -
> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
> >> dequeued
> >> >>>>>> exchange: InOut[
> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>>   status: Active
> >> >>>>>>   role: consumer
> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >> >>>>>>   endpoint: ProtoBean
> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >> >>>>>> xmlns:jbi="http://java.
> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >> >>>>>> version="1.0"><jbi:part><tns:
> >> >>>>>> getProtoDTO
> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >> >>>>>> otoDTO></jbi:part></jbi:message>
> >> >>>>>>   out: null
> >> >>>>>> ]
> >> >>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from
> >> >>>>>> processInboundSynchronousExchange
> >> >>>>>> DEBUG - DeliveryChannelImpl            - Notified:
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >> >>>>>> 26 nov. 2007 09:59:48
> >> >>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
> >> >>>>>> onClose
> >> >>>>>> INFO: Outbound Message
> >> >>>>>> --------------------------------------
> >> >>>>>> <soap:Envelope
> >> >>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
> >> >>>>>>  /></soap:Envelope>
> >> >>>>>> --------------------------------------
> >> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>> in DeliveryChannel{servicemix-cxf-bc}
> >> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >> >>>>>> DEBUG - SedaQueue                      -
> >> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
> >> dequeued
> >> >>>>>> exchange: InOut[
> >> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>>   status: Done
> >> >>>>>>   role: provider
> >> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >> >>>>>>   endpoint: ProtoBean
> >> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >> >>>>>> xmlns:jbi="http://java.
> >> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >> >>>>>> version="1.0"><jbi:part><tns:
> >> >>>>>> getProtoDTO
> >> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >> >>>>>> otoDTO></jbi:part></jbi:message>
> >> >>>>>>   out: null
> >> >>>>>> ]
> >> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
> >> status:
> >> >>>>>> Done,
> >> >>>>>> role:provider
> >> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >> >>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> >> >>>>>>         at
> >> >>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> >> >>>>>>         at
> >> >>>>>>
> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> >> >>>>>>         at
> >> >>>>>>
> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> >> >>>>>>         at java.lang.Thread.run(Thread.java:595)
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
> >> >>>>>> same
> >> >>>>>> one,
> >> >>>>>> except the service location) :
> >> >>>>>>
> >> >>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >> >>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
> >> >>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
> >> >>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
> >> >>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
> >> >>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >> >>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> >> >>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> >> >>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >> >>>>>>  <wsdl:types>
> >> >>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
> >> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >> >>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
> >> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >> >>>>>>                  <import
> >> namespace="http://dto.proto.mycompany.com" />
> >> >>>>>>                  <element name="getProtoDTOResponse">
> >> >>>>>>                          <complexType>
> >> >>>>>>                                  <sequence>
> >> >>>>>>                                          <element
> >> name="getProtoDTOReturn"
> >> >>>>>>                                                  nillable="true"
> >> type="tns2:ProtoDTO" />
> >> >>>>>>                                  </sequence>
> >> >>>>>>                          </complexType>
> >> >>>>>>                  </element>
> >> >>>>>>                  <element name="getProtoDTO">
> >> >>>>>>                          <complexType>
> >> >>>>>>                                  <sequence>
> >> >>>>>>                                          <element name="param"
> >> nillable="true"
> >> >>>>>>                                                  type="xsd:string"
> >> />
> >> >>>>>>                                  </sequence>
> >> >>>>>>                          </complexType>
> >> >>>>>>                  </element>
> >> >>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
> >> >>>>>>                          <sequence>
> >> >>>>>>                                  <element maxOccurs="unbounded"
> >> minOccurs="0"
> >> >>>>>>                                          name="string"
> >> nillable="true" type="xsd:string" />
> >> >>>>>>                          </sequence>
> >> >>>>>>                  </complexType>
> >> >>>>>>          </schema>
> >> >>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
> >> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >> >>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
> >> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >> >>>>>>                  <import
> >> namespace="http://ejb.proto.mycompany.com" />
> >> >>>>>>                  <complexType name="ProtoDTO">
> >> >>>>>>                          <sequence>
> >> >>>>>>                                  <element name="date"
> >> nillable="true"
> >> >>>>>>                                          type="xsd:dateTime" />
> >> >>>>>>                                  <element name="dble"
> >> nillable="true"
> >> >>>>>>                                          type="xsd:double" />
> >> >>>>>>                                  <element name="integ"
> >> type="xsd:int" />
> >> >>>>>>                                  <element name="liste"
> >> nillable="true"
> >> >>>>>>
> >> type="impl:ArrayOf_xsd_nillable_string" />
> >> >>>>>>                          </sequence>
> >> >>>>>>                  </complexType>
> >> >>>>>>          </schema>
> >> >>>>>>  </wsdl:types>
> >> >>>>>>
> >> >>>>>>  <wsdl:message name="getProtoDTORequest">
> >> >>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters"
> >> />
> >> >>>>>>
> >> >>>>>>  </wsdl:message>
> >> >>>>>>
> >> >>>>>>  <wsdl:message name="getProtoDTOResponse">
> >> >>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
> >> name="parameters" />
> >> >>>>>>
> >> >>>>>>  </wsdl:message>
> >> >>>>>>
> >> >>>>>>  <wsdl:portType name="ProtoBean">
> >> >>>>>>          <wsdl:operation name="getProtoDTO">
> >> >>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
> >> >>>>>>                          name="getProtoDTORequest" />
> >> >>>>>>
> >> >>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
> >> >>>>>>                          name="getProtoDTOResponse" />
> >> >>>>>>
> >> >>>>>>          </wsdl:operation>
> >> >>>>>>
> >> >>>>>>  </wsdl:portType>
> >> >>>>>>
> >> >>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
> >> >>>>>>
> >> >>>>>>          <wsdlsoap:binding style="document"
> >> >>>>>>                  transport="http://schemas.xmlsoap.org/soap/http"
> >> />
> >> >>>>>>
> >> >>>>>>          <wsdl:operation name="getProtoDTO">
> >> >>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
> >> >>>>>>
> >> >>>>>>                  <wsdl:input name="getProtoDTORequest">
> >> >>>>>>                          <wsdlsoap:body use="literal" />
> >> >>>>>>
> >> >>>>>>                  </wsdl:input>
> >> >>>>>>
> >> >>>>>>                  <wsdl:output name="getProtoDTOResponse">
> >> >>>>>>                          <wsdlsoap:body use="literal" />
> >> >>>>>>
> >> >>>>>>                  </wsdl:output>
> >> >>>>>>
> >> >>>>>>          </wsdl:operation>
> >> >>>>>>
> >> >>>>>>  </wsdl:binding>
> >> >>>>>>
> >> >>>>>>  <wsdl:service name="ProtoBeanService">
> >> >>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
> >> >>>>>>                  name="ProtoBean">
> >> >>>>>>                  <wsdlsoap:address
> >> >>>>>>
> >> location="http://localhost:8092/ProtoBeanService/" />
> >> >>>>>>
> >> >>>>>>          </wsdl:port>
> >> >>>>>>
> >> >>>>>>  </wsdl:service>
> >> >>>>>>
> >> >>>>>> </wsdl:definitions>
> >> >>>>>>
> >> >>>>>> Thanks in advance,
> >> >>>>>> Florent.
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Freeman Fang-2 wrote:
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>> Hi Florent,
> >> >>>>>>> Do you mean
> >> >>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use
> >> >>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
> >> 1.2?
> >> >>>>>>> Which soap toolkit are the third party webservice using?
> >> >>>>>>> Would you please append the wsdl used for two webservices?
> >> >>>>>>>
> >> >>>>>>> Best Regards
> >> >>>>>>>
> >> >>>>>>> Freeman
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>> Florent wrote:
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>>> If i use the following code to access to my web service, it
> >> works
> >> >>>>>>>> fine
> >> >>>>>>>> :
> >> >>>>>>>>
> >> >>>>>>>> String endpoint =
> >> >>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
> >> >>>>>>>>
> >> >>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
> >> >>>>>>>>                                                "<env:Envelope
> >> >>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
> >> >>>>>>>> " +
> >> >>>>>>>>
> >> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
> >> >>>>>>>>                                "<env:Body>" +
> >> >>>>>>>>                                "<tns:getProtoDTO>" +
> >> >>>>>>>>
> >> >>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
> >> >>>>>>>>                                "</tns:getProtoDTO>" +
> >> >>>>>>>>                                                "</env:Body>" +
> >> >>>>>>>>
> >> "</env:Envelope>";
> >> >>>>>>>>
> >> >>>>>>>>                MessageFactory mf = MessageFactory.newInstance();
> >> >>>>>>>>                SOAPMessage smsg = mf.createMessage(new
> >> MimeHeaders(), new
> >> >>>>>>>> ByteArrayInputStream(xml.getBytes()));
> >> >>>>>>>>
> >> >>>>>>>>                SOAPConnection conn =
> >> >>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
> >> >>>>>>>>         SOAPMessage response = conn.call(smsg, url);
> >> >>>>>>>>
> >> >>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>> If i try to call the fellowing url :
> >> >>>>>>>> http://localhost:8092/ProtoBeanService/
> >> >>>>>>>> i get an error : No SOAPAction header (Application server
> >> log)...
> >> >>>>>>>> That's
> >> >>>>>>>> why
> >> >>>>>>>> i was wondering about the soap version.
> >> >>>>>>>>
> >> >>>>>>>> I get the following error in servicemix log :
> >> >>>>>>>>
> >> >>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> >> >>>>>>>>         at
> >> >>>>>>>>
> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> >> >>>>>>>>         at java.lang.Thread.run(Thread.java:595)
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>> Any idea?
> >> >>>>>>>>
> >> >>>>>>>> Thank you in advance,
> >> >>>>>>>> Florent.
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>> Freeman Fang wrote:
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>> Hi,
> >> >>>>>>>>>
> >> >>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
> >> >>>>>>>>> should
> >> >>>>>>>>> support both of it by default.
> >> >>>>>>>>> Cxf bc will parse the wsdl you provided and create service
> >> model
> >> >>>>>>>>> accordingly, extract soap version from your wsdl binding part.
> >> >>>>>>>>>
> >> >>>>>>>>> Best Regards
> >> >>>>>>>>>
> >> >>>>>>>>> Freeman
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>> Florent wrote:
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>>> Hello,
> >> >>>>>>>>>>
> >> >>>>>>>>>> I'm trying to expose a third party webservice to the bus,
> >> using
> >> >>>>>>>>>> cxf.
> >> >>>>>>>>>>
> >> >>>>>>>>>> I'd like to know if i can set the soap version. For example,
> >> when
> >> >>>>>>>>>> i
> >> >>>>>>>>>> was
> >> >>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
> >> >>>>>>>>>> didn't
> >> >>>>>>>>>> find
> >> >>>>>>>>>> one
> >> >>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
> >> >>>>>>>>>>
> >> >>>>>>>>>> Is soap 1.1 or 1.2 used?
> >> >>>>>>>>>>
> >> >>>>>>>>>> Here is my xbean.xml :
> >> >>>>>>>>>>
> >> >>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >> >>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
> >> >>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
> >> >>>>>>>>>>
> >> >>>>>>>>>>       <cxfbc:consumer
> >> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
> >> >>>>>>>>>>                         endpoint="ProtoBeanPort"
> >> >>>>>>>>>>                         targetEndpoint="ProtoBean"
> >> >>>>>>>>>>                         targetService="ns1:ProtoBeanService"
> >> >>>>>>>>>>                         targetInterface="ns1:ProtoBean"
> >> >>>>>>>>>>                         >
> >> >>>>>>>>>>       </cxfbc:consumer>
> >> >>>>>>>>>>
> >> >>>>>>>>>>       <cxfbc:provider
> >> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
> >> >>>>>>>>>>                         service="ns1:ProtoBeanService"
> >> >>>>>>>>>>                         endpoint="ProtoBean"
> >> >>>>>>>>>>                         interfaceName="ns1:ProtoBean"
> >> >>>>>>>>>>                         >
> >> >>>>>>>>>>       </cxfbc:provider>
> >> >>>>>>>>>>
> >> >>>>>>>>>> </beans>
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
> >>
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13970889
>
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
Hi Florent,

Since you already have all cxf/servicemix source code in your eclipse, you
can write an end-to-end test and debug it very easily without writing the
jbi descriptor  mannually yourself. Just see the
CxfBcProviderConsumerTest.java from [1],  in this test, we start external
server and client, also launch cxf bc provider and consumer by means of
spring configuration, you can see the spring file from [2]
What you need do is write your test which is very similiar with this test.
1. write your spring configuration file like [2],  change serviceName,
interface, wsdl location, endpointName, etc according to your wsdl
2. start your external server, since you can start in your websphere,  no
need to start it in this test
3. start your client in this test

IIRC, you can't print cxf Message content by means of  using toString()
method,  so the I guess the message received in MessageObserver is not
empty.
Usually, the content in cxf message is stored as inputstream, we use stax to
parse it. If you want to see the how to print the message out, you can refer
to the LoggingInInterceptor from cxf, one important issue is the inputstream
is consumed after print message, so you need backup the stream.

[1]http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
[2]http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/cxf_provider_consumer_bridge.xml

Best Regards

Freeman

On Nov 30, 2007 10:25 PM, Florent <fl...@sopragroup.com> wrote:

>
>
> Hi Freeman,
>
> I'm still working on my problem... I built an eclipse environment with all
> cxf / servicemix sources.
> I created a JBI container, and added some breakpoints to debug, but
> without
> any success yet...
>
> The message received in the CxfBcProviderMessageObserver.onMessage method
> has no content...
>
> Here is "toString" value :
>
> {org.apache.cxf.message.Message.RESPONSE_CODE=200,
> org.apache.cxf.message.Message.ENCODING=null, Content-Type=text/xml;
> charset=utf-8,
> org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Length=[574],
> Content-Language=[fr-FR], Date=[Fri, 30 Nov 2007 13:59:30 GMT],
> Server=[WebSphere Application Server/6.1], content-type=[text/xml;
> charset=utf-8], null=[HTTP/1.1 200 OK]}}
>
> I'm wondering if i messed up something when i built my service assembly.
>
> My jbi.xml is :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
>  <services binding-component="false"/>
> </jbi>
>
> Is it correct?
>
> Best Regards,
> Florent.
>
>
>
> Freeman Fang-2 wrote:
> >
> > Hi Florent,
> > Do you still have problem so far?
> > One quick question, what's the response message  cxf client received
> > looks like when you use cxf client directly with websphere server?
> > You can use code per as below to add logger to show the inbound/outbound
> > message of the client
> >         ProtoBean port = service1.getProtoBean(); // port is your client
> > proxy
> >         ClientProxy.getClient(port).getInInterceptors().add(new
> > LoggingInInterceptor());
> >         ClientProxy.getClient(port).getOutInterceptors().add(new
> > LoggingOutInterceptor());
> >
> > For my test, the response message client received is
> > Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"],
> > Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8],
> > null=[HTTP/1.1 200 OK]}
> > Message:
> > <soap:Envelope
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Body><ns2:getProtoDTOResponse
> > xmlns:ns2="http://ejb.proto.mycompany.com
> "><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0
> </dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
> >
> > I compare it with your response message you append in your previous
> mail,
> >
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >       xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> >       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> >       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Header/>
> > <soapenv:Body>
> > <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> > <getProtoDTOReturn>
> > <date>2007-11-28T09:10:54.104Z</date>
> > <dble>0.0</dble>
> > <integ>1</integ>
> >
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> > </getProtoDTOReturn>
> > </p637:getProtoDTOResponse>
> > </soapenv:Body>
> > </soapenv:Envelope>
> >
> >
> > It's almost same, but you didn't paste the http header of response
> > message, so if you still get problem, probably it's caused by the
> > different header?
> >  I also notice a
> >
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> >
> > in your message,  but cxf doesn't support encoded style.
> >
> > Best Regards
> >
> > Freeman
> >
> > Florent wrote:
> >> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
> >>
> >> So, i created a CXF consumer using the wsdl2java tool.
> >>
> >> I created a java project and imported all the generated classes. I
> build
> >> my
> >> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie
> path.
> >>
> >> I got it working : i used the ProtoBean_ProtoBean_Client generated main
> >> class with the following parameter :
> >> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
> >>
> >> The web service call was successfully done.
> >>
> >>
> >>
> >> Freeman Fang wrote:
> >>
> >>> It's different with my test, but I am using cxf client and cxf server.
> >>> Would you please  use standalone cxf client invoke you websphere
> server
> >>> directly,  if it works, we can ensure it's not interoperability cause
> >>> this problem.
> >>> Sorry I have no websphere installed on my machine, so I can't do a
> quick
> >>> test for it.
> >>>
> >>> Best Regards
> >>>
> >>> Freeman
> >>>
> >>> Florent wrote:
> >>>
> >>>> Sadly, the response i get is "empty" :
> >>>>
> >>>> <soap:Envelope
> >>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Body/></soap:Envelope>
> >>>>
> >>>> Best Regards,
> >>>> Florent.
> >>>>
> >>>>
> >>>>
> >>>> Freeman Fang-2 wrote:
> >>>>
> >>>>
> >>>>> Hi Florent,
> >>>>>
> >>>>> You client side should already have correct response even with this
> >>>>> "Out
> >>>>> not supported" exception. Anyway I will try to fix it  soon.
> >>>>>
> >>>>> For cxf interceptor documents, I think [1] is a good place to start.
> >>>>>
> >>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
> >>>>>
> >>>>> Best Regards
> >>>>>
> >>>>> Freeman
> >>>>>
> >>>>> Florent wrote:
> >>>>>
> >>>>>
> >>>>>> Hi Freeman,
> >>>>>>
> >>>>>> Thanks for your post, it resolves a part of the problem. Indeed,
> the
> >>>>>> third
> >>>>>> party web service is called (i put a breakpoint to check it).
> >>>>>> Is there some documentation / examples of interceptor use, other
> than
> >>>>>> javadoc?
> >>>>>>
> >>>>>> Sadly, i still get the "Out not supported error".
> >>>>>>
> >>>>>> If i used my standalone client to call the WAS web service (without
> >>>>>> using
> >>>>>> servicemix), i get the following soap message :
> >>>>>>
> >>>>>> <soapenv:Envelope
> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> >>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> >>>>>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >>>>>> <soapenv:Header/>
> >>>>>> <soapenv:Body>
> >>>>>> <p637:getProtoDTOResponse
> >>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
> >>>>>> <getProtoDTOReturn>
> >>>>>> <date>2007-11-28T09:10:54.104Z</date>
> >>>>>> <dble>0.0</dble>
> >>>>>> <integ>1</integ>
> >>>>>>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> >>>>>> </getProtoDTOReturn>
> >>>>>> </p637:getProtoDTOResponse>
> >>>>>> </soapenv:Body>
> >>>>>> </soapenv:Envelope>
> >>>>>>
> >>>>>> Is there something wrong with it? or something servicemix cxf might
> >>>>>> not
> >>>>>> understand?
> >>>>>>
> >>>>>> Here is the debug log :
> >>>>>>
> >>>>>> INFO: Inbound Message
> >>>>>> --------------------------------------
> >>>>>> Encoding: utf-8
> >>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> >>>>>> Host=[localhos
> >>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
> >>>>>> GMT],
> >>>>>> SOAPActi
> >>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> >>>>>> Cache-Control=
> >>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
> >>>>>> Message:
> >>>>>> <env:Envelope
> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>> xmlns:en
> >>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>> xmlns:xsd="http://www.w3.org/2001/
> >>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>>> xmlns:tns="http
> >>>>>>
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> >>>>>> otoDTO></env:Body></env:Envelope>
> >>>>>> --------------------------------------
> >>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>> DEBUG - DeliveryChannelImpl            - SendSync
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> from sendSync
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>>   status: Active
> >>>>>>   role: provider
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com
> ">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>> ]
> >>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
> >>>>>> Active,
> >>>>>> role: provider
> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>>   status: Active
> >>>>>>   role: consumer
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com
> ">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>   out: null
> >>>>>> ]
> >>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
> >>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
> >>>>>> dSynchronousExchange
> >>>>>> DEBUG - DeliveryChannelImpl            - Notified:
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >>>>>> 28 nov. 2007 10:05:10
> >>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
> >>>>>> onClose
> >>>>>> INFO: Outbound Message
> >>>>>> --------------------------------------
> >>>>>> <soap:Envelope
> >>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
> >>>>>>  /></soap:Envelope>
> >>>>>> --------------------------------------
> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>>   status: Done
> >>>>>>   role: provider
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com
> ">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>   out: null
> >>>>>> ]
> >>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
> >>>>>> Done,
> >>>>>> role:provider
> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
> >>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(
> MessageExchangeImpl.java:357)
> >>>>>>         at
> >>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(
> CxfBcProviderMessageObserver.java:125)
> >>>>>>         at
> >>>>>>
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> (HTTPConduit.java:1932)
> >>>>>>         at
> >>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close
> (HTTPConduit.java:1790)
> >>>>>>         at
> >>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(
> CxfBcProvider.java:166)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(
> AsyncBaseLifeCycle.java:538)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(
> AsyncBaseLifeCycle.java:490)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(
> BaseLifeCycle.java:46)
> >>>>>>         at
> >>>>>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
> DeliveryChannelImpl.java:610)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
> AbstractFlow.java:170)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(
> SedaFlow.java:167)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(
> SedaQueue.java:134)
> >>>>>>         at
> >>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
> >>>>>>         at
> >>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:675)
> >>>>>>         at java.lang.Thread.run(Thread.java:595)
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Freeman Fang wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> Hi Florent,
> >>>>>>>
> >>>>>>> I just use your wsdl and create standalone client and server using
> >>>>>>> cxf,
> >>>>>>> and use servicemix cxf bc consumer and provider to simulate your
> >>>>>>> scenario, it works for me.
> >>>>>>>
> >>>>>>> The soap message after cxf bc provider is
> >>>>>>>
> >>>>>>> Encoding: UTF-8
> >>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10],
> >>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
> >>>>>>> Pragma=[no-cache],
> >>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache],
> >>>>>>> Accept=[*]}
> >>>>>>> Message:
> >>>>>>> <soap:Envelope
> >>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Body><ns2:getProtoDTO
> >>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com
> ">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
> >>>>>>>
> >>>>>>> Even there this no soapAction in http header, it works well with
> cxf
> >>>>>>> server. But as you said, your websphere server need this
> soapAction,
> >>>>>>> so
> >>>>>>> you can add
> >>>>>>>          <cxfbc:outInterceptors>
> >>>>>>>                      <bean
> >>>>>>> class="
> org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
> >>>>>>>           </cxfbc:outInterceptors>
> >>>>>>>
> >>>>>>> for your cxf bc provider configuration,  this interceptor will add
> >>>>>>> soapAction according to the wsdl to your message
> >>>>>>> after that, the soap message would be like
> >>>>>>> Encoding: UTF-8
> >>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10],
> >>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"],
> >>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
> >>>>>>> content-type=[text/xml;
> >>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
> >>>>>>> Message:
> >>>>>>> <soap:Envelope
> >>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Body><ns2:getProtoDTO
> >>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com
> ">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
> >>>>>>> I believe this way should work for you.
> >>>>>>>
> >>>>>>> Best Regards
> >>>>>>>
> >>>>>>> Freeman
> >>>>>>>
> >>>>>>> Florent wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> Yes, that's exactly what i mean.
> >>>>>>>>
> >>>>>>>> The param tag didn't appear in my first for some obscur reason.
> >>>>>>>> That's
> >>>>>>>> why i
> >>>>>>>> was saying my SOAP message is correct.
> >>>>>>>>
> >>>>>>>> Is there any way to trace what is going on in the bus? Something
> >>>>>>>> better
> >>>>>>>> than
> >>>>>>>> the debug log?
> >>>>>>>> I'd like to check the SOAP message generated by the Servicemix
> Cxf
> >>>>>>>> bc
> >>>>>>>> provider.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Freeman Fang wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> You mean your request soap message already has < param>
> yourParam<
> >>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
> >>>>>>>>> mistake in my prevoious mail, I mismactch the response and
> >>>>>>>>> request,
> >>>>>>>>> sorry for it)
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>> There is a problem when i post the "param" tag : it does not
> >>>>>>>>>> appear
> >>>>>>>>>> in
> >>>>>>>>>> the
> >>>>>>>>>> forum post. I edited my previous message and put some spaces :
> >>>>>>>>>>
> >>>>>>>>>> <tns:getProtoDTO>
> >>>>>>>>>> < param>myparam</ param>
> >>>>>>>>>> </tns:getProtoDTO>
> >>>>>>>>>>
> >>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
> >>>>>>>>>> misunderstanding
> >>>>>>>>>> came from that...
> >>>>>>>>>>
> >>>>>>>>>> Best Regards,
> >>>>>>>>>> Florent
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Florent wrote:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
> >>>>>>>>>>> incorrect.
> >>>>>>>>>>>
> >>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit
> it
> >>>>>>>>>>> wasn't
> >>>>>>>>>>> correct) :
> >>>>>>>>>>>
> >>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> >>>>>>>>>>> <env:Envelope
> >>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\<http://www.w3.org/2001/XMLSchema%5C>
> "
> >>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\<http://www.w3.org/2001/XMLSchema-instance%5C>
> "
> >>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\<http://ejb.proto.sopra.com%5C>
> ">
> >>>>>>>>>>> <env:Body>
> >>>>>>>>>>> <tns:getProtoDTO>
> >>>>>>>>>>> < param>myparam</ param>
> >>>>>>>>>>>
> >>>>>>>>>>> </tns:getProtoDTO>
> >>>>>>>>>>> </env:Body>
> >>>>>>>>>>> </env:Envelope>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Florent wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> this :
> >>>>>>>>>>>>
> >>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>> consumer<--->
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap
> message
> >>>>>>>>>>>> <-->Websphere
> >>>>>>>>>>>> Application Server
> >>>>>>>>>>>>
> >>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
> >>>>>>>>>>>> :)
> >>>>>>>>>>>>
> >>>>>>>>>>>> According to your reply, i should use the following soap
> >>>>>>>>>>>> message
> >>>>>>>>>>>> :
> >>>>>>>>>>>>
> >>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> >>>>>>>>>>>> <env:Envelope
> >>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\<http://www.w3.org/2001/XMLSchema%5C>
> "
> >>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\<http://www.w3.org/2001/XMLSchema-instance%5C>
> "
> >>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\<http://ejb.proto.sopra.com%5C>
> ">
> >>>>>>>>>>>> <env:Body>
> >>>>>>>>>>>> <tns:getProtoDTO>
> >>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
> >>>>>>>>>>>> <dble>0.0</dble>
> >>>>>>>>>>>> <integ>1</integ>
> >>>>>>>>>>>> <liste>
> >>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
> >>>>>>>>>>>> </liste>
> >>>>>>>>>>>> </tns:getProtoDTO>
> >>>>>>>>>>>> </env:Body>
> >>>>>>>>>>>> </env:Envelope>
> >>>>>>>>>>>>
> >>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
> >>>>>>>>>>>> not
> >>>>>>>>>>>> the
> >>>>>>>>>>>> request one !
> >>>>>>>>>>>>
> >>>>>>>>>>>> Operation :
> >>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
> >>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
> >>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
> >>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
> >>>>>>>>>>>>       </wsdl:input>
> >>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
> >>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
> >>>>>>>>>>>>       </wsdl:output>
> >>>>>>>>>>>> </wsdl:operation>
> >>>>>>>>>>>>
> >>>>>>>>>>>> PortType :
> >>>>>>>>>>>> <wsdl:portType name="ProtoBean">
> >>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
> >>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
> >>>>>>>>>>>> name="getProtoDTORequest"/>
> >>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
> >>>>>>>>>>>> name="getProtoDTOResponse"/>
> >>>>>>>>>>>>     </wsdl:operation>
> >>>>>>>>>>>> </wsdl:portType>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Input / request :
> >>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
> >>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO"
> name="parameters"/>
> >>>>>>>>>>>> </wsdl:message>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Element :
> >>>>>>>>>>>> <element name="getProtoDTO">
> >>>>>>>>>>>>     <complexType>
> >>>>>>>>>>>>      <sequence>
> >>>>>>>>>>>>       <element name="param" nillable="true"
> type="xsd:string"/>
> >>>>>>>>>>>>      </sequence>
> >>>>>>>>>>>>     </complexType>
> >>>>>>>>>>>> </element>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Output / response :
> >>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
> >>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
> >>>>>>>>>>>> name="parameters"/>
> >>>>>>>>>>>> </wsdl:message>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Element :
> >>>>>>>>>>>> <element name="getProtoDTOResponse">
> >>>>>>>>>>>>     <complexType>
> >>>>>>>>>>>>      <sequence>
> >>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
> >>>>>>>>>>>> type="tns2:ProtoDTO"/>
> >>>>>>>>>>>>      </sequence>
> >>>>>>>>>>>>     </complexType>
> >>>>>>>>>>>> </element>
> >>>>>>>>>>>>
> >>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is
> a
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>> string.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
> >>>>>>>>>>>> provider/consumer
> >>>>>>>>>>>> role?
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Freeman Fang wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Comments in line
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Florent wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Morning Freeman,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
> >>>>>>>>>>>>>> still
> >>>>>>>>>>>>>> get
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>> the
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>> same
> >>>>>>>>>>>>>> error.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> What's your new soap message now?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> I also tried to call the web service with this enveloppe
> and
> >>>>>>>>>>>>>> a
> >>>>>>>>>>>>>> standalone
> >>>>>>>>>>>>>> client : i got a "wrong parameter error".
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
> >>>>>>>>>>>>>> from
> >>>>>>>>>>>>>> the
> >>>>>>>>>>>>>> RAD 7
> >>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
> >>>>>>>>>>>>>> method
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>> has
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>> one
> >>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
> >>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
> >>>>>>>>>>>>> <getProtoDTO>
> >>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
> >>>>>>>>>>>>> or
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>> <liste>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
> >>>>>>>>>>>>> little
> >>>>>>>>>>>>> different, which may cause interoperability problem
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
> >>>>>>>>>>>>>> something
> >>>>>>>>>>>>>> i
> >>>>>>>>>>>>>> don't
> >>>>>>>>>>>>>> understand.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> What i want to do :
> >>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
> >>>>>>>>>>>>>> <-->Websphere
> >>>>>>>>>>>>>> Application Server
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
> >>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
> >>>>>>>>>>>>>> <-->Websphere
> >>>>>>>>>>>>>> Application Server
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> no, what's going on is
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI
> message
> >>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
> >>>>>>>>>>>>> <-->Websphere
> >>>>>>>>>>>>> Application Server
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> So what's reach your websphere application server is soap
> >>>>>>>>>>>>> message,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>> not
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>> jbi message.
> >>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
> >>>>>>>>>>>>> scenario
> >>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>
> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
> >>>>>>>>>>>>>> explain
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>> my
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>> error
> >>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean=
> >>>>>>>>>>>>>> thrid
> >>>>>>>>>>>>>> party
> >>>>>>>>>>>>>> web service URL.
> >>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
> >>>>>>>>>>>>>> service.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I only want to call my web service, but i want to call it
> >>>>>>>>>>>>>> using
> >>>>>>>>>>>>>> a
> >>>>>>>>>>>>>> servicemix
> >>>>>>>>>>>>>> URL.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks again for your help,
> >>>>>>>>>>>>>> Best Regards,
> >>>>>>>>>>>>>> Florent.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Freeman Fang wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Hi Florent,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> This problem has nothing to do with soap version.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> The problem is that your hard code soap request message is
> >>>>>>>>>>>>>>> not
> >>>>>>>>>>>>>>> correct.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
> >>>>>>>>>>>>>>> something
> >>>>>>>>>>>>>>> like
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> <env:Envelope
> >>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>>>>>> xmlns:en
> >>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
> >>>>>>>>>>>>>>> XMLSchema"
> >>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>>>>>>>>>>>> xmlns:tns="http
> >>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
> >>>>>>>>>>>>>>> <date>your date</date>
> >>>>>>>>>>>>>>> <dble>your dble</dble>
> >>>>>>>>>>>>>>> <integ>your integ</integ>
> >>>>>>>>>>>>>>> <liste>your liste</liste>
> >>>>>>>>>>>>>>> </tns:getPr
> >>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> You shouldn't use
> >>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
> >>>>>>>>>>>>>>> without
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>> element
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>> tag
> >>>>>>>>>>>>>>> defined in the schema.
> >>>>>>>>>>>>>>> For some complex schema, write soap message yourself is
> not
> >>>>>>>>>>>>>>> so
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>> easy,
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>> so we
> >>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
> >>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>> you,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>> may
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>> be
> >>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code
> stub
> >>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>> the
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke
> code
> >>>>>>>>>>>>>>> as
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>> normal
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>> java
> >>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
> >>>>>>>>>>>>>>> you.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Would you please try it again?
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Best Regards
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Freeman
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Florent wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Hi Freeman,
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Indeed,
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>> soap
> >>>>>>>>>>>>>>>> 1.1.
> >>>>>>>>>>>>>>>> But i don't know which soap version
> >>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
> >>>>>>>>>>>>>>>> is using...
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
> >>>>>>>>>>>>>>>> Application
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> Server
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> 6.1.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is
> it
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> possible
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>> log/trace it?
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my
> xbean.xml,
> >>>>>>>>>>>>>>>> here
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> is
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>> output :
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> INFO: Inbound Message
> >>>>>>>>>>>>>>>> --------------------------------------
> >>>>>>>>>>>>>>>> Encoding: utf-8
> >>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
> >>>>>>>>>>>>>>>> WebServices/1.0],
> >>>>>>>>>>>>>>>> Host=[ITEM-509
> >>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
> >>>>>>>>>>>>>>>> 08:59:47
> >>>>>>>>>>>>>>>> GMT],
> >>>>>>>>>>>>>>>> SOAPAct
> >>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
> >>>>>>>>>>>>>>>> charset=utf-8],
> >>>>>>>>>>>>>>>> Cache-Control
> >>>>>>>>>>>>>>>> =[no-cache],
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> Message:
> >>>>>>>>>>>>>>>> <env:Envelope
> >>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>>>>>>> xmlns:en
> >>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
> >>>>>>>>>>>>>>>> XMLSchema"
> >>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>>>>>>>>>>>>> xmlns:tns="http
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
> >>>>>>>>>>>>>>>> --------------------------------------
> >>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
> >>>>>>>>>>>>>>>> correlation
> >>>>>>>>>>>>>>>> id:
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
> >>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
> >>>>>>>>>>>>>>>> exchange
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be
> answered
> >>>>>>>>>>>>>>>> in
> >>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
> >>>>>>>>>>>>>>>>
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> dequeued
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> exchange: InOut[
> >>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>>   status: Active
> >>>>>>>>>>>>>>>>   role: provider
> >>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>>>>>>>>>>>   service: {
> http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>>>>>>>>>>>   endpoint: ProtoBean
> >>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>>>>>>>>>>>> xmlns:jbi="http://java.
> >>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
> >>>>>>>>>>>>>>>> getProtoDTO
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>>>>>>>>>>> ]
> >>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
> exchange:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> status:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> Active,
> >>>>>>>>>>>>>>>> role: provider
> >>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
> >>>>>>>>>>>>>>>> correlation
> >>>>>>>>>>>>>>>> id:
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
> >>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
> >>>>>>>>>>>>>>>>
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> dequeued
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> exchange: InOut[
> >>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>>   status: Active
> >>>>>>>>>>>>>>>>   role: consumer
> >>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>>>>>>>>>>>   service: {
> http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>>>>>>>>>>>   endpoint: ProtoBean
> >>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>>>>>>>>>>>> xmlns:jbi="http://java.
> >>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
> >>>>>>>>>>>>>>>> getProtoDTO
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>>>>>>>>>>>   out: null
> >>>>>>>>>>>>>>>> ]
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying
> exchange
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
> >>>>>>>>>>>>>>>> processInboundSynchronousExchange
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
> >>>>>>>>>>>>>>>>
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
> >>>>>>>>>>>>>>>> onClose
> >>>>>>>>>>>>>>>> INFO: Outbound Message
> >>>>>>>>>>>>>>>> --------------------------------------
> >>>>>>>>>>>>>>>> <soap:Envelope
> >>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Body
> >>>>>>>>>>>>>>>>  /></soap:Envelope>
> >>>>>>>>>>>>>>>> --------------------------------------
> >>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
> >>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
> >>>>>>>>>>>>>>>>
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> dequeued
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> exchange: InOut[
> >>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>>   status: Done
> >>>>>>>>>>>>>>>>   role: provider
> >>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean<http://ejb.proto.mycompany.com%7DProtoBean>
> >>>>>>>>>>>>>>>>   service: {
> http://ejb.proto.mycompany.com}ProtoBeanService<http://ejb.proto.mycompany.com%7DProtoBeanService>
> >>>>>>>>>>>>>>>>   endpoint: ProtoBean
> >>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO<http://ejb.proto.mycompany.com%7DgetProtoDTO>
> >>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>>>>>>>>>>>> xmlns:jbi="http://java.
> >>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
> >>>>>>>>>>>>>>>> getProtoDTO
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>>>>>>>>>>>   out: null
> >>>>>>>>>>>>>>>> ]
> >>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
> exchange:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> status:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>> Done,
> >>>>>>>>>>>>>>>> role:provider
> >>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
> >>>>>>>>>>>>>>>> correlation
> >>>>>>>>>>>>>>>> id:
> >>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(
> MessageExchangeImpl.java:357)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(
> CxfBcProviderMessageObserver.java:125)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> (HTTPConduit.java:1932)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
> HTTPConduit.java:1790)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(
> CxfBcProvider.java:166)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(
> AsyncBaseLifeCycle.java:538)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange
> (AsyncBaseLifeCycle.java:490)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(
> BaseLifeCycle.java:46)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
> DeliveryChannelImpl.java:610)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
> AbstractFlow.java:170)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(
> SedaFlow.java:167)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(
> SedaQueue.java:134)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:675)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the
> AS
> >>>>>>>>>>>>>>>> is
> >>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>> same
> >>>>>>>>>>>>>>>> one,
> >>>>>>>>>>>>>>>> except the service location) :
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >>>>>>>>>>>>>>>> <wsdl:definitions
> >>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
> >>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
> >>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
> >>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
> >>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> >>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> >>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>>>>>>>>>>>  <wsdl:types>
> >>>>>>>>>>>>>>>>          <schema
> >>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
> >>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>>>>>>>>>>>                  <import
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
> >>>>>>>>>>>>>>>>                          <complexType>
> >>>>>>>>>>>>>>>>                                  <sequence>
> >>>>>>>>>>>>>>>>                                          <element
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> name="getProtoDTOReturn"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> nillable="true"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> type="tns2:ProtoDTO" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                                  </sequence>
> >>>>>>>>>>>>>>>>                          </complexType>
> >>>>>>>>>>>>>>>>                  </element>
> >>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
> >>>>>>>>>>>>>>>>                          <complexType>
> >>>>>>>>>>>>>>>>                                  <sequence>
> >>>>>>>>>>>>>>>>                                          <element
> >>>>>>>>>>>>>>>> name="param"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> nillable="true"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> type="xsd:string"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                                  </sequence>
> >>>>>>>>>>>>>>>>                          </complexType>
> >>>>>>>>>>>>>>>>                  </element>
> >>>>>>>>>>>>>>>>                  <complexType
> >>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
> >>>>>>>>>>>>>>>>                          <sequence>
> >>>>>>>>>>>>>>>>                                  <element
> >>>>>>>>>>>>>>>> maxOccurs="unbounded"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> minOccurs="0"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                                          name="string"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> nillable="true" type="xsd:string" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                          </sequence>
> >>>>>>>>>>>>>>>>                  </complexType>
> >>>>>>>>>>>>>>>>          </schema>
> >>>>>>>>>>>>>>>>          <schema
> >>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
> >>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>>>>>>>>>>>                  <import
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
> >>>>>>>>>>>>>>>>                          <sequence>
> >>>>>>>>>>>>>>>>                                  <element name="date"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> nillable="true"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> type="xsd:dateTime"
> >>>>>>>>>>>>>>>> />
> >>>>>>>>>>>>>>>>                                  <element name="dble"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> nillable="true"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>
>  type="xsd:double"
> >>>>>>>>>>>>>>>> />
> >>>>>>>>>>>>>>>>                                  <element name="integ"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> type="xsd:int" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                                  <element name="liste"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> nillable="true"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>                          </sequence>
> >>>>>>>>>>>>>>>>                  </complexType>
> >>>>>>>>>>>>>>>>          </schema>
> >>>>>>>>>>>>>>>>  </wsdl:types>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
> >>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
> >>>>>>>>>>>>>>>> name="parameters"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>  </wsdl:message>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
> >>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> name="parameters" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>  </wsdl:message>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
> >>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
> >>>>>>>>>>>>>>>>                  <wsdl:input
> >>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
> >>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>                  <wsdl:output
> >>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
> >>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>          </wsdl:operation>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  </wsdl:portType>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
> >>>>>>>>>>>>>>>> type="intf:ProtoBean">
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
> >>>>>>>>>>>>>>>>                  <wsdlsoap:operation
> >>>>>>>>>>>>>>>> soapAction="getProtoDTO"
> >>>>>>>>>>>>>>>> />
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
> >>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>                  </wsdl:input>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
> >>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>                  </wsdl:output>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>          </wsdl:operation>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  </wsdl:binding>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
> >>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
> >>>>>>>>>>>>>>>>                  name="ProtoBean">
> >>>>>>>>>>>>>>>>                  <wsdlsoap:address
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>          </wsdl:port>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>  </wsdl:service>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> </wsdl:definitions>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Thanks in advance,
> >>>>>>>>>>>>>>>> Florent.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Hi Florent,
> >>>>>>>>>>>>>>>>> Do you mean
> >>>>>>>>>>>>>>>>>
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
> >>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
> >>>>>>>>>>>>>>>>> soap
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>> 1.2?
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
> >>>>>>>>>>>>>>>>> Would you please append the wsdl used for two
> webservices?
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Best Regards
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Freeman
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Florent wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> If i use the following code to access to my web
> service,
> >>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> works
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>> fine
> >>>>>>>>>>>>>>>>>> :
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> String endpoint =
> >>>>>>>>>>>>>>>>>> "
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\"
> encoding=\"UTF-8\"?>"
> >>>>>>>>>>>>>>>>>> +
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> "<env:Envelope
> >>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\<http://schemas.xmlsoap.org/soap/envelope/%5C>
> "
> >>>>>>>>>>>>>>>>>> " +
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\<http://ejb.proto.mycompany.com%5C>">"
> +
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>                                "<env:Body>" +
> >>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
> >>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> "</env:Body>"
> >>>>>>>>>>>>>>>>>> +
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> "</env:Envelope>";
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>                MessageFactory mf =
> >>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
> >>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> MimeHeaders(), new
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>                SOAPConnection conn =
> >>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
> >>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
> >>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
> >>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
> >>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application
> server
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> log)...
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>> That's
> >>>>>>>>>>>>>>>>>> why
> >>>>>>>>>>>>>>>>>> i was wondering about the soap version.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
> supported
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(
> MessageExchangeImpl.java:357)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(
> CxfBcProviderMessageObserver.java:125)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> (HTTPConduit.java:1932)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
> HTTPConduit.java:1790)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(
> CxfBcProvider.java:166)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(
> AsyncBaseLifeCycle.java:538)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange
> (AsyncBaseLifeCycle.java:490)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(
> BaseLifeCycle.java:46)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
> DeliveryChannelImpl.java:610)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
> AbstractFlow.java:170)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(
> SedaFlow.java:167)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(
> SedaQueue.java:134)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:675)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Any idea?
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Thank you in advance,
> >>>>>>>>>>>>>>>>>> Florent.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Freeman Fang wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint
> configuration.
> >>>>>>>>>>>>>>>>>>> Cxf
> >>>>>>>>>>>>>>>>>>> bc
> >>>>>>>>>>>>>>>>>>> should
> >>>>>>>>>>>>>>>>>>> support both of it by default.
> >>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
> >>>>>>>>>>>>>>>>>>> service
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> model
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl
> binding
> >>>>>>>>>>>>>>>>>>> part.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Best Regards
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Freeman
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Florent wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Hello,
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
> >>>>>>>>>>>>>>>>>>>> bus,
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> using
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> cxf.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
> >>>>>>>>>>>>>>>>>>>> example,
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> when
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> i
> >>>>>>>>>>>>>>>>>>>> was
> >>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion
> attribute,
> >>>>>>>>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>>>> i
> >>>>>>>>>>>>>>>>>>>> didn't
> >>>>>>>>>>>>>>>>>>>> find
> >>>>>>>>>>>>>>>>>>>> one
> >>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >>>>>>>>>>>>>>>>>>>> <beans
> >>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
> >>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
> >>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:
> ProtoBean.wsdl"
> >>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
> >>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
> >>>>>>>>>>>>>>>>>>>>
> targetInterface="ns1:ProtoBean"
> >>>>>>>>>>>>>>>>>>>>                         >
> >>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
> >>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:
> ProtoBean.wsdl"
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> locationURI="
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> service="ns1:ProtoBeanService"
> >>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
> >>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
> >>>>>>>>>>>>>>>>>>>>                         >
> >>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> </beans>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> View this message in context:
> >>>>>>>>>>
> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
> >>>>>>>>>>
> >>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
> >>>>>>>>>> Nabble.com.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14064455
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Hi Freeman, 

I'm still working on my problem... I built an eclipse environment with all
cxf / servicemix sources.
I created a JBI container, and added some breakpoints to debug, but without
any success yet...

The message received in the CxfBcProviderMessageObserver.onMessage method
has no content...

Here is "toString" value :

{org.apache.cxf.message.Message.RESPONSE_CODE=200,
org.apache.cxf.message.Message.ENCODING=null, Content-Type=text/xml;
charset=utf-8,
org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Length=[574],
Content-Language=[fr-FR], Date=[Fri, 30 Nov 2007 13:59:30 GMT],
Server=[WebSphere Application Server/6.1], content-type=[text/xml;
charset=utf-8], null=[HTTP/1.1 200 OK]}}

I'm wondering if i messed up something when i built my service assembly.

My jbi.xml is :

<?xml version="1.0" encoding="UTF-8"?>
<jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
  <services binding-component="false"/>
</jbi>

Is it correct?

Best Regards,
Florent.



Freeman Fang-2 wrote:
> 
> Hi Florent,
> Do you still have problem so far?
> One quick question, what's the response message  cxf client received 
> looks like when you use cxf client directly with websphere server?
> You can use code per as below to add logger to show the inbound/outbound 
> message of the client
>         ProtoBean port = service1.getProtoBean(); // port is your client 
> proxy
>         ClientProxy.getClient(port).getInInterceptors().add(new 
> LoggingInInterceptor());
>         ClientProxy.getClient(port).getOutInterceptors().add(new 
> LoggingOutInterceptor());
> 
> For my test, the response message client received is
> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
> null=[HTTP/1.1 200 OK]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
> 
> I compare it with your response message you append in your previous mail,
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header/>
> <soapenv:Body>
> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> <getProtoDTOReturn>
> <date>2007-11-28T09:10:54.104Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> </getProtoDTOReturn>
> </p637:getProtoDTOResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 
> 
> It's almost same, but you didn't paste the http header of response 
> message, so if you still get problem, probably it's caused by the 
> different header?
>  I also notice a
> 
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 
> in your message,  but cxf doesn't support encoded style.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>
>> So, i created a CXF consumer using the wsdl2java tool. 
>>
>> I created a java project and imported all the generated classes. I build
>> my
>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>>
>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>> class with the following parameter : 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>
>> The web service call was successfully done.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> It's different with my test, but I am using cxf client and cxf server.
>>> Would you please  use standalone cxf client invoke you websphere server 
>>> directly,  if it works, we can ensure it's not interoperability cause 
>>> this problem.
>>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>>> test for it.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Sadly, the response i get is "empty" : 
>>>>
>>>> <soap:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>>
>>>>> You client side should already have correct response even with this
>>>>> "Out 
>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>
>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>
>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>>> third
>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>> Is there some documentation / examples of interceptor use, other than
>>>>>> javadoc?
>>>>>>
>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>
>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>> using
>>>>>> servicemix), i get the following soap message :
>>>>>>
>>>>>> <soapenv:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>> <soapenv:Header/>
>>>>>> <soapenv:Body>
>>>>>> <p637:getProtoDTOResponse
>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>> <getProtoDTOReturn>
>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>> <dble>0.0</dble>
>>>>>> <integ>1</integ>
>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>> </getProtoDTOReturn>
>>>>>> </p637:getProtoDTOResponse>
>>>>>> </soapenv:Body>
>>>>>> </soapenv:Envelope>
>>>>>>
>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>> not
>>>>>> understand?
>>>>>>
>>>>>> Here is the debug log :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[localhos
>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>> GMT],
>>>>>> SOAPActi
>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control=
>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>> dSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 28 nov. 2007 10:05:10
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi Florent,
>>>>>>>
>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>> cxf, 
>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>> scenario, it works for me.
>>>>>>>
>>>>>>> The soap message after cxf bc provider is
>>>>>>>
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>> Pragma=[no-cache], 
>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>> Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>
>>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>>> so 
>>>>>>> you can add
>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>                      <bean 
>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>
>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>> soapAction according to the wsdl to your message
>>>>>>> after that, the soap message would be like
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>> content-type=[text/xml; 
>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>> I believe this way should work for you.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>
>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>> That's
>>>>>>>> why i
>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>
>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>> better
>>>>>>>> than
>>>>>>>> the debug log?
>>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf
>>>>>>>> bc
>>>>>>>> provider.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>> request,
>>>>>>>>> sorry for it)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>> appear
>>>>>>>>>> in
>>>>>>>>>> the
>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>
>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>> misunderstanding
>>>>>>>>>> came from that...
>>>>>>>>>>
>>>>>>>>>> Best Regards,
>>>>>>>>>> Florent
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>> incorrect.
>>>>>>>>>>>
>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>>> wasn't
>>>>>>>>>>> correct) :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>> <env:Body>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>         
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>> </env:Body>
>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> this :
>>>>>>>>>>>>
>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> consumer<--->
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>> :)
>>>>>>>>>>>>
>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>> message
>>>>>>>>>>>> :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>> <liste>
>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>> </liste>
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>> not
>>>>>>>>>>>> the
>>>>>>>>>>>> request one !
>>>>>>>>>>>>
>>>>>>>>>>>> Operation :
>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>> PortType :
>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Input / request :
>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> Output / response :
>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> string.
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>> role?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>> still
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> same
>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> has
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> one
>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>> or
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> <liste>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>> little
>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>> something
>>>>>>>>>>>>>> i
>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>> message,
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> not
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>> scenario
>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> my
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> error
>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>> party
>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> element
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not
>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> easy,
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> may
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code
>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> normal
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Server
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> possible
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> is
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered
>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> minOccurs="0"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          type="xsd:double"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="parameters" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>> 1.2?
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> If i use the following code to access to my web service,
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> works
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> log)...
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>> model
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> using
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> when
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>
>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14064455
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@iona.com>.
Cheers

:-)



Florent wrote:
> Hi Freeman,
>
> I built the servicemix-cxf-bc component yesterday night, and it solves my
> problem.
>
> Thanks again,
> Florent.
>
>
> Florent wrote:
>   
>> Hi Freeman,
>>
>> Thanks a lot for this fix. 
>>
>> Sadly, i can't check it out now because my company firewall doesn't let me
>> access to the svn repository (maven also doesn't work for same reason).
>>
>> Is there a way to get the installer? i guess i only need
>> servicemix-cxf-bc-3.2-installer.zip
>> Else, i'll do it tonight, at home...
>>
>> Thanks in advance,
>> Florent.
>>
>>
>>
>> Freeman Fang-2 wrote:
>>     
>>> Hi Florent,
>>>
>>> I use your message to test and finally got the reason, the empty soap 
>>> header (soapenv:Header/>) in your message cause the problem.
>>> I just fix it [1] and  other one [2], "Out not supported" exception.
>>>
>>> [1] http://issues.apache.org/activemq/browse/SM-1158
>>> [2] http://issues.apache.org/activemq/browse/SM-1159
>>>
>>> You can get it from the trunk.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>       
>>>> Hi Freeman,
>>>>
>>>> Indeed, I still have problem. I did add logger, here is the result :
>>>>
>>>> Invoking getProtoDTO...
>>>> 29 nov. 2007 10:22:30
>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>>>> INFO: Outbound Message:
>>>> --------------------------------------
>>>> <soap:Envelope
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
>>>> xmlns:ns2="http://ejb.proto.mycompany.com">< param>ddd</
>>>> param></ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------
>>>>
>>>> 29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
>>>> handleMessage
>>>> INFO: Inbound Message
>>>> --------------------------------------
>>>> Encoding: UTF-8
>>>> Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29
>>>> Nov
>>>> 2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
>>>> content-type=[text/xml; charset=utf-8]}
>>>> Message:
>>>> <soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
>>>> xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
>>>> --------------------------------------
>>>> getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441
>>>>
>>>>
>>>> About encoding style, i don't think i can modifiy the soap message
>>>> returned
>>>> by WAS.
>>>>
>>>> Is it a real problem for cxf?
>>>>
>>>>
>>>> EIDT : i forgot to add the param tag.
>>>>
>>>> Best Regards, 
>>>> Florent.
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>         
>>>>> Hi Florent,
>>>>> Do you still have problem so far?
>>>>> One quick question, what's the response message  cxf client received 
>>>>> looks like when you use cxf client directly with websphere server?
>>>>> You can use code per as below to add logger to show the
>>>>> inbound/outbound 
>>>>> message of the client
>>>>>         ProtoBean port = service1.getProtoBean(); // port is your
>>>>> client 
>>>>> proxy
>>>>>         ClientProxy.getClient(port).getInInterceptors().add(new 
>>>>> LoggingInInterceptor());
>>>>>         ClientProxy.getClient(port).getOutInterceptors().add(new 
>>>>> LoggingOutInterceptor());
>>>>>
>>>>> For my test, the response message client received is
>>>>> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
>>>>> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
>>>>> null=[HTTP/1.1 200 OK]}
>>>>> Message:
>>>>> <soap:Envelope 
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
>>>>> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
>>>>>
>>>>> I compare it with your response message you append in your previous
>>>>> mail,
>>>>>
>>>>> <soapenv:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>> <soapenv:Header/>
>>>>> <soapenv:Body>
>>>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>>>> <getProtoDTOReturn>
>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>> <dble>0.0</dble>
>>>>> <integ>1</integ>
>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>> </getProtoDTOReturn>
>>>>> </p637:getProtoDTOResponse>
>>>>> </soapenv:Body>
>>>>> </soapenv:Envelope>
>>>>>
>>>>>
>>>>> It's almost same, but you didn't paste the http header of response 
>>>>> message, so if you still get problem, probably it's caused by the 
>>>>> different header?
>>>>>  I also notice a
>>>>>
>>>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>
>>>>> in your message,  but cxf doesn't support encoded style.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>           
>>>>>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>>>>>
>>>>>> So, i created a CXF consumer using the wsdl2java tool. 
>>>>>>
>>>>>> I created a java project and imported all the generated classes. I
>>>>>> build
>>>>>> my
>>>>>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie
>>>>>> path.
>>>>>>
>>>>>> I got it working : i used the ProtoBean_ProtoBean_Client generated
>>>>>> main
>>>>>> class with the following parameter : 
>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>
>>>>>> The web service call was successfully done.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>             
>>>>>>> It's different with my test, but I am using cxf client and cxf
>>>>>>> server.
>>>>>>> Would you please  use standalone cxf client invoke you websphere
>>>>>>> server 
>>>>>>> directly,  if it works, we can ensure it's not interoperability cause 
>>>>>>> this problem.
>>>>>>> Sorry I have no websphere installed on my machine, so I can't do a
>>>>>>> quick 
>>>>>>> test for it.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>               
>>>>>>>> Sadly, the response i get is "empty" : 
>>>>>>>>
>>>>>>>> <soap:Envelope
>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> Florent.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>                 
>>>>>>>>> Hi Florent,
>>>>>>>>>
>>>>>>>>> You client side should already have correct response even with this
>>>>>>>>> "Out 
>>>>>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>>>>>
>>>>>>>>> For cxf interceptor documents, I think [1] is a good place to
>>>>>>>>> start.
>>>>>>>>>
>>>>>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> Freeman
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                   
>>>>>>>>>> Hi Freeman,
>>>>>>>>>>
>>>>>>>>>> Thanks for your post, it resolves a part of the problem. Indeed,
>>>>>>>>>> the
>>>>>>>>>> third
>>>>>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>>>>>> Is there some documentation / examples of interceptor use, other
>>>>>>>>>> than
>>>>>>>>>> javadoc?
>>>>>>>>>>
>>>>>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>>>>>
>>>>>>>>>> If i used my standalone client to call the WAS web service
>>>>>>>>>> (without
>>>>>>>>>> using
>>>>>>>>>> servicemix), i get the following soap message :
>>>>>>>>>>
>>>>>>>>>> <soapenv:Envelope
>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>>>>>> <soapenv:Header/>
>>>>>>>>>> <soapenv:Body>
>>>>>>>>>> <p637:getProtoDTOResponse
>>>>>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>>>>>> <getProtoDTOReturn>
>>>>>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>> <integ>1</integ>
>>>>>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>>>>>> </getProtoDTOReturn>
>>>>>>>>>> </p637:getProtoDTOResponse>
>>>>>>>>>> </soapenv:Body>
>>>>>>>>>> </soapenv:Envelope>
>>>>>>>>>>
>>>>>>>>>> Is there something wrong with it? or something servicemix cxf
>>>>>>>>>> might
>>>>>>>>>> not
>>>>>>>>>> understand?
>>>>>>>>>>
>>>>>>>>>> Here is the debug log :
>>>>>>>>>>
>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>> --------------------------------------
>>>>>>>>>> Encoding: utf-8
>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>>>> Host=[localhos
>>>>>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>>>>>> GMT],
>>>>>>>>>> SOAPActi
>>>>>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>>>>>> Cache-Control=
>>>>>>>>>> [no-cache],
>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>> Message:
>>>>>>>>>> <env:Envelope
>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:en
>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>> xmlns:tns="http
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>> --------------------------------------
>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> from sendSync
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f
>>>>>>>>>> dequeued
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>>   status: Active
>>>>>>>>>>   role: provider
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>> status:
>>>>>>>>>> Active,
>>>>>>>>>> role: provider
>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01
>>>>>>>>>> dequeued
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>>   status: Active
>>>>>>>>>>   role: consumer
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>   out: null
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>>>>>> dSynchronousExchange
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>> 28 nov. 2007 10:05:10
>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>> onClose
>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>> --------------------------------------
>>>>>>>>>> <soap:Envelope
>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>> --------------------------------------
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4
>>>>>>>>>> dequeued
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>>   status: Done
>>>>>>>>>>   role: provider
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>   out: null
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>> status:
>>>>>>>>>> Done,
>>>>>>>>>> role:provider
>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>         at
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>         at
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                     
>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>
>>>>>>>>>>> I just use your wsdl and create standalone client and server
>>>>>>>>>>> using
>>>>>>>>>>> cxf, 
>>>>>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>>>>>> scenario, it works for me.
>>>>>>>>>>>
>>>>>>>>>>> The soap message after cxf bc provider is
>>>>>>>>>>>
>>>>>>>>>>> Encoding: UTF-8
>>>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>>>>>> Pragma=[no-cache], 
>>>>>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>>>>>> Accept=[*]}
>>>>>>>>>>> Message:
>>>>>>>>>>> <soap:Envelope 
>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>>>>
>>>>>>>>>>> Even there this no soapAction in http header, it works well with
>>>>>>>>>>> cxf 
>>>>>>>>>>> server. But as you said, your websphere server need this
>>>>>>>>>>> soapAction,
>>>>>>>>>>> so 
>>>>>>>>>>> you can add
>>>>>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>>>>>                      <bean 
>>>>>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>>>>>
>>>>>>>>>>> for your cxf bc provider configuration,  this interceptor will
>>>>>>>>>>> add 
>>>>>>>>>>> soapAction according to the wsdl to your message
>>>>>>>>>>> after that, the soap message would be like
>>>>>>>>>>> Encoding: UTF-8
>>>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>>>>>> content-type=[text/xml; 
>>>>>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>>>>>> Message:
>>>>>>>>>>> <soap:Envelope 
>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>>>> I believe this way should work for you.
>>>>>>>>>>>
>>>>>>>>>>> Best Regards
>>>>>>>>>>>
>>>>>>>>>>> Freeman
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>     
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                       
>>>>>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>>>>>
>>>>>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>>>>>> That's
>>>>>>>>>>>> why i
>>>>>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>>>>>
>>>>>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>>>>>> better
>>>>>>>>>>>> than
>>>>>>>>>>>> the debug log?
>>>>>>>>>>>> I'd like to check the SOAP message generated by the Servicemix
>>>>>>>>>>>> Cxf
>>>>>>>>>>>> bc
>>>>>>>>>>>> provider.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>   
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                         
>>>>>>>>>>>>> You mean your request soap message already has < param>
>>>>>>>>>>>>> yourParam<
>>>>>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make
>>>>>>>>>>>>> a
>>>>>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>>>>>> request,
>>>>>>>>>>>>> sorry for it)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>     
>>>>>>>>>>>>>         
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                           
>>>>>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>>>>>> appear
>>>>>>>>>>>>>> in
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>>>>>> misunderstanding
>>>>>>>>>>>>>> came from that...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Florent
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>>>>>> incorrect.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit
>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>>> correct) :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>>>>         
>>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>         
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> this :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>> consumer<--->
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap
>>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to
>>>>>>>>>>>>>>>> do)
>>>>>>>>>>>>>>>> :)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>>>>>> </liste>
>>>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> But, according to my wsdl, this is the response soap
>>>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> request one !
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Operation :
>>>>>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> PortType :
>>>>>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Input / request :
>>>>>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>>>       <element name="param" nillable="true"
>>>>>>>>>>>>>>>> type="xsd:string"/>
>>>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Output / response :
>>>>>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input
>>>>>>>>>>>>>>>> is a
>>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>> string.
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>>>>>> role?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>>>>>> still
>>>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe
>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>>>>>> web service test and it was the same one. Plus, my
>>>>>>>>>>>>>>>>>> business
>>>>>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>> has
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>>>>>> element, there should be element <date> or <dble> or
>>>>>>>>>>>>>>>>> <integ>
>>>>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>>>>>> little
>>>>>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI
>>>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>>>>>> scenario
>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that
>>>>>>>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>> my
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>> error
>>>>>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>>>>>>> =
>>>>>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>>>>>> party
>>>>>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The problem is that your hard code soap request message
>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>> element
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is
>>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>> easy,
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>> may
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code
>>>>>>>>>>>>>>>>>>> stub
>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke
>>>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>> normal
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> Server
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is
>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> possible
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my
>>>>>>>>>>>>>>>>>>>> xbean.xml,
>>>>>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov
>>>>>>>>>>>>>>>>>>>> 2007
>>>>>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be
>>>>>>>>>>>>>>>>>>>> answered
>>>>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> status:
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying
>>>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> status:
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
>>>>>>>>>>>>>>>>>>>> supported
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the
>>>>>>>>>>>>>>>>>>>> AS
>>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> minOccurs="0"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>> type="xsd:double"
>>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> name="parameters" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>>>>> name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/ 
>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>> 1.2?
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice
>>>>>>>>>>>>>>>>>>>>> using?
>>>>>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two
>>>>>>>>>>>>>>>>>>>>> webservices?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>> If i use the following code to access to my web
>>>>>>>>>>>>>>>>>>>>>> service,
>>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> works
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\"
>>>>>>>>>>>>>>>>>>>>>> encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application
>>>>>>>>>>>>>>>>>>>>>> server
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> log)...
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
>>>>>>>>>>>>>>>>>>>>>> supported
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint
>>>>>>>>>>>>>>>>>>>>>>> configuration.
>>>>>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>> model
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl
>>>>>>>>>>>>>>>>>>>>>>> binding
>>>>>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>> when
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion
>>>>>>>>>>>>>>>>>>>>>>>> attribute,
>>>>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>>> interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                             
>>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>         
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>       
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>     
>>>>>>>>>>>>>         
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                           
>>>>>>>>>>>>   
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                         
>>>>>>>>>>>     
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                       
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                     
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                   
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>                 
>>>>>>>     
>>>>>>>         
>>>>>>>               
>>>>>>   
>>>>>>       
>>>>>>             
>>>>>     
>>>>>           
>>>>   
>>>>         
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Hi Freeman,

I built the servicemix-cxf-bc component yesterday night, and it solves my
problem.

Thanks again,
Florent.


Florent wrote:
> 
> 
> Hi Freeman,
> 
> Thanks a lot for this fix. 
> 
> Sadly, i can't check it out now because my company firewall doesn't let me
> access to the svn repository (maven also doesn't work for same reason).
> 
> Is there a way to get the installer? i guess i only need
> servicemix-cxf-bc-3.2-installer.zip
> Else, i'll do it tonight, at home...
> 
> Thanks in advance,
> Florent.
> 
> 
> 
> Freeman Fang-2 wrote:
>> 
>> Hi Florent,
>> 
>> I use your message to test and finally got the reason, the empty soap 
>> header (soapenv:Header/>) in your message cause the problem.
>> I just fix it [1] and  other one [2], "Out not supported" exception.
>> 
>> [1] http://issues.apache.org/activemq/browse/SM-1158
>> [2] http://issues.apache.org/activemq/browse/SM-1159
>> 
>> You can get it from the trunk.
>> 
>> Best Regards
>> 
>> Freeman
>> 
>> Florent wrote:
>>> Hi Freeman,
>>>
>>> Indeed, I still have problem. I did add logger, here is the result :
>>>
>>> Invoking getProtoDTO...
>>> 29 nov. 2007 10:22:30
>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>>> INFO: Outbound Message:
>>> --------------------------------------
>>> <soap:Envelope
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
>>> xmlns:ns2="http://ejb.proto.mycompany.com">< param>ddd</
>>> param></ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------
>>>
>>> 29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
>>> handleMessage
>>> INFO: Inbound Message
>>> --------------------------------------
>>> Encoding: UTF-8
>>> Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29
>>> Nov
>>> 2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
>>> content-type=[text/xml; charset=utf-8]}
>>> Message:
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
>>> xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
>>> --------------------------------------
>>> getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441
>>>
>>>
>>> About encoding style, i don't think i can modifiy the soap message
>>> returned
>>> by WAS.
>>>
>>> Is it a real problem for cxf?
>>>
>>>
>>> EIDT : i forgot to add the param tag.
>>>
>>> Best Regards, 
>>> Florent.
>>>
>>>
>>> Freeman Fang-2 wrote:
>>>   
>>>> Hi Florent,
>>>> Do you still have problem so far?
>>>> One quick question, what's the response message  cxf client received 
>>>> looks like when you use cxf client directly with websphere server?
>>>> You can use code per as below to add logger to show the
>>>> inbound/outbound 
>>>> message of the client
>>>>         ProtoBean port = service1.getProtoBean(); // port is your
>>>> client 
>>>> proxy
>>>>         ClientProxy.getClient(port).getInInterceptors().add(new 
>>>> LoggingInInterceptor());
>>>>         ClientProxy.getClient(port).getOutInterceptors().add(new 
>>>> LoggingOutInterceptor());
>>>>
>>>> For my test, the response message client received is
>>>> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
>>>> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
>>>> null=[HTTP/1.1 200 OK]}
>>>> Message:
>>>> <soap:Envelope 
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
>>>> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
>>>>
>>>> I compare it with your response message you append in your previous
>>>> mail,
>>>>
>>>> <soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>> <soapenv:Header/>
>>>> <soapenv:Body>
>>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>>> <getProtoDTOReturn>
>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>> <dble>0.0</dble>
>>>> <integ>1</integ>
>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>> </getProtoDTOReturn>
>>>> </p637:getProtoDTOResponse>
>>>> </soapenv:Body>
>>>> </soapenv:Envelope>
>>>>
>>>>
>>>> It's almost same, but you didn't paste the http header of response 
>>>> message, so if you still get problem, probably it's caused by the 
>>>> different header?
>>>>  I also notice a
>>>>
>>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>
>>>> in your message,  but cxf doesn't support encoded style.
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>> Florent wrote:
>>>>     
>>>>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>>>>
>>>>> So, i created a CXF consumer using the wsdl2java tool. 
>>>>>
>>>>> I created a java project and imported all the generated classes. I
>>>>> build
>>>>> my
>>>>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie
>>>>> path.
>>>>>
>>>>> I got it working : i used the ProtoBean_ProtoBean_Client generated
>>>>> main
>>>>> class with the following parameter : 
>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>
>>>>> The web service call was successfully done.
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang wrote:
>>>>>   
>>>>>       
>>>>>> It's different with my test, but I am using cxf client and cxf
>>>>>> server.
>>>>>> Would you please  use standalone cxf client invoke you websphere
>>>>>> server 
>>>>>> directly,  if it works, we can ensure it's not interoperability cause 
>>>>>> this problem.
>>>>>> Sorry I have no websphere installed on my machine, so I can't do a
>>>>>> quick 
>>>>>> test for it.
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>> Florent wrote:
>>>>>>     
>>>>>>         
>>>>>>> Sadly, the response i get is "empty" : 
>>>>>>>
>>>>>>> <soap:Envelope
>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Florent.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang-2 wrote:
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>> Hi Florent,
>>>>>>>>
>>>>>>>> You client side should already have correct response even with this
>>>>>>>> "Out 
>>>>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>>>>
>>>>>>>> For cxf interceptor documents, I think [1] is a good place to
>>>>>>>> start.
>>>>>>>>
>>>>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>>>>
>>>>>>>> Best Regards
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>> Hi Freeman,
>>>>>>>>>
>>>>>>>>> Thanks for your post, it resolves a part of the problem. Indeed,
>>>>>>>>> the
>>>>>>>>> third
>>>>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>>>>> Is there some documentation / examples of interceptor use, other
>>>>>>>>> than
>>>>>>>>> javadoc?
>>>>>>>>>
>>>>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>>>>
>>>>>>>>> If i used my standalone client to call the WAS web service
>>>>>>>>> (without
>>>>>>>>> using
>>>>>>>>> servicemix), i get the following soap message :
>>>>>>>>>
>>>>>>>>> <soapenv:Envelope
>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>>>>> <soapenv:Header/>
>>>>>>>>> <soapenv:Body>
>>>>>>>>> <p637:getProtoDTOResponse
>>>>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>>>>> <getProtoDTOReturn>
>>>>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>>>>> <dble>0.0</dble>
>>>>>>>>> <integ>1</integ>
>>>>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>>>>> </getProtoDTOReturn>
>>>>>>>>> </p637:getProtoDTOResponse>
>>>>>>>>> </soapenv:Body>
>>>>>>>>> </soapenv:Envelope>
>>>>>>>>>
>>>>>>>>> Is there something wrong with it? or something servicemix cxf
>>>>>>>>> might
>>>>>>>>> not
>>>>>>>>> understand?
>>>>>>>>>
>>>>>>>>> Here is the debug log :
>>>>>>>>>
>>>>>>>>> INFO: Inbound Message
>>>>>>>>> --------------------------------------
>>>>>>>>> Encoding: utf-8
>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>>> Host=[localhos
>>>>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>>>>> GMT],
>>>>>>>>> SOAPActi
>>>>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>>>>> Cache-Control=
>>>>>>>>> [no-cache],
>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>> Message:
>>>>>>>>> <env:Envelope
>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:en
>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xmlns:tns="http
>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>> --------------------------------------
>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> from sendSync
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f
>>>>>>>>> dequeued
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>   status: Active
>>>>>>>>>   role: provider
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>> ]
>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>> status:
>>>>>>>>> Active,
>>>>>>>>> role: provider
>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01
>>>>>>>>> dequeued
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>   status: Active
>>>>>>>>>   role: consumer
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>   out: null
>>>>>>>>> ]
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>>>>> dSynchronousExchange
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>> 28 nov. 2007 10:05:10
>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>> onClose
>>>>>>>>> INFO: Outbound Message
>>>>>>>>> --------------------------------------
>>>>>>>>> <soap:Envelope
>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>  /></soap:Envelope>
>>>>>>>>> --------------------------------------
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4
>>>>>>>>> dequeued
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>>   status: Done
>>>>>>>>>   role: provider
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>   out: null
>>>>>>>>> ]
>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>> status:
>>>>>>>>> Done,
>>>>>>>>> role:provider
>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>         at
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>         at
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>         at
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>         at
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>         at
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>> Hi Florent,
>>>>>>>>>>
>>>>>>>>>> I just use your wsdl and create standalone client and server
>>>>>>>>>> using
>>>>>>>>>> cxf, 
>>>>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>>>>> scenario, it works for me.
>>>>>>>>>>
>>>>>>>>>> The soap message after cxf bc provider is
>>>>>>>>>>
>>>>>>>>>> Encoding: UTF-8
>>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>>>>> Pragma=[no-cache], 
>>>>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>>>>> Accept=[*]}
>>>>>>>>>> Message:
>>>>>>>>>> <soap:Envelope 
>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>>>
>>>>>>>>>> Even there this no soapAction in http header, it works well with
>>>>>>>>>> cxf 
>>>>>>>>>> server. But as you said, your websphere server need this
>>>>>>>>>> soapAction,
>>>>>>>>>> so 
>>>>>>>>>> you can add
>>>>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>>>>                      <bean 
>>>>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>>>>
>>>>>>>>>> for your cxf bc provider configuration,  this interceptor will
>>>>>>>>>> add 
>>>>>>>>>> soapAction according to the wsdl to your message
>>>>>>>>>> after that, the soap message would be like
>>>>>>>>>> Encoding: UTF-8
>>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>>>>> content-type=[text/xml; 
>>>>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>>>>> Message:
>>>>>>>>>> <soap:Envelope 
>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>>> I believe this way should work for you.
>>>>>>>>>>
>>>>>>>>>> Best Regards
>>>>>>>>>>
>>>>>>>>>> Freeman
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>     
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>>>>
>>>>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>>>>> That's
>>>>>>>>>>> why i
>>>>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>>>>
>>>>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>>>>> better
>>>>>>>>>>> than
>>>>>>>>>>> the debug log?
>>>>>>>>>>> I'd like to check the SOAP message generated by the Servicemix
>>>>>>>>>>> Cxf
>>>>>>>>>>> bc
>>>>>>>>>>> provider.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>   
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>> You mean your request soap message already has < param>
>>>>>>>>>>>> yourParam<
>>>>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make
>>>>>>>>>>>> a
>>>>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>>>>> request,
>>>>>>>>>>>> sorry for it)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>     
>>>>>>>>>>>>         
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>>>>> appear
>>>>>>>>>>>>> in
>>>>>>>>>>>>> the
>>>>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>>>>
>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>>>>> misunderstanding
>>>>>>>>>>>>> came from that...
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>> Florent
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>>>>> incorrect.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>> correct) :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>>>         
>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>         
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>> this :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> consumer<--->
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap
>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to
>>>>>>>>>>>>>>> do)
>>>>>>>>>>>>>>> :)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>>>>> </liste>
>>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> But, according to my wsdl, this is the response soap
>>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> request one !
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Operation :
>>>>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> PortType :
>>>>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Input / request :
>>>>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>>       <element name="param" nillable="true"
>>>>>>>>>>>>>>> type="xsd:string"/>
>>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Output / response :
>>>>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input
>>>>>>>>>>>>>>> is a
>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> string.
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>>>>> role?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>>>>> still
>>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>> the
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate
>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>>>>> web service test and it was the same one. Plus, my
>>>>>>>>>>>>>>>>> business
>>>>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>> has
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>>>>> element, there should be element <date> or <dble> or
>>>>>>>>>>>>>>>> <integ>
>>>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>>>>> little
>>>>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI
>>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>> not
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>>>>> scenario
>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that
>>>>>>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>> my
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> error
>>>>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>>>>>> =
>>>>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>>>>> party
>>>>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The problem is that your hard code soap request message
>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>> element
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is
>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>> easy,
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>> may
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code
>>>>>>>>>>>>>>>>>> stub
>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>> the
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke
>>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>> normal
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> Server
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is
>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> possible
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my
>>>>>>>>>>>>>>>>>>> xbean.xml,
>>>>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> is
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov
>>>>>>>>>>>>>>>>>>> 2007
>>>>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be
>>>>>>>>>>>>>>>>>>> answered
>>>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> status:
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying
>>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow
>>>>>>>>>>>>>>>>>>> send
>>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> dequeued
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> status:
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
>>>>>>>>>>>>>>>>>>> supported
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the
>>>>>>>>>>>>>>>>>>> AS
>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> minOccurs="0"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>> type="xsd:double"
>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> name="parameters" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>>>> name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/ 
>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>> 1.2?
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice
>>>>>>>>>>>>>>>>>>>> using?
>>>>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two
>>>>>>>>>>>>>>>>>>>> webservices?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>> If i use the following code to access to my web
>>>>>>>>>>>>>>>>>>>>> service,
>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> works
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\"
>>>>>>>>>>>>>>>>>>>>> encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application
>>>>>>>>>>>>>>>>>>>>> server
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> log)...
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
>>>>>>>>>>>>>>>>>>>>> supported
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint
>>>>>>>>>>>>>>>>>>>>>> configuration.
>>>>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>> model
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl
>>>>>>>>>>>>>>>>>>>>>> binding
>>>>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>> using
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>> when
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion
>>>>>>>>>>>>>>>>>>>>>>> attribute,
>>>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>>> interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>         
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>> --
>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>>>>
>>>>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>       
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>     
>>>>>>>>>>>>         
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>   
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>     
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>     
>>>>>>         
>>>>>   
>>>>>       
>>>>     
>>>
>>>   
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14147382
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Hi Freeman,

Thanks a lot for this fix. 

Sadly, i can't check it out now because my company firewall doesn't let me
access to the svn repository (maven also doesn't work for same reason).

Is there a way to get the installer? i guess i only need
servicemix-cxf-bc-3.2-installer.zip
Else, i'll do it tonight, at home...

Thanks in advance,
Florent.



Freeman Fang-2 wrote:
> 
> Hi Florent,
> 
> I use your message to test and finally got the reason, the empty soap 
> header (soapenv:Header/>) in your message cause the problem.
> I just fix it [1] and  other one [2], "Out not supported" exception.
> 
> [1] http://issues.apache.org/activemq/browse/SM-1158
> [2] http://issues.apache.org/activemq/browse/SM-1159
> 
> You can get it from the trunk.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Hi Freeman,
>>
>> Indeed, I still have problem. I did add logger, here is the result :
>>
>> Invoking getProtoDTO...
>> 29 nov. 2007 10:22:30
>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>> INFO: Outbound Message:
>> --------------------------------------
>> <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
>> xmlns:ns2="http://ejb.proto.mycompany.com">< param>ddd</
>> param></ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------
>>
>> 29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
>> handleMessage
>> INFO: Inbound Message
>> --------------------------------------
>> Encoding: UTF-8
>> Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29
>> Nov
>> 2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
>> content-type=[text/xml; charset=utf-8]}
>> Message:
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
>> xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
>> --------------------------------------
>> getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441
>>
>>
>> About encoding style, i don't think i can modifiy the soap message
>> returned
>> by WAS.
>>
>> Is it a real problem for cxf?
>>
>>
>> EIDT : i forgot to add the param tag.
>>
>> Best Regards, 
>> Florent.
>>
>>
>> Freeman Fang-2 wrote:
>>   
>>> Hi Florent,
>>> Do you still have problem so far?
>>> One quick question, what's the response message  cxf client received 
>>> looks like when you use cxf client directly with websphere server?
>>> You can use code per as below to add logger to show the inbound/outbound 
>>> message of the client
>>>         ProtoBean port = service1.getProtoBean(); // port is your client 
>>> proxy
>>>         ClientProxy.getClient(port).getInInterceptors().add(new 
>>> LoggingInInterceptor());
>>>         ClientProxy.getClient(port).getOutInterceptors().add(new 
>>> LoggingOutInterceptor());
>>>
>>> For my test, the response message client received is
>>> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
>>> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
>>> null=[HTTP/1.1 200 OK]}
>>> Message:
>>> <soap:Envelope 
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
>>> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
>>>
>>> I compare it with your response message you append in your previous
>>> mail,
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>> <soapenv:Header/>
>>> <soapenv:Body>
>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>> <getProtoDTOReturn>
>>> <date>2007-11-28T09:10:54.104Z</date>
>>> <dble>0.0</dble>
>>> <integ>1</integ>
>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>> </getProtoDTOReturn>
>>> </p637:getProtoDTOResponse>
>>> </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>>
>>> It's almost same, but you didn't paste the http header of response 
>>> message, so if you still get problem, probably it's caused by the 
>>> different header?
>>>  I also notice a
>>>
>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>
>>> in your message,  but cxf doesn't support encoded style.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>>>
>>>> So, i created a CXF consumer using the wsdl2java tool. 
>>>>
>>>> I created a java project and imported all the generated classes. I
>>>> build
>>>> my
>>>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie
>>>> path.
>>>>
>>>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>>>> class with the following parameter : 
>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>
>>>> The web service call was successfully done.
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>       
>>>>> It's different with my test, but I am using cxf client and cxf server.
>>>>> Would you please  use standalone cxf client invoke you websphere
>>>>> server 
>>>>> directly,  if it works, we can ensure it's not interoperability cause 
>>>>> this problem.
>>>>> Sorry I have no websphere installed on my machine, so I can't do a
>>>>> quick 
>>>>> test for it.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Sadly, the response i get is "empty" : 
>>>>>>
>>>>>> <soap:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>>>
>>>>>> Best Regards,
>>>>>> Florent.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang-2 wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi Florent,
>>>>>>>
>>>>>>> You client side should already have correct response even with this
>>>>>>> "Out 
>>>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>>>
>>>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>>>
>>>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Hi Freeman,
>>>>>>>>
>>>>>>>> Thanks for your post, it resolves a part of the problem. Indeed,
>>>>>>>> the
>>>>>>>> third
>>>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>>>> Is there some documentation / examples of interceptor use, other
>>>>>>>> than
>>>>>>>> javadoc?
>>>>>>>>
>>>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>>>
>>>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>>>> using
>>>>>>>> servicemix), i get the following soap message :
>>>>>>>>
>>>>>>>> <soapenv:Envelope
>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>>>> <soapenv:Header/>
>>>>>>>> <soapenv:Body>
>>>>>>>> <p637:getProtoDTOResponse
>>>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>>>> <getProtoDTOReturn>
>>>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>>>> <dble>0.0</dble>
>>>>>>>> <integ>1</integ>
>>>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>>>> </getProtoDTOReturn>
>>>>>>>> </p637:getProtoDTOResponse>
>>>>>>>> </soapenv:Body>
>>>>>>>> </soapenv:Envelope>
>>>>>>>>
>>>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>>>> not
>>>>>>>> understand?
>>>>>>>>
>>>>>>>> Here is the debug log :
>>>>>>>>
>>>>>>>> INFO: Inbound Message
>>>>>>>> --------------------------------------
>>>>>>>> Encoding: utf-8
>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>> Host=[localhos
>>>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>>>> GMT],
>>>>>>>> SOAPActi
>>>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>>>> Cache-Control=
>>>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>> Message:
>>>>>>>> <env:Envelope
>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:en
>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xmlns:tns="http
>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>> --------------------------------------
>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>> from sendSync
>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>>>> exchange: InOut[
>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>   status: Active
>>>>>>>>   role: provider
>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>   endpoint: ProtoBean
>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>> xmlns:jbi="http://java.
>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>> getProtoDTO
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>> ]
>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>>>> Active,
>>>>>>>> role: provider
>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01
>>>>>>>> dequeued
>>>>>>>> exchange: InOut[
>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>   status: Active
>>>>>>>>   role: consumer
>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>   endpoint: ProtoBean
>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>> xmlns:jbi="http://java.
>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>> getProtoDTO
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>   out: null
>>>>>>>> ]
>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>>>> dSynchronousExchange
>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>> 28 nov. 2007 10:05:10
>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>> onClose
>>>>>>>> INFO: Outbound Message
>>>>>>>> --------------------------------------
>>>>>>>> <soap:Envelope
>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>  /></soap:Envelope>
>>>>>>>> --------------------------------------
>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4
>>>>>>>> dequeued
>>>>>>>> exchange: InOut[
>>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>>   status: Done
>>>>>>>>   role: provider
>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>   endpoint: ProtoBean
>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>> xmlns:jbi="http://java.
>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>> getProtoDTO
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>   out: null
>>>>>>>> ]
>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>>>> Done,
>>>>>>>> role:provider
>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> Hi Florent,
>>>>>>>>>
>>>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>>>> cxf, 
>>>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>>>> scenario, it works for me.
>>>>>>>>>
>>>>>>>>> The soap message after cxf bc provider is
>>>>>>>>>
>>>>>>>>> Encoding: UTF-8
>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>>>> Pragma=[no-cache], 
>>>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>>>> Accept=[*]}
>>>>>>>>> Message:
>>>>>>>>> <soap:Envelope 
>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>>
>>>>>>>>> Even there this no soapAction in http header, it works well with
>>>>>>>>> cxf 
>>>>>>>>> server. But as you said, your websphere server need this
>>>>>>>>> soapAction,
>>>>>>>>> so 
>>>>>>>>> you can add
>>>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>>>                      <bean 
>>>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>>>
>>>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>>>> soapAction according to the wsdl to your message
>>>>>>>>> after that, the soap message would be like
>>>>>>>>> Encoding: UTF-8
>>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>>>> content-type=[text/xml; 
>>>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>>>> Message:
>>>>>>>>> <soap:Envelope 
>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>> I believe this way should work for you.
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> Freeman
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>>>
>>>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>>>> That's
>>>>>>>>>> why i
>>>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>>>
>>>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>>>> better
>>>>>>>>>> than
>>>>>>>>>> the debug log?
>>>>>>>>>> I'd like to check the SOAP message generated by the Servicemix
>>>>>>>>>> Cxf
>>>>>>>>>> bc
>>>>>>>>>> provider.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> You mean your request soap message already has < param>
>>>>>>>>>>> yourParam<
>>>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>>>> request,
>>>>>>>>>>> sorry for it)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>>>     
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>>>> appear
>>>>>>>>>>>> in
>>>>>>>>>>>> the
>>>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>>>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>
>>>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>>>> misunderstanding
>>>>>>>>>>>> came from that...
>>>>>>>>>>>>
>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>> Florent
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>>>> incorrect.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit
>>>>>>>>>>>>> it
>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>> correct) :
>>>>>>>>>>>>>
>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>>         
>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>         
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> this :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>> consumer<--->
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap
>>>>>>>>>>>>>> message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>>>> :)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>>>> message
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>>>> </liste>
>>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>>>> not
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> request one !
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Operation :
>>>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> PortType :
>>>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Input / request :
>>>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>       <element name="param" nillable="true"
>>>>>>>>>>>>>> type="xsd:string"/>
>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Output / response :
>>>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Element :
>>>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>> string.
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>>>> role?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>>>> still
>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>> the
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe
>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>> has
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>> <liste>
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>>>> little
>>>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI
>>>>>>>>>>>>>>> message
>>>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>> not
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>>>> scenario
>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>> my
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> error
>>>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>>>>> =
>>>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>>>> party
>>>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>> element
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is
>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>> easy,
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>> may
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code
>>>>>>>>>>>>>>>>> stub
>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>> the
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke
>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>> normal
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> Server
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> possible
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my
>>>>>>>>>>>>>>>>>> xbean.xml,
>>>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> is
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be
>>>>>>>>>>>>>>>>>> answered
>>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> dequeued
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> status:
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> dequeued
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying
>>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> dequeued
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>>   service:
>>>>>>>>>>>>>>>>>> {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received
>>>>>>>>>>>>>>>>>> exchange:
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> status:
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the
>>>>>>>>>>>>>>>>>> AS
>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> minOccurs="0"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>> type="xsd:double"
>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> name="parameters" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>> 1.2?
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two
>>>>>>>>>>>>>>>>>>> webservices?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>> If i use the following code to access to my web
>>>>>>>>>>>>>>>>>>>> service,
>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> works
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\"
>>>>>>>>>>>>>>>>>>>> encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application
>>>>>>>>>>>>>>>>>>>> server
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> log)...
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not
>>>>>>>>>>>>>>>>>>>> supported
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint
>>>>>>>>>>>>>>>>>>>>> configuration.
>>>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>> model
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl
>>>>>>>>>>>>>>>>>>>>> binding
>>>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>> using
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>> when
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion
>>>>>>>>>>>>>>>>>>>>>> attribute,
>>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>> targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>> wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>>> service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>           
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>         
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>> --
>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>>>
>>>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>       
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>     
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14127236
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@iona.com>.
Hi Florent,

I use your message to test and finally got the reason, the empty soap 
header (soapenv:Header/>) in your message cause the problem.
I just fix it [1] and  other one [2], "Out not supported" exception.

[1] http://issues.apache.org/activemq/browse/SM-1158
[2] http://issues.apache.org/activemq/browse/SM-1159

You can get it from the trunk.

Best Regards

Freeman

Florent wrote:
> Hi Freeman,
>
> Indeed, I still have problem. I did add logger, here is the result :
>
> Invoking getProtoDTO...
> 29 nov. 2007 10:22:30
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
> INFO: Outbound Message:
> --------------------------------------
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
> xmlns:ns2="http://ejb.proto.mycompany.com">< param>ddd</
> param></ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------
>
> 29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
> handleMessage
> INFO: Inbound Message
> --------------------------------------
> Encoding: UTF-8
> Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29 Nov
> 2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
> content-type=[text/xml; charset=utf-8]}
> Message:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
> xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
> --------------------------------------
> getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441
>
>
> About encoding style, i don't think i can modifiy the soap message returned
> by WAS.
>
> Is it a real problem for cxf?
>
>
> EIDT : i forgot to add the param tag.
>
> Best Regards, 
> Florent.
>
>
> Freeman Fang-2 wrote:
>   
>> Hi Florent,
>> Do you still have problem so far?
>> One quick question, what's the response message  cxf client received 
>> looks like when you use cxf client directly with websphere server?
>> You can use code per as below to add logger to show the inbound/outbound 
>> message of the client
>>         ProtoBean port = service1.getProtoBean(); // port is your client 
>> proxy
>>         ClientProxy.getClient(port).getInInterceptors().add(new 
>> LoggingInInterceptor());
>>         ClientProxy.getClient(port).getOutInterceptors().add(new 
>> LoggingOutInterceptor());
>>
>> For my test, the response message client received is
>> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
>> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
>> null=[HTTP/1.1 200 OK]}
>> Message:
>> <soap:Envelope 
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
>> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
>>
>> I compare it with your response message you append in your previous mail,
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>> <soapenv:Header/>
>> <soapenv:Body>
>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>> <getProtoDTOReturn>
>> <date>2007-11-28T09:10:54.104Z</date>
>> <dble>0.0</dble>
>> <integ>1</integ>
>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>> </getProtoDTOReturn>
>> </p637:getProtoDTOResponse>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>> It's almost same, but you didn't paste the http header of response 
>> message, so if you still get problem, probably it's caused by the 
>> different header?
>>  I also notice a
>>
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>
>> in your message,  but cxf doesn't support encoded style.
>>
>> Best Regards
>>
>> Freeman
>>
>> Florent wrote:
>>     
>>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>>
>>> So, i created a CXF consumer using the wsdl2java tool. 
>>>
>>> I created a java project and imported all the generated classes. I build
>>> my
>>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>>>
>>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>>> class with the following parameter : 
>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>
>>> The web service call was successfully done.
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>       
>>>> It's different with my test, but I am using cxf client and cxf server.
>>>> Would you please  use standalone cxf client invoke you websphere server 
>>>> directly,  if it works, we can ensure it's not interoperability cause 
>>>> this problem.
>>>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>>>> test for it.
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>> Florent wrote:
>>>>     
>>>>         
>>>>> Sadly, the response i get is "empty" : 
>>>>>
>>>>> <soap:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>>
>>>>> Best Regards,
>>>>> Florent.
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang-2 wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi Florent,
>>>>>>
>>>>>> You client side should already have correct response even with this
>>>>>> "Out 
>>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>>
>>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>>
>>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>> Florent wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hi Freeman,
>>>>>>>
>>>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>>>> third
>>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>>> Is there some documentation / examples of interceptor use, other than
>>>>>>> javadoc?
>>>>>>>
>>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>>
>>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>>> using
>>>>>>> servicemix), i get the following soap message :
>>>>>>>
>>>>>>> <soapenv:Envelope
>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>>> <soapenv:Header/>
>>>>>>> <soapenv:Body>
>>>>>>> <p637:getProtoDTOResponse
>>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>>> <getProtoDTOReturn>
>>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>>> <dble>0.0</dble>
>>>>>>> <integ>1</integ>
>>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>>> </getProtoDTOReturn>
>>>>>>> </p637:getProtoDTOResponse>
>>>>>>> </soapenv:Body>
>>>>>>> </soapenv:Envelope>
>>>>>>>
>>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>>> not
>>>>>>> understand?
>>>>>>>
>>>>>>> Here is the debug log :
>>>>>>>
>>>>>>> INFO: Inbound Message
>>>>>>> --------------------------------------
>>>>>>> Encoding: utf-8
>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>> Host=[localhos
>>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>>> GMT],
>>>>>>> SOAPActi
>>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>>> Cache-Control=
>>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>> Message:
>>>>>>> <env:Envelope
>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>> xmlns:en
>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>> xmlns:tns="http
>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>> --------------------------------------
>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>> from sendSync
>>>>>>> DEBUG - SedaQueue                      -
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>>> exchange: InOut[
>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>   status: Active
>>>>>>>   role: provider
>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>   endpoint: ProtoBean
>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>> xmlns:jbi="http://java.
>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>> ]
>>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>>> Active,
>>>>>>> role: provider
>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>> DEBUG - SedaQueue                      -
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>>>> exchange: InOut[
>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>   status: Active
>>>>>>>   role: consumer
>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>   endpoint: ProtoBean
>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>> xmlns:jbi="http://java.
>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>   out: null
>>>>>>> ]
>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>>> dSynchronousExchange
>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>> 28 nov. 2007 10:05:10
>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>> onClose
>>>>>>> INFO: Outbound Message
>>>>>>> --------------------------------------
>>>>>>> <soap:Envelope
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>  /></soap:Envelope>
>>>>>>> --------------------------------------
>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>> DEBUG - SedaQueue                      -
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>>>> exchange: InOut[
>>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>>   status: Done
>>>>>>>   role: provider
>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>   endpoint: ProtoBean
>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>> xmlns:jbi="http://java.
>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>   out: null
>>>>>>> ]
>>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>>> Done,
>>>>>>> role:provider
>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>         at
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>         at
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>         at
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>         at
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>         at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>         at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> Hi Florent,
>>>>>>>>
>>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>>> cxf, 
>>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>>> scenario, it works for me.
>>>>>>>>
>>>>>>>> The soap message after cxf bc provider is
>>>>>>>>
>>>>>>>> Encoding: UTF-8
>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>>> Pragma=[no-cache], 
>>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>>> Accept=[*]}
>>>>>>>> Message:
>>>>>>>> <soap:Envelope 
>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>>
>>>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>>>> so 
>>>>>>>> you can add
>>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>>                      <bean 
>>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>>
>>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>>> soapAction according to the wsdl to your message
>>>>>>>> after that, the soap message would be like
>>>>>>>> Encoding: UTF-8
>>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>>> content-type=[text/xml; 
>>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>>> Message:
>>>>>>>> <soap:Envelope 
>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>> I believe this way should work for you.
>>>>>>>>
>>>>>>>> Best Regards
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>>
>>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>>> That's
>>>>>>>>> why i
>>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>>
>>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>>> better
>>>>>>>>> than
>>>>>>>>> the debug log?
>>>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf
>>>>>>>>> bc
>>>>>>>>> provider.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>>> request,
>>>>>>>>>> sorry for it)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>>     
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>>> appear
>>>>>>>>>>> in
>>>>>>>>>>> the
>>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>
>>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>>> misunderstanding
>>>>>>>>>>> came from that...
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Florent
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>>> incorrect.
>>>>>>>>>>>>
>>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>>>> wasn't
>>>>>>>>>>>> correct) :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>>         
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>         
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> this :
>>>>>>>>>>>>>
>>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>> consumer<--->
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>>> :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>>> message
>>>>>>>>>>>>> :
>>>>>>>>>>>>>
>>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>>> <liste>
>>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>>> </liste>
>>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>>
>>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>>> not
>>>>>>>>>>>>> the
>>>>>>>>>>>>> request one !
>>>>>>>>>>>>>
>>>>>>>>>>>>> Operation :
>>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>>
>>>>>>>>>>>>> PortType :
>>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Input / request :
>>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Element :
>>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Output / response :
>>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Element :
>>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>>> </element>
>>>>>>>>>>>>>
>>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>> string.
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>>> role?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>>> still
>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>> the
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>> has
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>> <liste>
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>>> little
>>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>>> message,
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>> not
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>>> scenario
>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>> my
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>> error
>>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>>> party
>>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>> element
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not
>>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>> easy,
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>> may
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>> the
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code
>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>> normal
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> Server
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> possible
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> is
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered
>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> dequeued
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> status:
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> dequeued
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> dequeued
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> status:
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS
>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> nillable="true"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> minOccurs="0"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> nillable="true"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> nillable="true"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                          type="xsd:double"
>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> nillable="true"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> name="parameters" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>> 1.2?
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>> If i use the following code to access to my web service,
>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> works
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> log)...
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>> model
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>> using
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>> when
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>>>                                           
>>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>             
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>           
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>         
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>> --
>>>>>>>>>>> View this message in context:
>>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>>
>>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>       
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>     
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.
Hi Freeman,

Indeed, I still have problem. I did add logger, here is the result :

Invoking getProtoDTO...
29 nov. 2007 10:22:30
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message:
--------------------------------------
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
xmlns:ns2="http://ejb.proto.mycompany.com">< param>ddd</
param></ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------

29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
handleMessage
INFO: Inbound Message
--------------------------------------
Encoding: UTF-8
Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29 Nov
2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
content-type=[text/xml; charset=utf-8]}
Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441


About encoding style, i don't think i can modifiy the soap message returned
by WAS.

Is it a real problem for cxf?


EIDT : i forgot to add the param tag.

Best Regards, 
Florent.


Freeman Fang-2 wrote:
> 
> Hi Florent,
> Do you still have problem so far?
> One quick question, what's the response message  cxf client received 
> looks like when you use cxf client directly with websphere server?
> You can use code per as below to add logger to show the inbound/outbound 
> message of the client
>         ProtoBean port = service1.getProtoBean(); // port is your client 
> proxy
>         ClientProxy.getClient(port).getInInterceptors().add(new 
> LoggingInInterceptor());
>         ClientProxy.getClient(port).getOutInterceptors().add(new 
> LoggingOutInterceptor());
> 
> For my test, the response message client received is
> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
> null=[HTTP/1.1 200 OK]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
> 
> I compare it with your response message you append in your previous mail,
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header/>
> <soapenv:Body>
> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> <getProtoDTOReturn>
> <date>2007-11-28T09:10:54.104Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> </getProtoDTOReturn>
> </p637:getProtoDTOResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 
> 
> It's almost same, but you didn't paste the http header of response 
> message, so if you still get problem, probably it's caused by the 
> different header?
>  I also notice a
> 
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 
> in your message,  but cxf doesn't support encoded style.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>
>> So, i created a CXF consumer using the wsdl2java tool. 
>>
>> I created a java project and imported all the generated classes. I build
>> my
>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>>
>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>> class with the following parameter : 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>
>> The web service call was successfully done.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> It's different with my test, but I am using cxf client and cxf server.
>>> Would you please  use standalone cxf client invoke you websphere server 
>>> directly,  if it works, we can ensure it's not interoperability cause 
>>> this problem.
>>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>>> test for it.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Sadly, the response i get is "empty" : 
>>>>
>>>> <soap:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>>
>>>>> You client side should already have correct response even with this
>>>>> "Out 
>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>
>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>
>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>>> third
>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>> Is there some documentation / examples of interceptor use, other than
>>>>>> javadoc?
>>>>>>
>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>
>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>> using
>>>>>> servicemix), i get the following soap message :
>>>>>>
>>>>>> <soapenv:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>> <soapenv:Header/>
>>>>>> <soapenv:Body>
>>>>>> <p637:getProtoDTOResponse
>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>> <getProtoDTOReturn>
>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>> <dble>0.0</dble>
>>>>>> <integ>1</integ>
>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>> </getProtoDTOReturn>
>>>>>> </p637:getProtoDTOResponse>
>>>>>> </soapenv:Body>
>>>>>> </soapenv:Envelope>
>>>>>>
>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>> not
>>>>>> understand?
>>>>>>
>>>>>> Here is the debug log :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[localhos
>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>> GMT],
>>>>>> SOAPActi
>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control=
>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>> dSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 28 nov. 2007 10:05:10
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi Florent,
>>>>>>>
>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>> cxf, 
>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>> scenario, it works for me.
>>>>>>>
>>>>>>> The soap message after cxf bc provider is
>>>>>>>
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>> Pragma=[no-cache], 
>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>> Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>
>>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>>> so 
>>>>>>> you can add
>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>                      <bean 
>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>
>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>> soapAction according to the wsdl to your message
>>>>>>> after that, the soap message would be like
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>> content-type=[text/xml; 
>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>> I believe this way should work for you.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>
>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>> That's
>>>>>>>> why i
>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>
>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>> better
>>>>>>>> than
>>>>>>>> the debug log?
>>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf
>>>>>>>> bc
>>>>>>>> provider.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>> request,
>>>>>>>>> sorry for it)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>> appear
>>>>>>>>>> in
>>>>>>>>>> the
>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>
>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>> misunderstanding
>>>>>>>>>> came from that...
>>>>>>>>>>
>>>>>>>>>> Best Regards,
>>>>>>>>>> Florent
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>> incorrect.
>>>>>>>>>>>
>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>>> wasn't
>>>>>>>>>>> correct) :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>> <env:Body>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>         
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>> </env:Body>
>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> this :
>>>>>>>>>>>>
>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> consumer<--->
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>> :)
>>>>>>>>>>>>
>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>> message
>>>>>>>>>>>> :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>> <liste>
>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>> </liste>
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>> not
>>>>>>>>>>>> the
>>>>>>>>>>>> request one !
>>>>>>>>>>>>
>>>>>>>>>>>> Operation :
>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>> PortType :
>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Input / request :
>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> Output / response :
>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> string.
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>> role?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>> still
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> same
>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> has
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> one
>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>> or
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> <liste>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>> little
>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>> something
>>>>>>>>>>>>>> i
>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>> message,
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> not
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>> scenario
>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> my
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> error
>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>> party
>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> element
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not
>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> easy,
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> may
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code
>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> normal
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Server
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> possible
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> is
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered
>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> minOccurs="0"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          type="xsd:double"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="parameters" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>> 1.2?
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> If i use the following code to access to my web service,
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> works
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> log)...
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>> model
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> using
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> when
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>
>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14022082
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Hi Freeman,

Indeed, I still have problem. I did add logger, here is the result :

Invoking getProtoDTO...
29 nov. 2007 10:22:30
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message:
--------------------------------------
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO
xmlns:ns2="http://ejb.proto.mycompany.com">ddd</ns2:getProtoDTO></soap:Body></soap:Envelope>--------------------------------------

29 nov. 2007 10:22:31 org.apache.cxf.interceptor.LoggingInInterceptor
handleMessage
INFO: Inbound Message
--------------------------------------
Encoding: UTF-8
Headers: {Content-Length=[574], Content-Language=[fr-FR], Date=[Thu, 29 Nov
2007 09:22:30 GMT], Server=[WebSphere Application Server/6.1],
content-type=[text/xml; charset=utf-8]}
Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p637:getProtoDTOResponse
xmlns:p637="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>2007-11-29T09:22:31.633Z</date><dble>0.0</dble><integ>1</integ><liste><string>s01</string><string>s02</string><string>s03</string></liste></getProtoDTOReturn></p637:getProtoDTOResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
getProtoDTO.result=com.mycompany.proto.dto.ProtoDTO@ec9441


About encoding style, i don't think i can modifiy the soap message returned
by WAS.

Is it a real problem for cxf?

Best Regards, 
Florent.


Freeman Fang-2 wrote:
> 
> Hi Florent,
> Do you still have problem so far?
> One quick question, what's the response message  cxf client received 
> looks like when you use cxf client directly with websphere server?
> You can use code per as below to add logger to show the inbound/outbound 
> message of the client
>         ProtoBean port = service1.getProtoBean(); // port is your client 
> proxy
>         ClientProxy.getClient(port).getInInterceptors().add(new 
> LoggingInInterceptor());
>         ClientProxy.getClient(port).getOutInterceptors().add(new 
> LoggingOutInterceptor());
> 
> For my test, the response message client received is
> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
> null=[HTTP/1.1 200 OK]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
> 
> I compare it with your response message you append in your previous mail,
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header/>
> <soapenv:Body>
> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> <getProtoDTOReturn>
> <date>2007-11-28T09:10:54.104Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> </getProtoDTOReturn>
> </p637:getProtoDTOResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 
> 
> It's almost same, but you didn't paste the http header of response 
> message, so if you still get problem, probably it's caused by the 
> different header?
>  I also notice a
> 
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 
> in your message,  but cxf doesn't support encoded style.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>
>> So, i created a CXF consumer using the wsdl2java tool. 
>>
>> I created a java project and imported all the generated classes. I build
>> my
>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>>
>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>> class with the following parameter : 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>
>> The web service call was successfully done.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> It's different with my test, but I am using cxf client and cxf server.
>>> Would you please  use standalone cxf client invoke you websphere server 
>>> directly,  if it works, we can ensure it's not interoperability cause 
>>> this problem.
>>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>>> test for it.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Sadly, the response i get is "empty" : 
>>>>
>>>> <soap:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>>
>>>>> You client side should already have correct response even with this
>>>>> "Out 
>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>
>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>
>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>>> third
>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>> Is there some documentation / examples of interceptor use, other than
>>>>>> javadoc?
>>>>>>
>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>
>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>> using
>>>>>> servicemix), i get the following soap message :
>>>>>>
>>>>>> <soapenv:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>> <soapenv:Header/>
>>>>>> <soapenv:Body>
>>>>>> <p637:getProtoDTOResponse
>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>> <getProtoDTOReturn>
>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>> <dble>0.0</dble>
>>>>>> <integ>1</integ>
>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>> </getProtoDTOReturn>
>>>>>> </p637:getProtoDTOResponse>
>>>>>> </soapenv:Body>
>>>>>> </soapenv:Envelope>
>>>>>>
>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>> not
>>>>>> understand?
>>>>>>
>>>>>> Here is the debug log :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[localhos
>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>> GMT],
>>>>>> SOAPActi
>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control=
>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>> dSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 28 nov. 2007 10:05:10
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi Florent,
>>>>>>>
>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>> cxf, 
>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>> scenario, it works for me.
>>>>>>>
>>>>>>> The soap message after cxf bc provider is
>>>>>>>
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>> Pragma=[no-cache], 
>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>> Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>
>>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>>> so 
>>>>>>> you can add
>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>                      <bean 
>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>
>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>> soapAction according to the wsdl to your message
>>>>>>> after that, the soap message would be like
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>> content-type=[text/xml; 
>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>> I believe this way should work for you.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>
>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>> That's
>>>>>>>> why i
>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>
>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>> better
>>>>>>>> than
>>>>>>>> the debug log?
>>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf
>>>>>>>> bc
>>>>>>>> provider.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>> request,
>>>>>>>>> sorry for it)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>> appear
>>>>>>>>>> in
>>>>>>>>>> the
>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>
>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>> misunderstanding
>>>>>>>>>> came from that...
>>>>>>>>>>
>>>>>>>>>> Best Regards,
>>>>>>>>>> Florent
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>> incorrect.
>>>>>>>>>>>
>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>>> wasn't
>>>>>>>>>>> correct) :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>> <env:Body>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>         
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>> </env:Body>
>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> this :
>>>>>>>>>>>>
>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> consumer<--->
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>> :)
>>>>>>>>>>>>
>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>> message
>>>>>>>>>>>> :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>> <liste>
>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>> </liste>
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>> not
>>>>>>>>>>>> the
>>>>>>>>>>>> request one !
>>>>>>>>>>>>
>>>>>>>>>>>> Operation :
>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>> PortType :
>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Input / request :
>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> Output / response :
>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> string.
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>> role?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>> still
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> same
>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> has
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> one
>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>> or
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> <liste>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>> little
>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>> something
>>>>>>>>>>>>>> i
>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>> message,
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> not
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>> scenario
>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> my
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> error
>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>> party
>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> element
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not
>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> easy,
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> may
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code
>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> normal
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Server
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> possible
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> is
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered
>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> minOccurs="0"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          type="xsd:double"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="parameters" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>> 1.2?
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> If i use the following code to access to my web service,
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> works
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> log)...
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>> model
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> using
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> when
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>
>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14022082
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.
Hi Freeman, 

I'm still working on my problem... I built an eclipse environment with all
cxf / servicemix sources.
I created a JBI container, and added some breakpoints to debug, but without
any success yet...

The message received in the CxfBcProviderMessageObserver.onMessage method
has no content...

Here is "toString" value :

{org.apache.cxf.message.Message.RESPONSE_CODE=200,
org.apache.cxf.message.Message.ENCODING=null, Content-Type=text/xml;
charset=utf-8,
org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Length=[574],
Content-Language=[fr-FR], Date=[Fri, 30 Nov 2007 13:59:30 GMT],
Server=[WebSphere Application Server/6.1], content-type=[text/xml;
charset=utf-8], null=[HTTP/1.1 200 OK]}}

I'm wondering if i messed up something when i built my service assembly.

My jbi.xml is :

<?xml version="1.0" encoding="UTF-8"?>
<jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
  <services binding-component="false"/>
</jbi>

Is it correct?

Best Regards,
Florent.



Freeman Fang-2 wrote:
> 
> Hi Florent,
> Do you still have problem so far?
> One quick question, what's the response message  cxf client received 
> looks like when you use cxf client directly with websphere server?
> You can use code per as below to add logger to show the inbound/outbound 
> message of the client
>         ProtoBean port = service1.getProtoBean(); // port is your client 
> proxy
>         ClientProxy.getClient(port).getInInterceptors().add(new 
> LoggingInInterceptor());
>         ClientProxy.getClient(port).getOutInterceptors().add(new 
> LoggingOutInterceptor());
> 
> For my test, the response message client received is
> Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
> Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
> null=[HTTP/1.1 200 OK]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
> xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>
> 
> I compare it with your response message you append in your previous mail,
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header/>
> <soapenv:Body>
> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> <getProtoDTOReturn>
> <date>2007-11-28T09:10:54.104Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> </getProtoDTOReturn>
> </p637:getProtoDTOResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 
> 
> It's almost same, but you didn't paste the http header of response 
> message, so if you still get problem, probably it's caused by the 
> different header?
>  I also notice a
> 
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 
> in your message,  but cxf doesn't support encoded style.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>>
>> So, i created a CXF consumer using the wsdl2java tool. 
>>
>> I created a java project and imported all the generated classes. I build
>> my
>> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>>
>> I got it working : i used the ProtoBean_ProtoBean_Client generated main
>> class with the following parameter : 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>
>> The web service call was successfully done.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> It's different with my test, but I am using cxf client and cxf server.
>>> Would you please  use standalone cxf client invoke you websphere server 
>>> directly,  if it works, we can ensure it's not interoperability cause 
>>> this problem.
>>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>>> test for it.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Sadly, the response i get is "empty" : 
>>>>
>>>> <soap:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>>
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>>
>>>>> You client side should already have correct response even with this
>>>>> "Out 
>>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>>
>>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>>
>>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>>> third
>>>>>> party web service is called (i put a breakpoint to check it). 
>>>>>> Is there some documentation / examples of interceptor use, other than
>>>>>> javadoc?
>>>>>>
>>>>>> Sadly, i still get the "Out not supported error".
>>>>>>
>>>>>> If i used my standalone client to call the WAS web service (without
>>>>>> using
>>>>>> servicemix), i get the following soap message :
>>>>>>
>>>>>> <soapenv:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>>> <soapenv:Header/>
>>>>>> <soapenv:Body>
>>>>>> <p637:getProtoDTOResponse
>>>>>> xmlns:p637="http://ejb.proto.mycompany.com">
>>>>>> <getProtoDTOReturn>
>>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>>> <dble>0.0</dble>
>>>>>> <integ>1</integ>
>>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>>> </getProtoDTOReturn>
>>>>>> </p637:getProtoDTOResponse>
>>>>>> </soapenv:Body>
>>>>>> </soapenv:Envelope>
>>>>>>
>>>>>> Is there something wrong with it? or something servicemix cxf might
>>>>>> not
>>>>>> understand?
>>>>>>
>>>>>> Here is the debug log :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[localhos
>>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10
>>>>>> GMT],
>>>>>> SOAPActi
>>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control=
>>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>>> dSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 28 nov. 2007 10:05:10
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi Florent,
>>>>>>>
>>>>>>> I just use your wsdl and create standalone client and server using
>>>>>>> cxf, 
>>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>>> scenario, it works for me.
>>>>>>>
>>>>>>> The soap message after cxf bc provider is
>>>>>>>
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>>> Pragma=[no-cache], 
>>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>>> Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>>
>>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>>> so 
>>>>>>> you can add
>>>>>>>          <cxfbc:outInterceptors>
>>>>>>>                      <bean 
>>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>>           </cxfbc:outInterceptors>
>>>>>>>
>>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>>> soapAction according to the wsdl to your message
>>>>>>> after that, the soap message would be like
>>>>>>> Encoding: UTF-8
>>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>>> content-type=[text/xml; 
>>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>>> Message:
>>>>>>> <soap:Envelope 
>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>> I believe this way should work for you.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Yes, that's exactly what i mean.
>>>>>>>>
>>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>>> That's
>>>>>>>> why i
>>>>>>>> was saying my SOAP message is correct.
>>>>>>>>
>>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>>> better
>>>>>>>> than
>>>>>>>> the debug log?
>>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf
>>>>>>>> bc
>>>>>>>> provider.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>>> mistake in my prevoious mail, I mismactch the response and
>>>>>>>>> request,
>>>>>>>>> sorry for it)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> There is a problem when i post the "param" tag : it does not
>>>>>>>>>> appear
>>>>>>>>>> in
>>>>>>>>>> the
>>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>
>>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>>> misunderstanding
>>>>>>>>>> came from that...
>>>>>>>>>>
>>>>>>>>>> Best Regards,
>>>>>>>>>> Florent
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>>> incorrect.
>>>>>>>>>>>
>>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>>> wasn't
>>>>>>>>>>> correct) :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>> <env:Body>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>>         
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>> </env:Body>
>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> this :
>>>>>>>>>>>>
>>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> consumer<--->
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do)
>>>>>>>>>>>> :)
>>>>>>>>>>>>
>>>>>>>>>>>> According to your reply, i should use the following soap
>>>>>>>>>>>> message
>>>>>>>>>>>> :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>>> <env:Body>
>>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>>> <liste>
>>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>>> </liste>
>>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>>> </env:Body>
>>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>> But, according to my wsdl, this is the response soap message,
>>>>>>>>>>>> not
>>>>>>>>>>>> the
>>>>>>>>>>>> request one !
>>>>>>>>>>>>
>>>>>>>>>>>> Operation :
>>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>> PortType :
>>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Input / request :
>>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> Output / response :
>>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>> Element :
>>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>>     <complexType>
>>>>>>>>>>>>      <sequence>
>>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>>      </sequence>
>>>>>>>>>>>>     </complexType>
>>>>>>>>>>>> </element>
>>>>>>>>>>>>
>>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> string.
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>>> provider/consumer
>>>>>>>>>>>> role?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i
>>>>>>>>>>>>>> still
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> same
>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> standalone
>>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> has
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> one
>>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ>
>>>>>>>>>>>>> or
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> <liste>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>>> little
>>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>>> something
>>>>>>>>>>>>>> i
>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>>
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>>> message,
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> not
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>> jbi message.
>>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your
>>>>>>>>>>>>> scenario
>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>>> explain
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>> my
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>> error
>>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>>> thrid
>>>>>>>>>>>>>> party
>>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>>> service.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I only want to call my web service, but i want to call it
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The problem is that your hard code soap request message is
>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly
>>>>>>>>>>>>>>> without
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> element
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not
>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> easy,
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> may
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> the
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code
>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>> normal
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>> java
>>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for
>>>>>>>>>>>>>>> you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere
>>>>>>>>>>>>>>>> Application
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Server
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> possible
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> is
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for
>>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered
>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> dequeued
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> status:
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> minOccurs="0"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>> type="xsd:dateTime"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                          type="xsd:double"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="xsd:int" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> nillable="true"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> name="parameters" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>>                  <wsdlsoap:operation
>>>>>>>>>>>>>>>> soapAction="getProtoDTO"
>>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>> 1.2?
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> If i use the following code to access to my web service,
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> works
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> "</env:Envelope>";
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> MimeHeaders(), new
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> log)...
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create
>>>>>>>>>>>>>>>>>>> service
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>> model
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the
>>>>>>>>>>>>>>>>>>>> bus,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> using
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> when
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>               
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>             
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>         
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>>
>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a14064455
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@iona.com>.
Hi Florent,
Do you still have problem so far?
One quick question, what's the response message  cxf client received 
looks like when you use cxf client directly with websphere server?
You can use code per as below to add logger to show the inbound/outbound 
message of the client
        ProtoBean port = service1.getProtoBean(); // port is your client 
proxy
        ClientProxy.getClient(port).getInInterceptors().add(new 
LoggingInInterceptor());
        ClientProxy.getClient(port).getOutInterceptors().add(new 
LoggingOutInterceptor());

For my test, the response message client received is
Headers: {Content-Length=[349], SOAPAction=["getProtoDTO"], 
Server=[Jetty(6.1.5)], content-type=[text/xml; charset=utf-8], 
null=[HTTP/1.1 200 OK]}
Message:
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTOResponse 
xmlns:ns2="http://ejb.proto.mycompany.com"><getProtoDTOReturn><date>0400-01-01T00:00:00</date><dble>0.0</dble><integ>25</integ><liste><string>testString</string></liste></getProtoDTOReturn></ns2:getProtoDTOResponse></soap:Body></soap:Envelope>

I compare it with your response message you append in your previous mail,

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
<getProtoDTOReturn>
<date>2007-11-28T09:10:54.104Z</date>
<dble>0.0</dble>
<integ>1</integ>
<liste><string>s01</string><string>s02</string><string>s03</string></liste>
</getProtoDTOReturn>
</p637:getProtoDTOResponse>
</soapenv:Body>
</soapenv:Envelope>


It's almost same, but you didn't paste the http header of response 
message, so if you still get problem, probably it's caused by the 
different header?
 I also notice a

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 

in your message,  but cxf doesn't support encoded style.

Best Regards

Freeman

Florent wrote:
> Sorry for the delay, but as i'm new to cxf, it took me a bit of time.
>
> So, i created a CXF consumer using the wsdl2java tool. 
>
> I created a java project and imported all the generated classes. I build my
> own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.
>
> I got it working : i used the ProtoBean_ProtoBean_Client generated main
> class with the following parameter : 
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>
> The web service call was successfully done.
>
>
>
> Freeman Fang wrote:
>   
>> It's different with my test, but I am using cxf client and cxf server.
>> Would you please  use standalone cxf client invoke you websphere server 
>> directly,  if it works, we can ensure it's not interoperability cause 
>> this problem.
>> Sorry I have no websphere installed on my machine, so I can't do a quick 
>> test for it.
>>
>> Best Regards
>>
>> Freeman
>>
>> Florent wrote:
>>     
>>> Sadly, the response i get is "empty" : 
>>>
>>> <soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>>
>>> Best Regards,
>>> Florent.
>>>
>>>
>>>
>>> Freeman Fang-2 wrote:
>>>   
>>>       
>>>> Hi Florent,
>>>>
>>>> You client side should already have correct response even with this "Out 
>>>> not supported" exception. Anyway I will try to fix it  soon.
>>>>
>>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>>
>>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>> Florent wrote:
>>>>     
>>>>         
>>>>> Hi Freeman,
>>>>>
>>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>>> third
>>>>> party web service is called (i put a breakpoint to check it). 
>>>>> Is there some documentation / examples of interceptor use, other than
>>>>> javadoc?
>>>>>
>>>>> Sadly, i still get the "Out not supported error".
>>>>>
>>>>> If i used my standalone client to call the WAS web service (without
>>>>> using
>>>>> servicemix), i get the following soap message :
>>>>>
>>>>> <soapenv:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>> <soapenv:Header/>
>>>>> <soapenv:Body>
>>>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>>>> <getProtoDTOReturn>
>>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>>> <dble>0.0</dble>
>>>>> <integ>1</integ>
>>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>>> </getProtoDTOReturn>
>>>>> </p637:getProtoDTOResponse>
>>>>> </soapenv:Body>
>>>>> </soapenv:Envelope>
>>>>>
>>>>> Is there something wrong with it? or something servicemix cxf might not
>>>>> understand?
>>>>>
>>>>> Here is the debug log :
>>>>>
>>>>> INFO: Inbound Message
>>>>> --------------------------------------
>>>>> Encoding: utf-8
>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>> Host=[localhos
>>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
>>>>> SOAPActi
>>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>> Cache-Control=
>>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>> Message:
>>>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:en
>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:tns="http
>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>> otoDTO></env:Body></env:Envelope>
>>>>> --------------------------------------
>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>> from sendSync
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>   status: Active
>>>>>   role: provider
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>> ]
>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>> Active,
>>>>> role: provider
>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>   status: Active
>>>>>   role: consumer
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>>   out: null
>>>>> ]
>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>>> dSynchronousExchange
>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>> 28 nov. 2007 10:05:10
>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>> onClose
>>>>> INFO: Outbound Message
>>>>> --------------------------------------
>>>>> <soap:Envelope
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>  /></soap:Envelope>
>>>>> --------------------------------------
>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>>   status: Done
>>>>>   role: provider
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>>   out: null
>>>>> ]
>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>> Done,
>>>>> role:provider
>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>         at
>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi Florent,
>>>>>>
>>>>>> I just use your wsdl and create standalone client and server using
>>>>>> cxf, 
>>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>>> scenario, it works for me.
>>>>>>
>>>>>> The soap message after cxf bc provider is
>>>>>>
>>>>>> Encoding: UTF-8
>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>>> Pragma=[no-cache], 
>>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>>> Accept=[*]}
>>>>>> Message:
>>>>>> <soap:Envelope 
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>>
>>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>>> server. But as you said, your websphere server need this soapAction,
>>>>>> so 
>>>>>> you can add
>>>>>>          <cxfbc:outInterceptors>
>>>>>>                      <bean 
>>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>>           </cxfbc:outInterceptors>
>>>>>>
>>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>>> soapAction according to the wsdl to your message
>>>>>> after that, the soap message would be like
>>>>>> Encoding: UTF-8
>>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>>> content-type=[text/xml; 
>>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>>> Message:
>>>>>> <soap:Envelope 
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>> I believe this way should work for you.
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>> Florent wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Yes, that's exactly what i mean.
>>>>>>>
>>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>>> That's
>>>>>>> why i
>>>>>>> was saying my SOAP message is correct.
>>>>>>>
>>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>>> better
>>>>>>> than
>>>>>>> the debug log?
>>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>>>>>>> provider.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>>> mistake in my prevoious mail, I mismactch the response and request,
>>>>>>>> sorry for it)
>>>>>>>>
>>>>>>>>
>>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> There is a problem when i post the "param" tag : it does not appear
>>>>>>>>> in
>>>>>>>>> the
>>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>>
>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>> < param>myparam</ param>
>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>
>>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>>> misunderstanding
>>>>>>>>> came from that...
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>> Florent
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>>> incorrect.
>>>>>>>>>>
>>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>>> wasn't
>>>>>>>>>> correct) :
>>>>>>>>>>
>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>> <env:Envelope
>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>> <env:Body>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> < param>myparam</ param>
>>>>>>>>>>         
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>> </env:Body>
>>>>>>>>>> </env:Envelope>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> this :
>>>>>>>>>>>
>>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>> consumer<--->
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>>> <-->Websphere
>>>>>>>>>>> Application Server
>>>>>>>>>>>
>>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>>>>>>
>>>>>>>>>>> According to your reply, i should use the following soap message
>>>>>>>>>>> :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>>> <env:Body>
>>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>>> <integ>1</integ>
>>>>>>>>>>> <liste>
>>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>>> </liste>
>>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>>> </env:Body>
>>>>>>>>>>> </env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>> But, according to my wsdl, this is the response soap message, not
>>>>>>>>>>> the
>>>>>>>>>>> request one !
>>>>>>>>>>>
>>>>>>>>>>> Operation :
>>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>>       </wsdl:output>
>>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>>
>>>>>>>>>>> PortType :
>>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Input / request :
>>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>
>>>>>>>>>>> Element :
>>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>>     <complexType>
>>>>>>>>>>>      <sequence>
>>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>>      </sequence>
>>>>>>>>>>>     </complexType>
>>>>>>>>>>> </element>
>>>>>>>>>>>
>>>>>>>>>>> Output / response :
>>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>> name="parameters"/>
>>>>>>>>>>> </wsdl:message>
>>>>>>>>>>>
>>>>>>>>>>> Element :
>>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>>     <complexType>
>>>>>>>>>>>      <sequence>
>>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>>      </sequence>
>>>>>>>>>>>     </complexType>
>>>>>>>>>>> </element>
>>>>>>>>>>>
>>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>> string.
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>>> provider/consumer
>>>>>>>>>>> role?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>> Comments in line
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still
>>>>>>>>>>>>> get
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>> the
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>> same
>>>>>>>>>>>>> error.
>>>>>>>>>>>>>
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>>>>>>> standalone
>>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>>
>>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>>> from
>>>>>>>>>>>>> the
>>>>>>>>>>>>> RAD 7
>>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>>> method
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>> has
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>> one
>>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>>
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>> <liste>
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>>> little
>>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>>
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>>> something
>>>>>>>>>>>>> i
>>>>>>>>>>>>> don't
>>>>>>>>>>>>> understand.
>>>>>>>>>>>>>
>>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>>> Application Server
>>>>>>>>>>>>>
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>>
>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>>> message,
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>> not
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>> jbi message.
>>>>>>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>>>>>>> [1]
>>>>>>>>>>>>
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>>> explain
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>> my
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>> error
>>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>>> thrid
>>>>>>>>>>>>> party
>>>>>>>>>>>>> web service URL.
>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>>> service.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I only want to call my web service, but i want to call it using
>>>>>>>>>>>>> a
>>>>>>>>>>>>> servicemix
>>>>>>>>>>>>> URL.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>>> something
>>>>>>>>>>>>>> like
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>> element
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>> tag
>>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>> easy,
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>> so we
>>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message for
>>>>>>>>>>>>>> you,
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>> may
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>> be
>>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>> the
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>> normal
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>> java
>>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> Server
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> possible
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> is
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation
>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> dequeued
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> status:
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> dequeued
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> dequeued
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> status:
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> same
>>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> nillable="true"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> minOccurs="0"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> nillable="true"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                          type="xsd:dateTime"
>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> nillable="true"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> type="xsd:int" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> nillable="true"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> name="parameters" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO"
>>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>> 1.2?
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> works
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> "</env:Envelope>";
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> MimeHeaders(), new
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> log)...
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>> model
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>> using
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>> when
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>>>                                       
>>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>>                                     
>>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>               
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>             
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>>
>>>>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Sorry for the delay, but as i'm new to cxf, it took me a bit of time.

So, i created a CXF consumer using the wsdl2java tool. 

I created a java project and imported all the generated classes. I build my
own classpath, using jar from both WSDP 2.0 and CXF 2.0.3 librarie path.

I got it working : i used the ProtoBean_ProtoBean_Client generated main
class with the following parameter : 
http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean

The web service call was successfully done.



Freeman Fang wrote:
> 
> It's different with my test, but I am using cxf client and cxf server.
> Would you please  use standalone cxf client invoke you websphere server 
> directly,  if it works, we can ensure it's not interoperability cause 
> this problem.
> Sorry I have no websphere installed on my machine, so I can't do a quick 
> test for it.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Sadly, the response i get is "empty" : 
>>
>> <soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>>
>> Best Regards,
>> Florent.
>>
>>
>>
>> Freeman Fang-2 wrote:
>>   
>>> Hi Florent,
>>>
>>> You client side should already have correct response even with this "Out 
>>> not supported" exception. Anyway I will try to fix it  soon.
>>>
>>> For cxf interceptor documents, I think [1] is a good place to start.
>>>
>>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Hi Freeman,
>>>>
>>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>>> third
>>>> party web service is called (i put a breakpoint to check it). 
>>>> Is there some documentation / examples of interceptor use, other than
>>>> javadoc?
>>>>
>>>> Sadly, i still get the "Out not supported error".
>>>>
>>>> If i used my standalone client to call the WAS web service (without
>>>> using
>>>> servicemix), i get the following soap message :
>>>>
>>>> <soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>> <soapenv:Header/>
>>>> <soapenv:Body>
>>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>>> <getProtoDTOReturn>
>>>> <date>2007-11-28T09:10:54.104Z</date>
>>>> <dble>0.0</dble>
>>>> <integ>1</integ>
>>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>>> </getProtoDTOReturn>
>>>> </p637:getProtoDTOResponse>
>>>> </soapenv:Body>
>>>> </soapenv:Envelope>
>>>>
>>>> Is there something wrong with it? or something servicemix cxf might not
>>>> understand?
>>>>
>>>> Here is the debug log :
>>>>
>>>> INFO: Inbound Message
>>>> --------------------------------------
>>>> Encoding: utf-8
>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>> Host=[localhos
>>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
>>>> SOAPActi
>>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>> Cache-Control=
>>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>> Message:
>>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:en
>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:xsd="http://www.w3.org/2001/
>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:tns="http
>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>> otoDTO></env:Body></env:Envelope>
>>>> --------------------------------------
>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>> DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>>> DeliveryChannel{servicemix-cxf-bc}
>>>> from sendSync
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>   status: Active
>>>>   role: provider
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>> ]
>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>> Active,
>>>> role: provider
>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>> DEBUG - DeliveryChannelImpl            - Send
>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>> DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>   status: Active
>>>>   role: consumer
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>>   out: null
>>>> ]
>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>>> dSynchronousExchange
>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>> 28 nov. 2007 10:05:10
>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>> onClose
>>>> INFO: Outbound Message
>>>> --------------------------------------
>>>> <soap:Envelope
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>  /></soap:Envelope>
>>>> --------------------------------------
>>>> DEBUG - DeliveryChannelImpl            - Send
>>>> ID:172.xx.xxx.xxx-116855db752-4:10 in
>>>> DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>>   status: Done
>>>>   role: provider
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>>   out: null
>>>> ]
>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>> Done,
>>>> role:provider
>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>         at
>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>>
>>>>> I just use your wsdl and create standalone client and server using
>>>>> cxf, 
>>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>>> scenario, it works for me.
>>>>>
>>>>> The soap message after cxf bc provider is
>>>>>
>>>>> Encoding: UTF-8
>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>> connection=[keep-alive], transfer-encoding=[chunked],
>>>>> Pragma=[no-cache], 
>>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>>> Accept=[*]}
>>>>> Message:
>>>>> <soap:Envelope 
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>>
>>>>> Even there this no soapAction in http header, it works well with cxf 
>>>>> server. But as you said, your websphere server need this soapAction,
>>>>> so 
>>>>> you can add
>>>>>          <cxfbc:outInterceptors>
>>>>>                      <bean 
>>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>>           </cxfbc:outInterceptors>
>>>>>
>>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>>> soapAction according to the wsdl to your message
>>>>> after that, the soap message would be like
>>>>> Encoding: UTF-8
>>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>>> transfer-encoding=[chunked], Pragma=[no-cache],
>>>>> content-type=[text/xml; 
>>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>>> Message:
>>>>> <soap:Envelope 
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>> I believe this way should work for you.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Yes, that's exactly what i mean.
>>>>>>
>>>>>> The param tag didn't appear in my first for some obscur reason.
>>>>>> That's
>>>>>> why i
>>>>>> was saying my SOAP message is correct.
>>>>>>
>>>>>> Is there any way to trace what is going on in the bus? Something
>>>>>> better
>>>>>> than
>>>>>> the debug log?
>>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>>>>>> provider.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>>> mistake in my prevoious mail, I mismactch the response and request,
>>>>>>> sorry for it)
>>>>>>>
>>>>>>>
>>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> There is a problem when i post the "param" tag : it does not appear
>>>>>>>> in
>>>>>>>> the
>>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>>
>>>>>>>> <tns:getProtoDTO>
>>>>>>>> < param>myparam</ param>
>>>>>>>> </tns:getProtoDTO>
>>>>>>>>
>>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>>> misunderstanding
>>>>>>>> came from that...
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> Florent
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>>> incorrect.
>>>>>>>>>
>>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>>> wasn't
>>>>>>>>> correct) :
>>>>>>>>>
>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>> <env:Envelope
>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>> <env:Body>
>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>> < param>myparam</ param>
>>>>>>>>>         
>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>> </env:Body>
>>>>>>>>> </env:Envelope>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> this :
>>>>>>>>>>
>>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>> consumer<--->
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>>> <-->Websphere
>>>>>>>>>> Application Server
>>>>>>>>>>
>>>>>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>>>>>
>>>>>>>>>> According to your reply, i should use the following soap message
>>>>>>>>>> :
>>>>>>>>>>
>>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>>> <env:Envelope
>>>>>>>>>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>>> <env:Body>
>>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>>> <dble>0.0</dble>
>>>>>>>>>> <integ>1</integ>
>>>>>>>>>> <liste>
>>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>>> </liste>
>>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>>> </env:Body>
>>>>>>>>>> </env:Envelope>
>>>>>>>>>>
>>>>>>>>>> But, according to my wsdl, this is the response soap message, not
>>>>>>>>>> the
>>>>>>>>>> request one !
>>>>>>>>>>
>>>>>>>>>> Operation :
>>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>       </wsdl:input>
>>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>>       </wsdl:output>
>>>>>>>>>> </wsdl:operation>
>>>>>>>>>>
>>>>>>>>>> PortType :
>>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>>     </wsdl:operation>
>>>>>>>>>> </wsdl:portType>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Input / request :
>>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>>> </wsdl:message>
>>>>>>>>>>
>>>>>>>>>> Element :
>>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>>     <complexType>
>>>>>>>>>>      <sequence>
>>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>>      </sequence>
>>>>>>>>>>     </complexType>
>>>>>>>>>> </element>
>>>>>>>>>>
>>>>>>>>>> Output / response :
>>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>> name="parameters"/>
>>>>>>>>>> </wsdl:message>
>>>>>>>>>>
>>>>>>>>>> Element :
>>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>>     <complexType>
>>>>>>>>>>      <sequence>
>>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>>      </sequence>
>>>>>>>>>>     </complexType>
>>>>>>>>>> </element>
>>>>>>>>>>
>>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>> string.
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>>> provider/consumer
>>>>>>>>>> role?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Comments in line
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>>
>>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still
>>>>>>>>>>>> get
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>> the
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>> same
>>>>>>>>>>>> error.
>>>>>>>>>>>>
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>>>>>> standalone
>>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>>
>>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it
>>>>>>>>>>>> from
>>>>>>>>>>>> the
>>>>>>>>>>>> RAD 7
>>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>>> method
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>> has
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>> one
>>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>>
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under
>>>>>>>>>>> <getProtoDTO>
>>>>>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>> <liste>
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>> Btw, different soap tool kit may generate soap message with
>>>>>>>>>>> little
>>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>>
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> As i'm totally new to servicemix, so there is probably
>>>>>>>>>>>> something
>>>>>>>>>>>> i
>>>>>>>>>>>> don't
>>>>>>>>>>>> understand.
>>>>>>>>>>>>
>>>>>>>>>>>> What i want to do :
>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>>> <-->Websphere
>>>>>>>>>>>> Application Server
>>>>>>>>>>>>
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>> no, what's going on is
>>>>>>>>>>>
>>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>>>>>> Application Server
>>>>>>>>>>>
>>>>>>>>>>> So what's reach your websphere application server is soap
>>>>>>>>>>> message,
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>> not
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>> jbi message.
>>>>>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>>>>>> [1]
>>>>>>>>>>>
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>>> explain
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>> my
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>> error
>>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>>
>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>>> thrid
>>>>>>>>>>>> party
>>>>>>>>>>>> web service URL.
>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web
>>>>>>>>>>>> service.
>>>>>>>>>>>>
>>>>>>>>>>>> I only want to call my web service, but i want to call it using
>>>>>>>>>>>> a
>>>>>>>>>>>> servicemix
>>>>>>>>>>>> URL.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>> Florent.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>
>>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>>>>>> correct.
>>>>>>>>>>>>>
>>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>>> something
>>>>>>>>>>>>> like
>>>>>>>>>>>>>
>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>
>>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>> element
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>> tag
>>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>> easy,
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>> so we
>>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message for
>>>>>>>>>>>>> you,
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>> may
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>> be
>>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>>> from
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>> the
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>> normal
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>> java
>>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>                 
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> use
>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> Server
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> possible
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>>> here
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> is
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> output :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> Message:
>>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation
>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> dequeued
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> status:
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> Active,
>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> dequeued
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>>> onClose
>>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> dequeued
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> status:
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>> Done,
>>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved
>>>>>>>>>>>>>> correlation
>>>>>>>>>>>>>> id:
>>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> same
>>>>>>>>>>>>>> one,
>>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> name="getProtoDTOReturn"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>> name="param"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> nillable="true"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>                                  <element
>>>>>>>>>>>>>> maxOccurs="unbounded"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> minOccurs="0"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> nillable="true"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                          type="xsd:dateTime"
>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> nillable="true"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> type="xsd:int" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> nillable="true"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> name="parameters" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>                  <wsdl:input
>>>>>>>>>>>>>> message="intf:getProtoDTORequest"
>>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>>                 
>>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO"
>>>>>>>>>>>>>> />
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use
>>>>>>>>>>>>>>> soap
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>> 1.2?
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> works
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>> "<env:Envelope
>>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>> "</env:Body>"
>>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> "</env:Envelope>";
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> MimeHeaders(), new
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> log)...
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration.
>>>>>>>>>>>>>>>>> Cxf
>>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>> model
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>> using
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>> when
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute,
>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>>> <beans
>>>>>>>>>>>>>>>>>> xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>                   
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>               
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>             
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>>
>>>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13994560
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
It's different with my test, but I am using cxf client and cxf server.
Would you please  use standalone cxf client invoke you websphere server 
directly,  if it works, we can ensure it's not interoperability cause 
this problem.
Sorry I have no websphere installed on my machine, so I can't do a quick 
test for it.

Best Regards

Freeman

Florent wrote:
> Sadly, the response i get is "empty" : 
>
> <soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>
>
> Best Regards,
> Florent.
>
>
>
> Freeman Fang-2 wrote:
>   
>> Hi Florent,
>>
>> You client side should already have correct response even with this "Out 
>> not supported" exception. Anyway I will try to fix it  soon.
>>
>> For cxf interceptor documents, I think [1] is a good place to start.
>>
>> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
>>
>> Best Regards
>>
>> Freeman
>>
>> Florent wrote:
>>     
>>> Hi Freeman,
>>>
>>> Thanks for your post, it resolves a part of the problem. Indeed, the
>>> third
>>> party web service is called (i put a breakpoint to check it). 
>>> Is there some documentation / examples of interceptor use, other than
>>> javadoc?
>>>
>>> Sadly, i still get the "Out not supported error".
>>>
>>> If i used my standalone client to call the WAS web service (without using
>>> servicemix), i get the following soap message :
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>> <soapenv:Header/>
>>> <soapenv:Body>
>>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>>> <getProtoDTOReturn>
>>> <date>2007-11-28T09:10:54.104Z</date>
>>> <dble>0.0</dble>
>>> <integ>1</integ>
>>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>>> </getProtoDTOReturn>
>>> </p637:getProtoDTOResponse>
>>> </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> Is there something wrong with it? or something servicemix cxf might not
>>> understand?
>>>
>>> Here is the debug log :
>>>
>>> INFO: Inbound Message
>>> --------------------------------------
>>> Encoding: utf-8
>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>> Host=[localhos
>>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
>>> SOAPActi
>>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>> Cache-Control=
>>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>> Message:
>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:en
>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:xsd="http://www.w3.org/2001/
>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:tns="http
>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>> otoDTO></env:Body></env:Envelope>
>>> --------------------------------------
>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>> DEBUG - DeliveryChannelImpl            - SendSync
>>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>>> DeliveryChannel{servicemix-cxf-bc}
>>> from sendSync
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>>> exchange: InOut[
>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>   status: Active
>>>   role: provider
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>> ]
>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>> Active,
>>> role: provider
>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>> DEBUG - DeliveryChannelImpl            - Send
>>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>>> exchange: InOut[
>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>   status: Active
>>>   role: consumer
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>>   out: null
>>> ]
>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>>> dSynchronousExchange
>>> DEBUG - DeliveryChannelImpl            - Notified:
>>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>> 28 nov. 2007 10:05:10
>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>>> INFO: Outbound Message
>>> --------------------------------------
>>> <soap:Envelope
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>  /></soap:Envelope>
>>> --------------------------------------
>>> DEBUG - DeliveryChannelImpl            - Send
>>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>>> exchange: InOut[
>>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>>   status: Done
>>>   role: provider
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>>   out: null
>>> ]
>>> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
>>> role:provider
>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>> ID:172.xx.xxx.xxx-116855db752-4:10
>>> javax.jbi.messaging.MessagingException: Out not supported
>>>         at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>         at
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>         at
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>       
>>>> Hi Florent,
>>>>
>>>> I just use your wsdl and create standalone client and server using cxf, 
>>>> and use servicemix cxf bc consumer and provider to simulate your 
>>>> scenario, it works for me.
>>>>
>>>> The soap message after cxf bc provider is
>>>>
>>>> Encoding: UTF-8
>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>> connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], 
>>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>>> Accept=[*]}
>>>> Message:
>>>> <soap:Envelope 
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>>
>>>> Even there this no soapAction in http header, it works well with cxf 
>>>> server. But as you said, your websphere server need this soapAction, so 
>>>> you can add
>>>>          <cxfbc:outInterceptors>
>>>>                      <bean 
>>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>>           </cxfbc:outInterceptors>
>>>>
>>>> for your cxf bc provider configuration,  this interceptor will add 
>>>> soapAction according to the wsdl to your message
>>>> after that, the soap message would be like
>>>> Encoding: UTF-8
>>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>>> transfer-encoding=[chunked], Pragma=[no-cache], content-type=[text/xml; 
>>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>>> Message:
>>>> <soap:Envelope 
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>> I believe this way should work for you.
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>> Florent wrote:
>>>>     
>>>>         
>>>>> Yes, that's exactly what i mean.
>>>>>
>>>>> The param tag didn't appear in my first for some obscur reason. That's
>>>>> why i
>>>>> was saying my SOAP message is correct.
>>>>>
>>>>> Is there any way to trace what is going on in the bus? Something better
>>>>> than
>>>>> the debug log?
>>>>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>>>>> provider.
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> You mean your request soap message already has < param> yourParam<
>>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>>> mistake in my prevoious mail, I mismactch the response and request,
>>>>>> sorry for it)
>>>>>>
>>>>>>
>>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> There is a problem when i post the "param" tag : it does not appear
>>>>>>> in
>>>>>>> the
>>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>>
>>>>>>> <tns:getProtoDTO>
>>>>>>> < param>myparam</ param>
>>>>>>> </tns:getProtoDTO>
>>>>>>>
>>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>>> misunderstanding
>>>>>>> came from that...
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Florent
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>>> incorrect.
>>>>>>>>
>>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>>> wasn't
>>>>>>>> correct) :
>>>>>>>>
>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>> <env:Body>
>>>>>>>> <tns:getProtoDTO>
>>>>>>>> < param>myparam</ param>
>>>>>>>>         
>>>>>>>> </tns:getProtoDTO>
>>>>>>>> </env:Body>
>>>>>>>> </env:Envelope>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> this :
>>>>>>>>>
>>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>> consumer<--->
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>>> <-->Websphere
>>>>>>>>> Application Server
>>>>>>>>>
>>>>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>>>>
>>>>>>>>> According to your reply, i should use the following soap message :
>>>>>>>>>
>>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>>> <env:Body>
>>>>>>>>> <tns:getProtoDTO>
>>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>>> <dble>0.0</dble>
>>>>>>>>> <integ>1</integ>
>>>>>>>>> <liste>
>>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>>> </liste>
>>>>>>>>> </tns:getProtoDTO>
>>>>>>>>> </env:Body>
>>>>>>>>> </env:Envelope>
>>>>>>>>>
>>>>>>>>> But, according to my wsdl, this is the response soap message, not
>>>>>>>>> the
>>>>>>>>> request one !
>>>>>>>>>
>>>>>>>>> Operation :
>>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>       </wsdl:input>
>>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>>       </wsdl:output>
>>>>>>>>> </wsdl:operation>
>>>>>>>>>
>>>>>>>>> PortType :
>>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>>     </wsdl:operation>
>>>>>>>>> </wsdl:portType>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Input / request :
>>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>>> </wsdl:message>
>>>>>>>>>
>>>>>>>>> Element :
>>>>>>>>> <element name="getProtoDTO">
>>>>>>>>>     <complexType>
>>>>>>>>>      <sequence>
>>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>>      </sequence>
>>>>>>>>>     </complexType>
>>>>>>>>> </element>
>>>>>>>>>
>>>>>>>>> Output / response :
>>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>> name="parameters"/>
>>>>>>>>> </wsdl:message>
>>>>>>>>>
>>>>>>>>> Element :
>>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>>     <complexType>
>>>>>>>>>      <sequence>
>>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>>      </sequence>
>>>>>>>>>     </complexType>
>>>>>>>>> </element>
>>>>>>>>>
>>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>> string.
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>>> provider/consumer
>>>>>>>>> role?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>> Comments in line
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> Morning Freeman,
>>>>>>>>>>>
>>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still
>>>>>>>>>>> get
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>> the
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>> same
>>>>>>>>>>> error.
>>>>>>>>>>>
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>> What's your new soap message now?
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>>>>> standalone
>>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>>
>>>>>>>>>>> I think my SOAP message is correct : i tried to generate it from
>>>>>>>>>>> the
>>>>>>>>>>> RAD 7
>>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>>> method
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>> has
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>> one
>>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>>
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>>>>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>> <liste>
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>> Btw, different soap tool kit may generate soap message with little
>>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>>
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> As i'm totally new to servicemix, so there is probably something
>>>>>>>>>>> i
>>>>>>>>>>> don't
>>>>>>>>>>> understand.
>>>>>>>>>>>
>>>>>>>>>>> What i want to do :
>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>>> <-->Websphere
>>>>>>>>>>> Application Server
>>>>>>>>>>>
>>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>>> <-->Websphere
>>>>>>>>>>> Application Server
>>>>>>>>>>>
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>> no, what's going on is
>>>>>>>>>>
>>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>>>>> Application Server
>>>>>>>>>>
>>>>>>>>>> So what's reach your websphere application server is soap message,
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>> not
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>> jbi message.
>>>>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>>>>> [1]
>>>>>>>>>>
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>>> explain
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>> my
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>> error
>>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>>
>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>>> thrid
>>>>>>>>>>> party
>>>>>>>>>>> web service URL.
>>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>>>>>>>>
>>>>>>>>>>> I only want to call my web service, but i want to call it using a
>>>>>>>>>>> servicemix
>>>>>>>>>>> URL.
>>>>>>>>>>>
>>>>>>>>>>> Thanks again for your help,
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Florent.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>
>>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>>
>>>>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>>>>> correct.
>>>>>>>>>>>>
>>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>>> something
>>>>>>>>>>>> like
>>>>>>>>>>>>
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>>> </tns:getPr
>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>
>>>>>>>>>>>> You shouldn't use
>>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>> element
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>> tag
>>>>>>>>>>>> defined in the schema.
>>>>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>> easy,
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>> so we
>>>>>>>>>>>> prefer to use some soap tool kit to generate soap message for
>>>>>>>>>>>> you,
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>> may
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>> be
>>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>>> from
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>> the
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>> normal
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>> java
>>>>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>>>>
>>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>>
>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>                 
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> use
>>>>>>>>>>>>> soap
>>>>>>>>>>>>> 1.1.
>>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>> is using...
>>>>>>>>>>>>>
>>>>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> Server
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> possible
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> to
>>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>>
>>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>>> here
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> is
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> the
>>>>>>>>>>>>> output :
>>>>>>>>>>>>>
>>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>>> GMT],
>>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> Message:
>>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation
>>>>>>>>>>>>> id:
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> dequeued
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>> ]
>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> status:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> Active,
>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>>>> id:
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> dequeued
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>> ]
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>>> onClose
>>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> dequeued
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>>   out: null
>>>>>>>>>>>>> ]
>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> status:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>> Done,
>>>>>>>>>>>>> role:provider
>>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>>>> id:
>>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is
>>>>>>>>>>>>> the
>>>>>>>>>>>>> same
>>>>>>>>>>>>> one,
>>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>>
>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> name="getProtoDTOReturn"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> type="tns2:ProtoDTO" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>>                                          <element name="param"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> nillable="true"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                                 
>>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>                                  <element maxOccurs="unbounded"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> minOccurs="0"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> nillable="true" type="xsd:string" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>          <schema
>>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>>                  <import
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> nillable="true"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                          type="xsd:dateTime" />
>>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> nillable="true"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> type="xsd:int" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> nillable="true"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                                         
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> name="parameters" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>>
>>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>>
>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>>
>>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>>                 
>>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO"
>>>>>>>>>>>>> />
>>>>>>>>>>>>>
>>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>
>>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>>
>>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>>
>>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>>
>>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>>> use
>>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>> 1.2?
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> works
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>>>>                                                "<env:Envelope
>>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>>                                                "</env:Body>"
>>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> "</env:Envelope>";
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> MimeHeaders(), new
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> log)...
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>>> why
>>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf
>>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>> model
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>> using
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>> when
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute, but
>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>>>                                   
>>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>                     
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>                   
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>               
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>>
>>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Sadly, the response i get is "empty" : 

<soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body/></soap:Envelope>

Best Regards,
Florent.



Freeman Fang-2 wrote:
> 
> Hi Florent,
> 
> You client side should already have correct response even with this "Out 
> not supported" exception. Anyway I will try to fix it  soon.
> 
> For cxf interceptor documents, I think [1] is a good place to start.
> 
> [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Hi Freeman,
>>
>> Thanks for your post, it resolves a part of the problem. Indeed, the
>> third
>> party web service is called (i put a breakpoint to check it). 
>> Is there some documentation / examples of interceptor use, other than
>> javadoc?
>>
>> Sadly, i still get the "Out not supported error".
>>
>> If i used my standalone client to call the WAS web service (without using
>> servicemix), i get the following soap message :
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>> <soapenv:Header/>
>> <soapenv:Body>
>> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
>> <getProtoDTOReturn>
>> <date>2007-11-28T09:10:54.104Z</date>
>> <dble>0.0</dble>
>> <integ>1</integ>
>> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
>> </getProtoDTOReturn>
>> </p637:getProtoDTOResponse>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>> Is there something wrong with it? or something servicemix cxf might not
>> understand?
>>
>> Here is the debug log :
>>
>> INFO: Inbound Message
>> --------------------------------------
>> Encoding: utf-8
>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>> Host=[localhos
>> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
>> SOAPActi
>> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>> Cache-Control=
>> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>> Message:
>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:en
>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd="http://www.w3.org/2001/
>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:tns="http
>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>> otoDTO></env:Body></env:Envelope>
>> --------------------------------------
>> DEBUG - CxfBcComponent                 - Created correlation id:
>> ID:172.xx.xxx.xxx-116855db752-4:10
>> DEBUG - DeliveryChannelImpl            - SendSync
>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
>> DeliveryChannel{servicemix-cxf-bc}
>> from sendSync
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
>> exchange: InOut[
>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>   status: Active
>>   role: provider
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>> ]
>> DEBUG - CxfBcComponent                 - Received exchange: status:
>> Active,
>> role: provider
>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> ID:172.xx.xxx.xxx-116855db752-4:10
>> DEBUG - DeliveryChannelImpl            - Send
>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
>> exchange: InOut[
>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>   status: Active
>>   role: consumer
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>>   out: null
>> ]
>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>> DeliveryChannel{servicemix-cxf-bc} from processInboun
>> dSynchronousExchange
>> DEBUG - DeliveryChannelImpl            - Notified:
>> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> 28 nov. 2007 10:05:10
>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>> INFO: Outbound Message
>> --------------------------------------
>> <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>  /></soap:Envelope>
>> --------------------------------------
>> DEBUG - DeliveryChannelImpl            - Send
>> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
>> exchange: InOut[
>>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>>   status: Done
>>   role: provider
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>>   out: null
>> ]
>> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
>> role:provider
>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> ID:172.xx.xxx.xxx-116855db752-4:10
>> javax.jbi.messaging.MessagingException: Out not supported
>>         at
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>         at
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>         at java.lang.Thread.run(Thread.java:595)
>>
>>
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi Florent,
>>>
>>> I just use your wsdl and create standalone client and server using cxf, 
>>> and use servicemix cxf bc consumer and provider to simulate your 
>>> scenario, it works for me.
>>>
>>> The soap message after cxf bc provider is
>>>
>>> Encoding: UTF-8
>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>> connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], 
>>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>>> Accept=[*]}
>>> Message:
>>> <soap:Envelope 
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>>
>>> Even there this no soapAction in http header, it works well with cxf 
>>> server. But as you said, your websphere server need this soapAction, so 
>>> you can add
>>>          <cxfbc:outInterceptors>
>>>                      <bean 
>>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>>           </cxfbc:outInterceptors>
>>>
>>> for your cxf bc provider configuration,  this interceptor will add 
>>> soapAction according to the wsdl to your message
>>> after that, the soap message would be like
>>> Encoding: UTF-8
>>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>>> transfer-encoding=[chunked], Pragma=[no-cache], content-type=[text/xml; 
>>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>>> Message:
>>> <soap:Envelope 
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>> I believe this way should work for you.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>> Florent wrote:
>>>     
>>>> Yes, that's exactly what i mean.
>>>>
>>>> The param tag didn't appear in my first for some obscur reason. That's
>>>> why i
>>>> was saying my SOAP message is correct.
>>>>
>>>> Is there any way to trace what is going on in the bus? Something better
>>>> than
>>>> the debug log?
>>>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>>>> provider.
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>       
>>>>> You mean your request soap message already has < param> yourParam<
>>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>>> mistake in my prevoious mail, I mismactch the response and request,
>>>>> sorry for it)
>>>>>
>>>>>
>>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>>     
>>>>>         
>>>>>> There is a problem when i post the "param" tag : it does not appear
>>>>>> in
>>>>>> the
>>>>>> forum post. I edited my previous message and put some spaces :
>>>>>>
>>>>>> <tns:getProtoDTO>
>>>>>> < param>myparam</ param>
>>>>>> </tns:getProtoDTO>
>>>>>>
>>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>>> misunderstanding
>>>>>> came from that...
>>>>>>
>>>>>> Best Regards,
>>>>>> Florent
>>>>>>
>>>>>>
>>>>>>
>>>>>> Florent wrote:
>>>>>>       
>>>>>>           
>>>>>>> Ok, i think i understand why you said my soap enveloppe in
>>>>>>> incorrect.
>>>>>>>
>>>>>>> Here is the one i'm using (in my first post, i have to admit it
>>>>>>> wasn't
>>>>>>> correct) :
>>>>>>>
>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>> <env:Body>
>>>>>>> <tns:getProtoDTO>
>>>>>>> < param>myparam</ param>
>>>>>>>         
>>>>>>> </tns:getProtoDTO>
>>>>>>> </env:Body>
>>>>>>> </env:Envelope>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>         
>>>>>>>             
>>>>>>>> this :
>>>>>>>>
>>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>>           
>>>>>>>>               
>>>>>> consumer<--->
>>>>>>       
>>>>>>           
>>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>>> <-->Websphere
>>>>>>>> Application Server
>>>>>>>>
>>>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>>>
>>>>>>>> According to your reply, i should use the following soap message :
>>>>>>>>
>>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>>> <env:Body>
>>>>>>>> <tns:getProtoDTO>
>>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>>> <dble>0.0</dble>
>>>>>>>> <integ>1</integ>
>>>>>>>> <liste>
>>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>>> </liste>
>>>>>>>> </tns:getProtoDTO>
>>>>>>>> </env:Body>
>>>>>>>> </env:Envelope>
>>>>>>>>
>>>>>>>> But, according to my wsdl, this is the response soap message, not
>>>>>>>> the
>>>>>>>> request one !
>>>>>>>>
>>>>>>>> Operation :
>>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>       </wsdl:input>
>>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>>       </wsdl:output>
>>>>>>>> </wsdl:operation>
>>>>>>>>
>>>>>>>> PortType :
>>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>> name="getProtoDTORequest"/>
>>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>>     </wsdl:operation>
>>>>>>>> </wsdl:portType>
>>>>>>>>
>>>>>>>>
>>>>>>>> Input / request :
>>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>>> </wsdl:message>
>>>>>>>>
>>>>>>>> Element :
>>>>>>>> <element name="getProtoDTO">
>>>>>>>>     <complexType>
>>>>>>>>      <sequence>
>>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>>      </sequence>
>>>>>>>>     </complexType>
>>>>>>>> </element>
>>>>>>>>
>>>>>>>> Output / response :
>>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>> name="parameters"/>
>>>>>>>> </wsdl:message>
>>>>>>>>
>>>>>>>> Element :
>>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>>     <complexType>
>>>>>>>>      <sequence>
>>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>>      </sequence>
>>>>>>>>     </complexType>
>>>>>>>> </element>
>>>>>>>>
>>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>>           
>>>>>>>>               
>>>>>> string.
>>>>>>       
>>>>>>           
>>>>>>>> Did i misunderstand something? May be i'm confusing
>>>>>>>> provider/consumer
>>>>>>>> role?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> Comments in line
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> Morning Freeman,
>>>>>>>>>>
>>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still
>>>>>>>>>> get
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>> the
>>>>>>       
>>>>>>           
>>>>>>>>>> same
>>>>>>>>>> error.
>>>>>>>>>>
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>> What's your new soap message now?
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>>>> standalone
>>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>>
>>>>>>>>>> I think my SOAP message is correct : i tried to generate it from
>>>>>>>>>> the
>>>>>>>>>> RAD 7
>>>>>>>>>> web service test and it was the same one. Plus, my business
>>>>>>>>>> method
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>> has
>>>>>>       
>>>>>>           
>>>>>>>>>> one
>>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>>
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>>>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>>>             
>>>>>>>>>                 
>>>>>> <liste>
>>>>>>       
>>>>>>           
>>>>>>>>> Btw, different soap tool kit may generate soap message with little
>>>>>>>>> different, which may cause interoperability problem
>>>>>>>>>
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> As i'm totally new to servicemix, so there is probably something
>>>>>>>>>> i
>>>>>>>>>> don't
>>>>>>>>>> understand.
>>>>>>>>>>
>>>>>>>>>> What i want to do :
>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>>> <-->Websphere
>>>>>>>>>> Application Server
>>>>>>>>>>
>>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message
>>>>>>>>>> <-->Websphere
>>>>>>>>>> Application Server
>>>>>>>>>>
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>> no, what's going on is
>>>>>>>>>
>>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>>>> Application Server
>>>>>>>>>
>>>>>>>>> So what's reach your websphere application server is soap message,
>>>>>>>>>             
>>>>>>>>>                 
>>>>>> not
>>>>>>       
>>>>>>           
>>>>>>>>> jbi message.
>>>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>>>> [1]
>>>>>>>>>
>>>>>>>>>             
>>>>>>>>>                 
>>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>>       
>>>>>>           
>>>>>>>>>> So, i don't think WAS support JBI message... and that could
>>>>>>>>>> explain
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>> my
>>>>>>       
>>>>>>           
>>>>>>>>>> error
>>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>>
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean =
>>>>>>>>>> thrid
>>>>>>>>>> party
>>>>>>>>>> web service URL.
>>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>>>>>>>
>>>>>>>>>> I only want to call my web service, but i want to call it using a
>>>>>>>>>> servicemix
>>>>>>>>>> URL.
>>>>>>>>>>
>>>>>>>>>> Thanks again for your help,
>>>>>>>>>> Best Regards,
>>>>>>>>>> Florent.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>
>>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>>
>>>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>>>> correct.
>>>>>>>>>>>
>>>>>>>>>>> According to the schema in wsdl you append, it should be
>>>>>>>>>>> something
>>>>>>>>>>> like
>>>>>>>>>>>
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:en
>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>>> <date>your date</date>
>>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>>> </tns:getPr
>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>
>>>>>>>>>>> You shouldn't use
>>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>> element
>>>>>>       
>>>>>>           
>>>>>>>>>>> tag
>>>>>>>>>>> defined in the schema.
>>>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>> easy,
>>>>>>       
>>>>>>           
>>>>>>>>>>> so we
>>>>>>>>>>> prefer to use some soap tool kit to generate soap message for
>>>>>>>>>>> you,
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>> may
>>>>>>       
>>>>>>           
>>>>>>>>>>> be
>>>>>>>>>>> you can  try to use apache cxf, basically generate code stub
>>>>>>>>>>> from
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>> the
>>>>>>       
>>>>>>           
>>>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>> normal
>>>>>>       
>>>>>>           
>>>>>>>>>>> java
>>>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>>>
>>>>>>>>>>> Would you please try it again?
>>>>>>>>>>>
>>>>>>>>>>> Best Regards
>>>>>>>>>>>
>>>>>>>>>>> Freeman
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>>
>>>>>>>>>>>> Indeed,
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>>       
>>>>>>           
>>>>>>>>>>>> use
>>>>>>>>>>>> soap
>>>>>>>>>>>> 1.1.
>>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>> is using...
>>>>>>>>>>>>
>>>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> Server
>>>>>>       
>>>>>>           
>>>>>>>>>>>> 6.1.
>>>>>>>>>>>>
>>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> possible
>>>>>>       
>>>>>>           
>>>>>>>>>>>> to
>>>>>>>>>>>> log/trace it?
>>>>>>>>>>>>
>>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml,
>>>>>>>>>>>> here
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> is
>>>>>>       
>>>>>>           
>>>>>>>>>>>> the
>>>>>>>>>>>> output :
>>>>>>>>>>>>
>>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM
>>>>>>>>>>>> WebServices/1.0],
>>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>>> 08:59:47
>>>>>>>>>>>> GMT],
>>>>>>>>>>>> SOAPAct
>>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>>> Cache-Control
>>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>>       
>>>>>>           
>>>>>>>>>>>> Message:
>>>>>>>>>>>> <env:Envelope
>>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:en
>>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>>> XMLSchema"
>>>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>>       
>>>>>>           
>>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation
>>>>>>>>>>>> id:
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> dequeued
>>>>>>       
>>>>>>           
>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>       
>>>>>>           
>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>> ]
>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> status:
>>>>>>       
>>>>>>           
>>>>>>>>>>>> Active,
>>>>>>>>>>>> role: provider
>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>>> id:
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> dequeued
>>>>>>       
>>>>>>           
>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>   status: Active
>>>>>>>>>>>>   role: consumer
>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>       
>>>>>>           
>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>   out: null
>>>>>>>>>>>> ]
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>>> onClose
>>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>>> --------------------------------------
>>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> dequeued
>>>>>>       
>>>>>>           
>>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>>   status: Done
>>>>>>>>>>>>   role: provider
>>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>>       
>>>>>>           
>>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>>   out: null
>>>>>>>>>>>> ]
>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> status:
>>>>>>       
>>>>>>           
>>>>>>>>>>>> Done,
>>>>>>>>>>>> role:provider
>>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>>> id:
>>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is
>>>>>>>>>>>> the
>>>>>>>>>>>> same
>>>>>>>>>>>> one,
>>>>>>>>>>>> except the service location) :
>>>>>>>>>>>>
>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>>          <schema
>>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>                  <import
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>                                          <element
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> name="getProtoDTOReturn"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                                 
>>>>>>>>>>>> nillable="true"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> type="tns2:ProtoDTO" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>>                                          <element name="param"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> nillable="true"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                                 
>>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>>                  </element>
>>>>>>>>>>>>                  <complexType
>>>>>>>>>>>> name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>                                  <element maxOccurs="unbounded"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> minOccurs="0"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> nillable="true" type="xsd:string" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>          <schema
>>>>>>>>>>>> targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>>                  <import
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> nillable="true"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                          type="xsd:dateTime" />
>>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> nillable="true"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> type="xsd:int" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> nillable="true"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                                         
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>>          </schema>
>>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>>
>>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO"
>>>>>>>>>>>> name="parameters"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> name="parameters" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>>
>>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>>
>>>>>>>>>>>>                  <wsdl:output
>>>>>>>>>>>> message="intf:getProtoDTOResponse"
>>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>>
>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>>
>>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding"
>>>>>>>>>>>> type="intf:ProtoBean">
>>>>>>>>>>>>
>>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>>                 
>>>>>>>>>>>> transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO"
>>>>>>>>>>>> />
>>>>>>>>>>>>
>>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>
>>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>>
>>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>>
>>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>>
>>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>>
>>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>>
>>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>>                         
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>>       
>>>>>>           
>>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>>
>>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>>
>>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>>> Florent.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>>> Do you mean
>>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>>> use
>>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>> 1.2?
>>>>>>       
>>>>>>           
>>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> works
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>> fine
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>>>                                                "<env:Envelope
>>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>>> " +
>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>>                                                "</env:Body>"
>>>>>>>>>>>>>> +
>>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> "</env:Envelope>";
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> MimeHeaders(), new
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> log)...
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>> That's
>>>>>>>>>>>>>> why
>>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf
>>>>>>>>>>>>>>> bc
>>>>>>>>>>>>>>> should
>>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>> model
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding
>>>>>>>>>>>>>>> part.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>> using
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For
>>>>>>>>>>>>>>>> example,
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>> when
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute, but
>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>>> targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>>       
>>>>>>           
>>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>                       
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>                     
>>>>>>>>>>>>>                         
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>           
>>>>>>>>               
>>>>>>>         
>>>>>>>             
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>>
>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13989533
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@iona.com>.
Hi Florent,

You client side should already have correct response even with this "Out 
not supported" exception. Anyway I will try to fix it  soon.

For cxf interceptor documents, I think [1] is a good place to start.

[1]http://cwiki.apache.org/confluence/display/CXF20DOC/Interceptors

Best Regards

Freeman

Florent wrote:
> Hi Freeman,
>
> Thanks for your post, it resolves a part of the problem. Indeed, the third
> party web service is called (i put a breakpoint to check it). 
> Is there some documentation / examples of interceptor use, other than
> javadoc?
>
> Sadly, i still get the "Out not supported error".
>
> If i used my standalone client to call the WAS web service (without using
> servicemix), i get the following soap message :
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header/>
> <soapenv:Body>
> <p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
> <getProtoDTOReturn>
> <date>2007-11-28T09:10:54.104Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste><string>s01</string><string>s02</string><string>s03</string></liste>
> </getProtoDTOReturn>
> </p637:getProtoDTOResponse>
> </soapenv:Body>
> </soapenv:Envelope>
>
> Is there something wrong with it? or something servicemix cxf might not
> understand?
>
> Here is the debug log :
>
> INFO: Inbound Message
> --------------------------------------
> Encoding: utf-8
> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> Host=[localhos
> t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
> SOAPActi
> on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> Cache-Control=
> [no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
> Message:
> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:en
> v="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/
> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tns="http
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> otoDTO></env:Body></env:Envelope>
> --------------------------------------
> DEBUG - CxfBcComponent                 - Created correlation id:
> ID:172.xx.xxx.xxx-116855db752-4:10
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
> DeliveryChannel{servicemix-cxf-bc}
> from sendSync
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>   status: Active
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status: Active,
> role: provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.xx.xxx.xxx-116855db752-4:10
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>   status: Active
>   role: consumer
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
> DeliveryChannel{servicemix-cxf-bc} from processInboun
> dSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
> DeliveryChannel{servicemix-cxf-bc} from sendSync
> 28 nov. 2007 10:05:10
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
> INFO: Outbound Message
> --------------------------------------
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>  /></soap:Envelope>
> --------------------------------------
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-116855db752-4:10
>   status: Done
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
> role:provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.xx.xxx.xxx-116855db752-4:10
> javax.jbi.messaging.MessagingException: Out not supported
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>         at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>         at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>
>
>
>
> Freeman Fang wrote:
>   
>> Hi Florent,
>>
>> I just use your wsdl and create standalone client and server using cxf, 
>> and use servicemix cxf bc consumer and provider to simulate your 
>> scenario, it works for me.
>>
>> The soap message after cxf bc provider is
>>
>> Encoding: UTF-8
>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>> connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], 
>> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
>> Accept=[*]}
>> Message:
>> <soap:Envelope 
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>>
>> Even there this no soapAction in http header, it works well with cxf 
>> server. But as you said, your websphere server need this soapAction, so 
>> you can add
>>          <cxfbc:outInterceptors>
>>                      <bean 
>> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>>           </cxfbc:outInterceptors>
>>
>> for your cxf bc provider configuration,  this interceptor will add 
>> soapAction according to the wsdl to your message
>> after that, the soap message would be like
>> Encoding: UTF-8
>> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
>> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
>> transfer-encoding=[chunked], Pragma=[no-cache], content-type=[text/xml; 
>> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
>> Message:
>> <soap:Envelope 
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
>> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
>> I believe this way should work for you.
>>
>> Best Regards
>>
>> Freeman
>>
>> Florent wrote:
>>     
>>> Yes, that's exactly what i mean.
>>>
>>> The param tag didn't appear in my first for some obscur reason. That's
>>> why i
>>> was saying my SOAP message is correct.
>>>
>>> Is there any way to trace what is going on in the bus? Something better
>>> than
>>> the debug log?
>>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>>> provider.
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>       
>>>> You mean your request soap message already has < param> yourParam<
>>>> /param> element? and it still doesn't work ? (obviously I make a
>>>> mistake in my prevoious mail, I mismactch the response and request,
>>>> sorry for it)
>>>>
>>>>
>>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>>     
>>>>         
>>>>> There is a problem when i post the "param" tag : it does not appear in
>>>>> the
>>>>> forum post. I edited my previous message and put some spaces :
>>>>>
>>>>> <tns:getProtoDTO>
>>>>> < param>myparam</ param>
>>>>> </tns:getProtoDTO>
>>>>>
>>>>> Sorry, i didn't notice it in my first post. I think the
>>>>> misunderstanding
>>>>> came from that...
>>>>>
>>>>> Best Regards,
>>>>> Florent
>>>>>
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>       
>>>>>           
>>>>>> Ok, i think i understand why you said my soap enveloppe in incorrect.
>>>>>>
>>>>>> Here is the one i'm using (in my first post, i have to admit it wasn't
>>>>>> correct) :
>>>>>>
>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>> <env:Body>
>>>>>> <tns:getProtoDTO>
>>>>>> < param>myparam</ param>
>>>>>>         
>>>>>> </tns:getProtoDTO>
>>>>>> </env:Body>
>>>>>> </env:Envelope>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Florent wrote:
>>>>>>         
>>>>>>             
>>>>>>> this :
>>>>>>>
>>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>>           
>>>>>>>               
>>>>> consumer<--->
>>>>>       
>>>>>           
>>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>>> <-->Websphere
>>>>>>> Application Server
>>>>>>>
>>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>>
>>>>>>> According to your reply, i should use the following soap message :
>>>>>>>
>>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>>> <env:Body>
>>>>>>> <tns:getProtoDTO>
>>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>>> <dble>0.0</dble>
>>>>>>> <integ>1</integ>
>>>>>>> <liste>
>>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>>> </liste>
>>>>>>> </tns:getProtoDTO>
>>>>>>> </env:Body>
>>>>>>> </env:Envelope>
>>>>>>>
>>>>>>> But, according to my wsdl, this is the response soap message, not the
>>>>>>> request one !
>>>>>>>
>>>>>>> Operation :
>>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>       </wsdl:input>
>>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>>       </wsdl:output>
>>>>>>> </wsdl:operation>
>>>>>>>
>>>>>>> PortType :
>>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>>> name="getProtoDTORequest"/>
>>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>> name="getProtoDTOResponse"/>
>>>>>>>     </wsdl:operation>
>>>>>>> </wsdl:portType>
>>>>>>>
>>>>>>>
>>>>>>> Input / request :
>>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>>> </wsdl:message>
>>>>>>>
>>>>>>> Element :
>>>>>>> <element name="getProtoDTO">
>>>>>>>     <complexType>
>>>>>>>      <sequence>
>>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>>      </sequence>
>>>>>>>     </complexType>
>>>>>>> </element>
>>>>>>>
>>>>>>> Output / response :
>>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>> name="parameters"/>
>>>>>>> </wsdl:message>
>>>>>>>
>>>>>>> Element :
>>>>>>> <element name="getProtoDTOResponse">
>>>>>>>     <complexType>
>>>>>>>      <sequence>
>>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>>> type="tns2:ProtoDTO"/>
>>>>>>>      </sequence>
>>>>>>>     </complexType>
>>>>>>> </element>
>>>>>>>
>>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>>           
>>>>>>>               
>>>>> string.
>>>>>       
>>>>>           
>>>>>>> Did i misunderstand something? May be i'm confusing provider/consumer
>>>>>>> role?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>           
>>>>>>>               
>>>>>>>> Comments in line
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> Morning Freeman,
>>>>>>>>>
>>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still get
>>>>>>>>>               
>>>>>>>>>                   
>>>>> the
>>>>>       
>>>>>           
>>>>>>>>> same
>>>>>>>>> error.
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> What's your new soap message now?
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>>> standalone
>>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>>
>>>>>>>>> I think my SOAP message is correct : i tried to generate it from
>>>>>>>>> the
>>>>>>>>> RAD 7
>>>>>>>>> web service test and it was the same one. Plus, my business method
>>>>>>>>>               
>>>>>>>>>                   
>>>>> has
>>>>>       
>>>>>           
>>>>>>>>> one
>>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>>             
>>>>>>>>                 
>>>>> <liste>
>>>>>       
>>>>>           
>>>>>>>> Btw, different soap tool kit may generate soap message with little
>>>>>>>> different, which may cause interoperability problem
>>>>>>>>
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> As i'm totally new to servicemix, so there is probably something i
>>>>>>>>> don't
>>>>>>>>> understand.
>>>>>>>>>
>>>>>>>>> What i want to do :
>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>>> <-->Websphere
>>>>>>>>> Application Server
>>>>>>>>>
>>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>>>>>>>> Application Server
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> no, what's going on is
>>>>>>>>
>>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>>> Application Server
>>>>>>>>
>>>>>>>> So what's reach your websphere application server is soap message,
>>>>>>>>             
>>>>>>>>                 
>>>>> not
>>>>>       
>>>>>           
>>>>>>>> jbi message.
>>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>>> [1]
>>>>>>>>
>>>>>>>>             
>>>>>>>>                 
>>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>>       
>>>>>           
>>>>>>>>> So, i don't think WAS support JBI message... and that could explain
>>>>>>>>>               
>>>>>>>>>                   
>>>>> my
>>>>>       
>>>>>           
>>>>>>>>> error
>>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>>
>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>>>>>>>> party
>>>>>>>>> web service URL.
>>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>>>>>>
>>>>>>>>> I only want to call my web service, but i want to call it using a
>>>>>>>>> servicemix
>>>>>>>>> URL.
>>>>>>>>>
>>>>>>>>> Thanks again for your help,
>>>>>>>>> Best Regards,
>>>>>>>>> Florent.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>> Hi Florent,
>>>>>>>>>>
>>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>>
>>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>>> correct.
>>>>>>>>>>
>>>>>>>>>> According to the schema in wsdl you append, it should be something
>>>>>>>>>> like
>>>>>>>>>>
>>>>>>>>>> <env:Envelope
>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:en
>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>> xmlns:tns="http
>>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>>> <date>your date</date>
>>>>>>>>>> <dble>your dble</dble>
>>>>>>>>>> <integ>your integ</integ>
>>>>>>>>>> <liste>your liste</liste>
>>>>>>>>>> </tns:getPr
>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>
>>>>>>>>>> You shouldn't use
>>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>> element
>>>>>       
>>>>>           
>>>>>>>>>> tag
>>>>>>>>>> defined in the schema.
>>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>> easy,
>>>>>       
>>>>>           
>>>>>>>>>> so we
>>>>>>>>>> prefer to use some soap tool kit to generate soap message for you,
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>> may
>>>>>       
>>>>>           
>>>>>>>>>> be
>>>>>>>>>> you can  try to use apache cxf, basically generate code stub from
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>> the
>>>>>       
>>>>>           
>>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>> normal
>>>>>       
>>>>>           
>>>>>>>>>> java
>>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>>
>>>>>>>>>> Would you please try it again?
>>>>>>>>>>
>>>>>>>>>> Best Regards
>>>>>>>>>>
>>>>>>>>>> Freeman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>
>>>>>>>>>>> Indeed,
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>       
>>>>>           
>>>>>>>>>>> use
>>>>>>>>>>> soap
>>>>>>>>>>> 1.1.
>>>>>>>>>>> But i don't know which soap version
>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>> is using...
>>>>>>>>>>>
>>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> Server
>>>>>       
>>>>>           
>>>>>>>>>>> 6.1.
>>>>>>>>>>>
>>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> possible
>>>>>       
>>>>>           
>>>>>>>>>>> to
>>>>>>>>>>> log/trace it?
>>>>>>>>>>>
>>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml, here
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> is
>>>>>       
>>>>>           
>>>>>>>>>>> the
>>>>>>>>>>> output :
>>>>>>>>>>>
>>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>>> --------------------------------------
>>>>>>>>>>> Encoding: utf-8
>>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>>> 08:59:47
>>>>>>>>>>> GMT],
>>>>>>>>>>> SOAPAct
>>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>>> charset=utf-8],
>>>>>>>>>>> Cache-Control
>>>>>>>>>>> =[no-cache],
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>       
>>>>>           
>>>>>>>>>>> Message:
>>>>>>>>>>> <env:Envelope
>>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:en
>>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>       
>>>>>           
>>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>>> --------------------------------------
>>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> dequeued
>>>>>       
>>>>>           
>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>   status: Active
>>>>>>>>>>>   role: provider
>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>       
>>>>>           
>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>> ]
>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> status:
>>>>>       
>>>>>           
>>>>>>>>>>> Active,
>>>>>>>>>>> role: provider
>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>> id:
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> dequeued
>>>>>       
>>>>>           
>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>   status: Active
>>>>>>>>>>>   role: consumer
>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>       
>>>>>           
>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>   out: null
>>>>>>>>>>> ]
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>>> onClose
>>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>>> --------------------------------------
>>>>>>>>>>> <soap:Envelope
>>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>>> --------------------------------------
>>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> dequeued
>>>>>       
>>>>>           
>>>>>>>>>>> exchange: InOut[
>>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>>   status: Done
>>>>>>>>>>>   role: provider
>>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>>> getProtoDTO
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>       
>>>>>           
>>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>>   out: null
>>>>>>>>>>> ]
>>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> status:
>>>>>       
>>>>>           
>>>>>>>>>>> Done,
>>>>>>>>>>> role:provider
>>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>>> id:
>>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>       
>>>>>           
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>       
>>>>>           
>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>>>>>>>>>>> same
>>>>>>>>>>> one,
>>>>>>>>>>> except the service location) :
>>>>>>>>>>>
>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>> <wsdl:definitions
>>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>                  <import
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> namespace="http://dto.proto.mycompany.com" />
>>>>>       
>>>>>           
>>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>                                          <element
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> name="getProtoDTOReturn"
>>>>>       
>>>>>           
>>>>>>>>>>>                                                  nillable="true"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> type="tns2:ProtoDTO" />
>>>>>       
>>>>>           
>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>                  </element>
>>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>>                          <complexType>
>>>>>>>>>>>                                  <sequence>
>>>>>>>>>>>                                          <element name="param"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> nillable="true"
>>>>>       
>>>>>           
>>>>>>>>>>>                                                 
>>>>>>>>>>> type="xsd:string"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> />
>>>>>       
>>>>>           
>>>>>>>>>>>                                  </sequence>
>>>>>>>>>>>                          </complexType>
>>>>>>>>>>>                  </element>
>>>>>>>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>                                  <element maxOccurs="unbounded"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> minOccurs="0"
>>>>>       
>>>>>           
>>>>>>>>>>>                                          name="string"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> nillable="true" type="xsd:string" />
>>>>>       
>>>>>           
>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>          </schema>
>>>>>>>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>>                  <import
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>>       
>>>>>           
>>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>>                          <sequence>
>>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> nillable="true"
>>>>>       
>>>>>           
>>>>>>>>>>>                                          type="xsd:dateTime" />
>>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> nillable="true"
>>>>>       
>>>>>           
>>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> type="xsd:int" />
>>>>>       
>>>>>           
>>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> nillable="true"
>>>>>       
>>>>>           
>>>>>>>>>>>                                         
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>>       
>>>>>           
>>>>>>>>>>>                          </sequence>
>>>>>>>>>>>                  </complexType>
>>>>>>>>>>>          </schema>
>>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>>
>>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> />
>>>>>       
>>>>>           
>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>
>>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> name="parameters" />
>>>>>       
>>>>>           
>>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>>
>>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>>
>>>>>>>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>>
>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>
>>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>>
>>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>>>>>>>
>>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>>                  transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> />
>>>>>       
>>>>>           
>>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>>>>>>>
>>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>
>>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>>
>>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>>
>>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>>
>>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>>
>>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>>
>>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>>                         
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>>       
>>>>>           
>>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>>
>>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>>
>>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>>
>>>>>>>>>>> Thanks in advance,
>>>>>>>>>>> Florent.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>>>> Hi Florent,
>>>>>>>>>>>> Do you mean
>>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>>> use
>>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>> 1.2?
>>>>>       
>>>>>           
>>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>>
>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> works
>>>>>       
>>>>>           
>>>>>>>>>>>>> fine
>>>>>>>>>>>>> :
>>>>>>>>>>>>>
>>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>>
>>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>>                                                "<env:Envelope
>>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>>> " +
>>>>>>>>>>>>>                               
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>       
>>>>>           
>>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>>
>>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>>                                                "</env:Body>" +
>>>>>>>>>>>>>                                               
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> "</env:Envelope>";
>>>>>       
>>>>>           
>>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> MimeHeaders(), new
>>>>>       
>>>>>           
>>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>>
>>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>>
>>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> log)...
>>>>>       
>>>>>           
>>>>>>>>>>>>> That's
>>>>>>>>>>>>> why
>>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>>
>>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>       
>>>>>           
>>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>>> Florent.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>>>>>>>> should
>>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>> model
>>>>>       
>>>>>           
>>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>> using
>>>>>       
>>>>>           
>>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For example,
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>> when
>>>>>       
>>>>>           
>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>>                         targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>>       
>>>>>           
>>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>>>                               
>>>>>>>>>>>>>>                         
>>>>>>>>>>>>>>                             
>>>>>>>>>>>>>                       
>>>>>>>>>>>>>                           
>>>>>>>>>>>>                     
>>>>>>>>>>>>                         
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>             
>>>>>>>>                 
>>>>>>>           
>>>>>>>               
>>>>>>         
>>>>>>             
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>>
>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Hi Freeman,

Thanks for your post, it resolves a part of the problem. Indeed, the third
party web service is called (i put a breakpoint to check it). 
Is there some documentation / examples of interceptor use, other than
javadoc?

Sadly, i still get the "Out not supported error".

If i used my standalone client to call the WAS web service (without using
servicemix), i get the following soap message :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<p637:getProtoDTOResponse xmlns:p637="http://ejb.proto.mycompany.com">
<getProtoDTOReturn>
<date>2007-11-28T09:10:54.104Z</date>
<dble>0.0</dble>
<integ>1</integ>
<liste><string>s01</string><string>s02</string><string>s03</string></liste>
</getProtoDTOReturn>
</p637:getProtoDTOResponse>
</soapenv:Body>
</soapenv:Envelope>

Is there something wrong with it? or something servicemix cxf might not
understand?

Here is the debug log :

INFO: Inbound Message
--------------------------------------
Encoding: utf-8
Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
Host=[localhos
t:8092], connection=[Keep-Alive], Date=[Wed, 28 Nov 2007 09:05:10 GMT],
SOAPActi
on=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
Cache-Control=
[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
Message:
<env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:en
v="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/
XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http
://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
otoDTO></env:Body></env:Envelope>
--------------------------------------
DEBUG - CxfBcComponent                 - Created correlation id:
ID:172.xx.xxx.xxx-116855db752-4:10
DEBUG - DeliveryChannelImpl            - SendSync
ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - DeliveryChannelImpl            - Waiting for exchange
ID:172.xx.xxx.xxx-116855db752-4:10 (13cdb70) to be answered in
DeliveryChannel{servicemix-cxf-bc}
from sendSync
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@6aa50f dequeued
exchange: InOut[
  id: ID:172.xx.xxx.xxx-116855db752-4:10
  status: Active
  role: provider
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
]
DEBUG - CxfBcComponent                 - Received exchange: status: Active,
role: provider
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.xx.xxx.xxx-116855db752-4:10
DEBUG - DeliveryChannelImpl            - Send
ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cdb01 dequeued
exchange: InOut[
  id: ID:172.xx.xxx.xxx-116855db752-4:10
  status: Active
  role: consumer
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
  out: null
]
DEBUG - DeliveryChannelImpl            - Notifying exchange
ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
DeliveryChannel{servicemix-cxf-bc} from processInboun
dSynchronousExchange
DEBUG - DeliveryChannelImpl            - Notified:
ID:172.xx.xxx.xxx-116855db752-4:10(13cdb70) in
DeliveryChannel{servicemix-cxf-bc} from sendSync
28 nov. 2007 10:05:10
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message
--------------------------------------
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
 /></soap:Envelope>
--------------------------------------
DEBUG - DeliveryChannelImpl            - Send
ID:172.xx.xxx.xxx-116855db752-4:10 in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1de2ea4 dequeued
exchange: InOut[
  id: ID:172.xx.xxx.xxx-116855db752-4:10
  status: Done
  role: provider
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
  out: null
]
DEBUG - CxfBcComponent                 - Received exchange: status: Done,
role:provider
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.xx.xxx.xxx-116855db752-4:10
javax.jbi.messaging.MessagingException: Out not supported
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
        at
org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
        at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)





Freeman Fang wrote:
> 
> Hi Florent,
> 
> I just use your wsdl and create standalone client and server using cxf, 
> and use servicemix cxf bc consumer and provider to simulate your 
> scenario, it works for me.
> 
> The soap message after cxf bc provider is
> 
> Encoding: UTF-8
> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
> connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], 
> content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
> Accept=[*]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
> 
> Even there this no soapAction in http header, it works well with cxf 
> server. But as you said, your websphere server need this soapAction, so 
> you can add
>          <cxfbc:outInterceptors>
>                      <bean 
> class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
>           </cxfbc:outInterceptors>
> 
> for your cxf bc provider configuration,  this interceptor will add 
> soapAction according to the wsdl to your message
> after that, the soap message would be like
> Encoding: UTF-8
> Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
> connection=[keep-alive], SOAPAction=["getProtoDTO"], 
> transfer-encoding=[chunked], Pragma=[no-cache], content-type=[text/xml; 
> charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
> Message:
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
> xmlns:ns2="http://ejb.proto.mycompany.com">test</ns2:getProtoDTO></soap:Body></soap:Envelope>
> I believe this way should work for you.
> 
> Best Regards
> 
> Freeman
> 
> Florent wrote:
>> Yes, that's exactly what i mean.
>>
>> The param tag didn't appear in my first for some obscur reason. That's
>> why i
>> was saying my SOAP message is correct.
>>
>> Is there any way to trace what is going on in the bus? Something better
>> than
>> the debug log?
>> I'd like to check the SOAP message generated by the Servicemix Cxf bc
>> provider.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> You mean your request soap message already has < param> yourParam<
>>> /param> element? and it still doesn't work ? (obviously I make a
>>> mistake in my prevoious mail, I mismactch the response and request,
>>> sorry for it)
>>>
>>>
>>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>>     
>>>> There is a problem when i post the "param" tag : it does not appear in
>>>> the
>>>> forum post. I edited my previous message and put some spaces :
>>>>
>>>> <tns:getProtoDTO>
>>>> < param>myparam</ param>
>>>> </tns:getProtoDTO>
>>>>
>>>> Sorry, i didn't notice it in my first post. I think the
>>>> misunderstanding
>>>> came from that...
>>>>
>>>> Best Regards,
>>>> Florent
>>>>
>>>>
>>>>
>>>> Florent wrote:
>>>>       
>>>>> Ok, i think i understand why you said my soap enveloppe in incorrect.
>>>>>
>>>>> Here is the one i'm using (in my first post, i have to admit it wasn't
>>>>> correct) :
>>>>>
>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>> <env:Body>
>>>>> <tns:getProtoDTO>
>>>>> < param>myparam</ param>
>>>>>         
>>>>> </tns:getProtoDTO>
>>>>> </env:Body>
>>>>> </env:Envelope>
>>>>>
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>         
>>>>>> this :
>>>>>>
>>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>>           
>>>> consumer<--->
>>>>       
>>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>>> <-->Websphere
>>>>>> Application Server
>>>>>>
>>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>>
>>>>>> According to your reply, i should use the following soap message :
>>>>>>
>>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>>> <env:Body>
>>>>>> <tns:getProtoDTO>
>>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>>> <dble>0.0</dble>
>>>>>> <integ>1</integ>
>>>>>> <liste>
>>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>>> </liste>
>>>>>> </tns:getProtoDTO>
>>>>>> </env:Body>
>>>>>> </env:Envelope>
>>>>>>
>>>>>> But, according to my wsdl, this is the response soap message, not the
>>>>>> request one !
>>>>>>
>>>>>> Operation :
>>>>>> <wsdl:operation name="getProtoDTO">
>>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>       </wsdl:input>
>>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>>          <wsdlsoap:body use="literal"/>
>>>>>>       </wsdl:output>
>>>>>> </wsdl:operation>
>>>>>>
>>>>>> PortType :
>>>>>> <wsdl:portType name="ProtoBean">
>>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>>> name="getProtoDTORequest"/>
>>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>>> name="getProtoDTOResponse"/>
>>>>>>     </wsdl:operation>
>>>>>> </wsdl:portType>
>>>>>>
>>>>>>
>>>>>> Input / request :
>>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>>> </wsdl:message>
>>>>>>
>>>>>> Element :
>>>>>> <element name="getProtoDTO">
>>>>>>     <complexType>
>>>>>>      <sequence>
>>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>>      </sequence>
>>>>>>     </complexType>
>>>>>> </element>
>>>>>>
>>>>>> Output / response :
>>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>>      <wsdl:part element="intf:getProtoDTOResponse"
>>>>>> name="parameters"/>
>>>>>> </wsdl:message>
>>>>>>
>>>>>> Element :
>>>>>> <element name="getProtoDTOResponse">
>>>>>>     <complexType>
>>>>>>      <sequence>
>>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>>> type="tns2:ProtoDTO"/>
>>>>>>      </sequence>
>>>>>>     </complexType>
>>>>>> </element>
>>>>>>
>>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>>           
>>>> string.
>>>>       
>>>>>> Did i misunderstand something? May be i'm confusing provider/consumer
>>>>>> role?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>           
>>>>>>> Comments in line
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>             
>>>>>>>> Morning Freeman,
>>>>>>>>
>>>>>>>> I tried to modify my SOAP message, but it didn't work : i still get
>>>>>>>>               
>>>> the
>>>>       
>>>>>>>> same
>>>>>>>> error.
>>>>>>>>
>>>>>>>>               
>>>>>>> What's your new soap message now?
>>>>>>>             
>>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>>> standalone
>>>>>>>> client : i got a "wrong parameter error".
>>>>>>>>
>>>>>>>> I think my SOAP message is correct : i tried to generate it from
>>>>>>>> the
>>>>>>>> RAD 7
>>>>>>>> web service test and it was the same one. Plus, my business method
>>>>>>>>               
>>>> has
>>>>       
>>>>>>>> one
>>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>>
>>>>>>>>               
>>>>>>> According to the schema from your wsdl, your soap messge
>>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>>             
>>>> <liste>
>>>>       
>>>>>>> Btw, different soap tool kit may generate soap message with little
>>>>>>> different, which may cause interoperability problem
>>>>>>>
>>>>>>>             
>>>>>>>> As i'm totally new to servicemix, so there is probably something i
>>>>>>>> don't
>>>>>>>> understand.
>>>>>>>>
>>>>>>>> What i want to do :
>>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message
>>>>>>>> <-->Websphere
>>>>>>>> Application Server
>>>>>>>>
>>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>>>>>>> Application Server
>>>>>>>>
>>>>>>>>               
>>>>>>> no, what's going on is
>>>>>>>
>>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>>> Application Server
>>>>>>>
>>>>>>> So what's reach your websphere application server is soap message,
>>>>>>>             
>>>> not
>>>>       
>>>>>>> jbi message.
>>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>>> [1]
>>>>>>>
>>>>>>>             
>>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>>       
>>>>>>>> So, i don't think WAS support JBI message... and that could explain
>>>>>>>>               
>>>> my
>>>>       
>>>>>>>> error
>>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>>
>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>>>>>>> party
>>>>>>>> web service URL.
>>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>>>>>
>>>>>>>> I only want to call my web service, but i want to call it using a
>>>>>>>> servicemix
>>>>>>>> URL.
>>>>>>>>
>>>>>>>> Thanks again for your help,
>>>>>>>> Best Regards,
>>>>>>>> Florent.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>
>>>>>>>>               
>>>>>>>>> Hi Florent,
>>>>>>>>>
>>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>>
>>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>>> correct.
>>>>>>>>>
>>>>>>>>> According to the schema in wsdl you append, it should be something
>>>>>>>>> like
>>>>>>>>>
>>>>>>>>> <env:Envelope
>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:en
>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xmlns:tns="http
>>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>>> <date>your date</date>
>>>>>>>>> <dble>your dble</dble>
>>>>>>>>> <integ>your integ</integ>
>>>>>>>>> <liste>your liste</liste>
>>>>>>>>> </tns:getPr
>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>
>>>>>>>>> You shouldn't use
>>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>>                 
>>>> element
>>>>       
>>>>>>>>> tag
>>>>>>>>> defined in the schema.
>>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>>                 
>>>> easy,
>>>>       
>>>>>>>>> so we
>>>>>>>>> prefer to use some soap tool kit to generate soap message for you,
>>>>>>>>>                 
>>>> may
>>>>       
>>>>>>>>> be
>>>>>>>>> you can  try to use apache cxf, basically generate code stub from
>>>>>>>>>                 
>>>> the
>>>>       
>>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>>                 
>>>> normal
>>>>       
>>>>>>>>> java
>>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>>
>>>>>>>>> Would you please try it again?
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> Freeman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>
>>>>>>>>>                 
>>>>>>>>>> Hi Freeman,
>>>>>>>>>>
>>>>>>>>>> Indeed,
>>>>>>>>>>                   
>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>       
>>>>>>>>>> use
>>>>>>>>>> soap
>>>>>>>>>> 1.1.
>>>>>>>>>> But i don't know which soap version
>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>> is using...
>>>>>>>>>>
>>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>>                   
>>>> Server
>>>>       
>>>>>>>>>> 6.1.
>>>>>>>>>>
>>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>>                   
>>>> possible
>>>>       
>>>>>>>>>> to
>>>>>>>>>> log/trace it?
>>>>>>>>>>
>>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml, here
>>>>>>>>>>                   
>>>> is
>>>>       
>>>>>>>>>> the
>>>>>>>>>> output :
>>>>>>>>>>
>>>>>>>>>> INFO: Inbound Message
>>>>>>>>>> --------------------------------------
>>>>>>>>>> Encoding: utf-8
>>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>>>> Host=[ITEM-509
>>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007
>>>>>>>>>> 08:59:47
>>>>>>>>>> GMT],
>>>>>>>>>> SOAPAct
>>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml;
>>>>>>>>>> charset=utf-8],
>>>>>>>>>> Cache-Control
>>>>>>>>>> =[no-cache],
>>>>>>>>>>                   
>>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>>       
>>>>>>>>>> Message:
>>>>>>>>>> <env:Envelope
>>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:en
>>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>> xmlns:tns="http
>>>>>>>>>>
>>>>>>>>>>                   
>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>       
>>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>>> --------------------------------------
>>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>>                   
>>>> dequeued
>>>>       
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>   status: Active
>>>>>>>>>>   role: provider
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>>                   
>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>       
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>                   
>>>> status:
>>>>       
>>>>>>>>>> Active,
>>>>>>>>>> role: provider
>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>> id:
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>>                   
>>>> dequeued
>>>>       
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>   status: Active
>>>>>>>>>>   role: consumer
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>>                   
>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>       
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>   out: null
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>>> onClose
>>>>>>>>>> INFO: Outbound Message
>>>>>>>>>> --------------------------------------
>>>>>>>>>> <soap:Envelope
>>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>>  /></soap:Envelope>
>>>>>>>>>> --------------------------------------
>>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>>                   
>>>> dequeued
>>>>       
>>>>>>>>>> exchange: InOut[
>>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>>   status: Done
>>>>>>>>>>   role: provider
>>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>>> getProtoDTO
>>>>>>>>>>                   
>>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>       
>>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>>   out: null
>>>>>>>>>> ]
>>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>>                   
>>>> status:
>>>>       
>>>>>>>>>> Done,
>>>>>>>>>> role:provider
>>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation
>>>>>>>>>> id:
>>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>       
>>>>>>>>>>         at
>>>>>>>>>>
>>>>>>>>>>                   
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>       
>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>>>>>>>>>> same
>>>>>>>>>> one,
>>>>>>>>>> except the service location) :
>>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <wsdl:definitions
>>>>>>>>>> targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>  <wsdl:types>
>>>>>>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>                  <import
>>>>>>>>>>                   
>>>> namespace="http://dto.proto.mycompany.com" />
>>>>       
>>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>>                          <complexType>
>>>>>>>>>>                                  <sequence>
>>>>>>>>>>                                          <element
>>>>>>>>>>                   
>>>> name="getProtoDTOReturn"
>>>>       
>>>>>>>>>>                                                  nillable="true"
>>>>>>>>>>                   
>>>> type="tns2:ProtoDTO" />
>>>>       
>>>>>>>>>>                                  </sequence>
>>>>>>>>>>                          </complexType>
>>>>>>>>>>                  </element>
>>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>>                          <complexType>
>>>>>>>>>>                                  <sequence>
>>>>>>>>>>                                          <element name="param"
>>>>>>>>>>                   
>>>> nillable="true"
>>>>       
>>>>>>>>>>                                                 
>>>>>>>>>> type="xsd:string"
>>>>>>>>>>                   
>>>> />
>>>>       
>>>>>>>>>>                                  </sequence>
>>>>>>>>>>                          </complexType>
>>>>>>>>>>                  </element>
>>>>>>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
>>>>>>>>>>                          <sequence>
>>>>>>>>>>                                  <element maxOccurs="unbounded"
>>>>>>>>>>                   
>>>> minOccurs="0"
>>>>       
>>>>>>>>>>                                          name="string"
>>>>>>>>>>                   
>>>> nillable="true" type="xsd:string" />
>>>>       
>>>>>>>>>>                          </sequence>
>>>>>>>>>>                  </complexType>
>>>>>>>>>>          </schema>
>>>>>>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>>                  <import
>>>>>>>>>>                   
>>>> namespace="http://ejb.proto.mycompany.com" />
>>>>       
>>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>>                          <sequence>
>>>>>>>>>>                                  <element name="date"
>>>>>>>>>>                   
>>>> nillable="true"
>>>>       
>>>>>>>>>>                                          type="xsd:dateTime" />
>>>>>>>>>>                                  <element name="dble"
>>>>>>>>>>                   
>>>> nillable="true"
>>>>       
>>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>>                                  <element name="integ"
>>>>>>>>>>                   
>>>> type="xsd:int" />
>>>>       
>>>>>>>>>>                                  <element name="liste"
>>>>>>>>>>                   
>>>> nillable="true"
>>>>       
>>>>>>>>>>                                         
>>>>>>>>>>                   
>>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>>       
>>>>>>>>>>                          </sequence>
>>>>>>>>>>                  </complexType>
>>>>>>>>>>          </schema>
>>>>>>>>>>  </wsdl:types>
>>>>>>>>>>
>>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters"
>>>>>>>>>>                   
>>>> />
>>>>       
>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>
>>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>>                   
>>>> name="parameters" />
>>>>       
>>>>>>>>>>  </wsdl:message>
>>>>>>>>>>
>>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>>
>>>>>>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>>
>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>
>>>>>>>>>>  </wsdl:portType>
>>>>>>>>>>
>>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>>>>>>
>>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>>                  transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>>                   
>>>> />
>>>>       
>>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>>>>>>
>>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>
>>>>>>>>>>                  </wsdl:input>
>>>>>>>>>>
>>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>>
>>>>>>>>>>                  </wsdl:output>
>>>>>>>>>>
>>>>>>>>>>          </wsdl:operation>
>>>>>>>>>>
>>>>>>>>>>  </wsdl:binding>
>>>>>>>>>>
>>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>>                         
>>>>>>>>>>                   
>>>> location="http://localhost:8092/ProtoBeanService/" />
>>>>       
>>>>>>>>>>          </wsdl:port>
>>>>>>>>>>
>>>>>>>>>>  </wsdl:service>
>>>>>>>>>>
>>>>>>>>>> </wsdl:definitions>
>>>>>>>>>>
>>>>>>>>>> Thanks in advance,
>>>>>>>>>> Florent.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                   
>>>>>>>>>>> Hi Florent,
>>>>>>>>>>> Do you mean
>>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean  
>>>>>>>>>>> use
>>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>>>>>>>>>>>                     
>>>> 1.2?
>>>>       
>>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>>
>>>>>>>>>>> Best Regards
>>>>>>>>>>>
>>>>>>>>>>> Freeman
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                     
>>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>>                       
>>>> works
>>>>       
>>>>>>>>>>>> fine
>>>>>>>>>>>> :
>>>>>>>>>>>>
>>>>>>>>>>>> String endpoint =
>>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>>
>>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>>                                                "<env:Envelope
>>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>>> " +
>>>>>>>>>>>>                               
>>>>>>>>>>>>                       
>>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>       
>>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>>
>>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>>                                                "</env:Body>" +
>>>>>>>>>>>>                                               
>>>>>>>>>>>>                       
>>>> "</env:Envelope>";
>>>>       
>>>>>>>>>>>>                MessageFactory mf =
>>>>>>>>>>>> MessageFactory.newInstance();
>>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>>                       
>>>> MimeHeaders(), new
>>>>       
>>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>>
>>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>>
>>>>>>>>>>>>         SOAPEnvelope env =
>>>>>>>>>>>> response.getSOAPPart().getEnvelope();
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>>                       
>>>> log)...
>>>>       
>>>>>>>>>>>> That's
>>>>>>>>>>>> why
>>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>>
>>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>>
>>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>       
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>       
>>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>>> Florent.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>>>>>>> should
>>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>>                         
>>>> model
>>>>       
>>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>>                           
>>>> using
>>>>       
>>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'd like to know if i can set the soap version. For example,
>>>>>>>>>>>>>>                           
>>>> when
>>>>       
>>>>>>>>>>>>>> i
>>>>>>>>>>>>>> was
>>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>>>>>>> didn't
>>>>>>>>>>>>>> find
>>>>>>>>>>>>>> one
>>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>>                         targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                           
>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>>       
>>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                           
>>>>>>>>>>>>>
>>>>>>>>>>>>>                         
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>>>>>>>>>                     
>>>>>>>>>>                   
>>>>>>>>               
>>>>>>>             
>>>>>>           
>>>>>         
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>>
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13988878
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
Hi Florent,

I just use your wsdl and create standalone client and server using cxf, 
and use servicemix cxf bc consumer and provider to simulate your 
scenario, it works for me.

The soap message after cxf bc provider is

Encoding: UTF-8
Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], 
content-type=[text/xml; charset=UTF-8], Cache-Control=[no-cache], 
Accept=[*]}
Message:
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
xmlns:ns2="http://ejb.proto.mycompany.com"><param>test</param></ns2:getProtoDTO></soap:Body></soap:Envelope>

Even there this no soapAction in http header, it works well with cxf 
server. But as you said, your websphere server need this soapAction, so 
you can add
         <cxfbc:outInterceptors>
                     <bean 
class="org.apache.cxf.binding.soap.interceptor.SoapActionOutInterceptor"/>
          </cxfbc:outInterceptors>

for your cxf bc provider configuration,  this interceptor will add 
soapAction according to the wsdl to your message
after that, the soap message would be like
Encoding: UTF-8
Headers: {Host=[localhost:9001], User-Agent=[Java/1.5.0_10], 
connection=[keep-alive], SOAPAction=["getProtoDTO"], 
transfer-encoding=[chunked], Pragma=[no-cache], content-type=[text/xml; 
charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}
Message:
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getProtoDTO 
xmlns:ns2="http://ejb.proto.mycompany.com"><param>test</param></ns2:getProtoDTO></soap:Body></soap:Envelope>
I believe this way should work for you.

Best Regards

Freeman

Florent wrote:
> Yes, that's exactly what i mean.
>
> The param tag didn't appear in my first for some obscur reason. That's why i
> was saying my SOAP message is correct.
>
> Is there any way to trace what is going on in the bus? Something better than
> the debug log?
> I'd like to check the SOAP message generated by the Servicemix Cxf bc
> provider.
>
>
>
> Freeman Fang wrote:
>   
>> You mean your request soap message already has < param> yourParam<
>> /param> element? and it still doesn't work ? (obviously I make a
>> mistake in my prevoious mail, I mismactch the response and request,
>> sorry for it)
>>
>>
>> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>     
>>> There is a problem when i post the "param" tag : it does not appear in
>>> the
>>> forum post. I edited my previous message and put some spaces :
>>>
>>> <tns:getProtoDTO>
>>> < param>myparam</ param>
>>> </tns:getProtoDTO>
>>>
>>> Sorry, i didn't notice it in my first post. I think the misunderstanding
>>> came from that...
>>>
>>> Best Regards,
>>> Florent
>>>
>>>
>>>
>>> Florent wrote:
>>>       
>>>> Ok, i think i understand why you said my soap enveloppe in incorrect.
>>>>
>>>> Here is the one i'm using (in my first post, i have to admit it wasn't
>>>> correct) :
>>>>
>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>> <env:Body>
>>>> <tns:getProtoDTO>
>>>> < param>myparam</ param>
>>>>         
>>>> </tns:getProtoDTO>
>>>> </env:Body>
>>>> </env:Envelope>
>>>>
>>>>
>>>>
>>>> Florent wrote:
>>>>         
>>>>> this :
>>>>>
>>>>> Standalone client <--> SOAP message <--> Servicemix cxf bc
>>>>>           
>>> consumer<--->
>>>       
>>>>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>>>>> <-->Websphere
>>>>> Application Server
>>>>>
>>>>> is exactly what i want to be done (and what i'm trying to do) :)
>>>>>
>>>>> According to your reply, i should use the following soap message :
>>>>>
>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>>>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>>>>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>>>>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>>>>> <env:Body>
>>>>> <tns:getProtoDTO>
>>>>> <date>2007-11-27T10:04:16.347Z</date>
>>>>> <dble>0.0</dble>
>>>>> <integ>1</integ>
>>>>> <liste>
>>>>> <string>s01</string><string>s02</string><string>s03</string>
>>>>> </liste>
>>>>> </tns:getProtoDTO>
>>>>> </env:Body>
>>>>> </env:Envelope>
>>>>>
>>>>> But, according to my wsdl, this is the response soap message, not the
>>>>> request one !
>>>>>
>>>>> Operation :
>>>>> <wsdl:operation name="getProtoDTO">
>>>>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>>>>        <wsdl:input name="getProtoDTORequest">
>>>>>          <wsdlsoap:body use="literal"/>
>>>>>       </wsdl:input>
>>>>>        <wsdl:output name="getProtoDTOResponse">
>>>>>          <wsdlsoap:body use="literal"/>
>>>>>       </wsdl:output>
>>>>> </wsdl:operation>
>>>>>
>>>>> PortType :
>>>>> <wsdl:portType name="ProtoBean">
>>>>>      <wsdl:operation name="getProtoDTO">
>>>>>        <wsdl:input message="intf:getProtoDTORequest"
>>>>> name="getProtoDTORequest"/>
>>>>>        <wsdl:output message="intf:getProtoDTOResponse"
>>>>> name="getProtoDTOResponse"/>
>>>>>     </wsdl:operation>
>>>>> </wsdl:portType>
>>>>>
>>>>>
>>>>> Input / request :
>>>>> <wsdl:message name="getProtoDTORequest">
>>>>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>>>>> </wsdl:message>
>>>>>
>>>>> Element :
>>>>> <element name="getProtoDTO">
>>>>>     <complexType>
>>>>>      <sequence>
>>>>>       <element name="param" nillable="true" type="xsd:string"/>
>>>>>      </sequence>
>>>>>     </complexType>
>>>>> </element>
>>>>>
>>>>> Output / response :
>>>>> <wsdl:message name="getProtoDTOResponse">
>>>>>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
>>>>> </wsdl:message>
>>>>>
>>>>> Element :
>>>>> <element name="getProtoDTOResponse">
>>>>>     <complexType>
>>>>>      <sequence>
>>>>>       <element name="getProtoDTOReturn" nillable="true"
>>>>> type="tns2:ProtoDTO"/>
>>>>>      </sequence>
>>>>>     </complexType>
>>>>> </element>
>>>>>
>>>>> So, the output is the ProtoDTO complex type, and the input is a
>>>>>           
>>> string.
>>>       
>>>>> Did i misunderstand something? May be i'm confusing provider/consumer
>>>>> role?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang wrote:
>>>>>           
>>>>>> Comments in line
>>>>>>
>>>>>> Florent wrote:
>>>>>>             
>>>>>>> Morning Freeman,
>>>>>>>
>>>>>>> I tried to modify my SOAP message, but it didn't work : i still get
>>>>>>>               
>>> the
>>>       
>>>>>>> same
>>>>>>> error.
>>>>>>>
>>>>>>>               
>>>>>> What's your new soap message now?
>>>>>>             
>>>>>>> I also tried to call the web service with this enveloppe and a
>>>>>>> standalone
>>>>>>> client : i got a "wrong parameter error".
>>>>>>>
>>>>>>> I think my SOAP message is correct : i tried to generate it from the
>>>>>>> RAD 7
>>>>>>> web service test and it was the same one. Plus, my business method
>>>>>>>               
>>> has
>>>       
>>>>>>> one
>>>>>>> parameter (a string) and a complex type as return type.
>>>>>>>
>>>>>>>               
>>>>>> According to the schema from your wsdl, your soap messge
>>>>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>>>>>> element, there should be element <date> or <dble> or <integ> or
>>>>>>             
>>> <liste>
>>>       
>>>>>> Btw, different soap tool kit may generate soap message with little
>>>>>> different, which may cause interoperability problem
>>>>>>
>>>>>>             
>>>>>>> As i'm totally new to servicemix, so there is probably something i
>>>>>>> don't
>>>>>>> understand.
>>>>>>>
>>>>>>> What i want to do :
>>>>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>>>>>>> Application Server
>>>>>>>
>>>>>>> Considering the debug log, what i think it's going on :
>>>>>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>>>>>> Application Server
>>>>>>>
>>>>>>>               
>>>>>> no, what's going on is
>>>>>>
>>>>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>>>>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>>>>> Application Server
>>>>>>
>>>>>> So what's reach your websphere application server is soap message,
>>>>>>             
>>> not
>>>       
>>>>>> jbi message.
>>>>>> May be you need refer to [1]  which is similiar as your scenario
>>>>>> [1]
>>>>>>
>>>>>>             
>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>>       
>>>>>>> So, i don't think WAS support JBI message... and that could explain
>>>>>>>               
>>> my
>>>       
>>>>>>> error
>>>>>>> (i no longer think it's a soap verion problem).
>>>>>>>
>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>>>>>> party
>>>>>>> web service URL.
>>>>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>>>>
>>>>>>> I only want to call my web service, but i want to call it using a
>>>>>>> servicemix
>>>>>>> URL.
>>>>>>>
>>>>>>> Thanks again for your help,
>>>>>>> Best Regards,
>>>>>>> Florent.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> Hi Florent,
>>>>>>>>
>>>>>>>> This problem has nothing to do with soap version.
>>>>>>>>
>>>>>>>> The problem is that your hard code soap request message is not
>>>>>>>> correct.
>>>>>>>>
>>>>>>>> According to the schema in wsdl you append, it should be something
>>>>>>>> like
>>>>>>>>
>>>>>>>> <env:Envelope
>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:en
>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xmlns:tns="http
>>>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>>>>> <date>your date</date>
>>>>>>>> <dble>your dble</dble>
>>>>>>>> <integ>your integ</integ>
>>>>>>>> <liste>your liste</liste>
>>>>>>>> </tns:getPr
>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>
>>>>>>>> You shouldn't use
>>>>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>>>>>>>>                 
>>> element
>>>       
>>>>>>>> tag
>>>>>>>> defined in the schema.
>>>>>>>> For some complex schema, write soap message yourself is not so
>>>>>>>>                 
>>> easy,
>>>       
>>>>>>>> so we
>>>>>>>> prefer to use some soap tool kit to generate soap message for you,
>>>>>>>>                 
>>> may
>>>       
>>>>>>>> be
>>>>>>>> you can  try to use apache cxf, basically generate code stub from
>>>>>>>>                 
>>> the
>>>       
>>>>>>>> wsdl, and what you need do is just write client invoke code as
>>>>>>>>                 
>>> normal
>>>       
>>>>>>>> java
>>>>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>>>>
>>>>>>>> Would you please try it again?
>>>>>>>>
>>>>>>>> Best Regards
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>
>>>>>>>>                 
>>>>>>>>> Hi Freeman,
>>>>>>>>>
>>>>>>>>> Indeed,
>>>>>>>>>                   
>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>       
>>>>>>>>> use
>>>>>>>>> soap
>>>>>>>>> 1.1.
>>>>>>>>> But i don't know which soap version
>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>> is using...
>>>>>>>>>
>>>>>>>>> The third party webservice is hosted by Websphere Application
>>>>>>>>>                   
>>> Server
>>>       
>>>>>>>>> 6.1.
>>>>>>>>>
>>>>>>>>> I don't really know what cxf is doing to the message, is it
>>>>>>>>>                   
>>> possible
>>>       
>>>>>>>>> to
>>>>>>>>> log/trace it?
>>>>>>>>>
>>>>>>>>> I enabled debug log and added interceptors in my xbean.xml, here
>>>>>>>>>                   
>>> is
>>>       
>>>>>>>>> the
>>>>>>>>> output :
>>>>>>>>>
>>>>>>>>> INFO: Inbound Message
>>>>>>>>> --------------------------------------
>>>>>>>>> Encoding: utf-8
>>>>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>>>>> Host=[ITEM-509
>>>>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>>>>>>>>> GMT],
>>>>>>>>> SOAPAct
>>>>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>>>>> Cache-Control
>>>>>>>>> =[no-cache],
>>>>>>>>>                   
>>> Accept=[application/soap+xml,multipart/related,text/*]}
>>>       
>>>>>>>>> Message:
>>>>>>>>> <env:Envelope
>>>>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:en
>>>>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xmlns:tns="http
>>>>>>>>>
>>>>>>>>>                   
>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>       
>>>>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>>>>> --------------------------------------
>>>>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>>>>>>>>>                   
>>> dequeued
>>>       
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>   status: Active
>>>>>>>>>   role: provider
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>>                   
>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>       
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>> ]
>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>                   
>>> status:
>>>       
>>>>>>>>> Active,
>>>>>>>>> role: provider
>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>>>>>>>>>                   
>>> dequeued
>>>       
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>   status: Active
>>>>>>>>>   role: consumer
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>>                   
>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>       
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>   out: null
>>>>>>>>> ]
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>>>>> processInboundSynchronousExchange
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>>>>> 26 nov. 2007 09:59:48
>>>>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>>>>> onClose
>>>>>>>>> INFO: Outbound Message
>>>>>>>>> --------------------------------------
>>>>>>>>> <soap:Envelope
>>>>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>>>>  /></soap:Envelope>
>>>>>>>>> --------------------------------------
>>>>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>>>>> DEBUG - SedaQueue                      -
>>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>>>>>>>>>                   
>>> dequeued
>>>       
>>>>>>>>> exchange: InOut[
>>>>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>>   status: Done
>>>>>>>>>   role: provider
>>>>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>>>>   endpoint: ProtoBean
>>>>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>>>>> xmlns:jbi="http://java.
>>>>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>>>>> version="1.0"><jbi:part><tns:
>>>>>>>>> getProtoDTO
>>>>>>>>>                   
>>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>       
>>>>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>>>>   out: null
>>>>>>>>> ]
>>>>>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>>>>>>>>>                   
>>> status:
>>>       
>>>>>>>>> Done,
>>>>>>>>> role:provider
>>>>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>       
>>>>>>>>>         at
>>>>>>>>>
>>>>>>>>>                   
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>       
>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>>>>>>>>> same
>>>>>>>>> one,
>>>>>>>>> except the service location) :
>>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>  <wsdl:types>
>>>>>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>                  <import
>>>>>>>>>                   
>>> namespace="http://dto.proto.mycompany.com" />
>>>       
>>>>>>>>>                  <element name="getProtoDTOResponse">
>>>>>>>>>                          <complexType>
>>>>>>>>>                                  <sequence>
>>>>>>>>>                                          <element
>>>>>>>>>                   
>>> name="getProtoDTOReturn"
>>>       
>>>>>>>>>                                                  nillable="true"
>>>>>>>>>                   
>>> type="tns2:ProtoDTO" />
>>>       
>>>>>>>>>                                  </sequence>
>>>>>>>>>                          </complexType>
>>>>>>>>>                  </element>
>>>>>>>>>                  <element name="getProtoDTO">
>>>>>>>>>                          <complexType>
>>>>>>>>>                                  <sequence>
>>>>>>>>>                                          <element name="param"
>>>>>>>>>                   
>>> nillable="true"
>>>       
>>>>>>>>>                                                  type="xsd:string"
>>>>>>>>>                   
>>> />
>>>       
>>>>>>>>>                                  </sequence>
>>>>>>>>>                          </complexType>
>>>>>>>>>                  </element>
>>>>>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
>>>>>>>>>                          <sequence>
>>>>>>>>>                                  <element maxOccurs="unbounded"
>>>>>>>>>                   
>>> minOccurs="0"
>>>       
>>>>>>>>>                                          name="string"
>>>>>>>>>                   
>>> nillable="true" type="xsd:string" />
>>>       
>>>>>>>>>                          </sequence>
>>>>>>>>>                  </complexType>
>>>>>>>>>          </schema>
>>>>>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
>>>>>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>>>>>                  <import
>>>>>>>>>                   
>>> namespace="http://ejb.proto.mycompany.com" />
>>>       
>>>>>>>>>                  <complexType name="ProtoDTO">
>>>>>>>>>                          <sequence>
>>>>>>>>>                                  <element name="date"
>>>>>>>>>                   
>>> nillable="true"
>>>       
>>>>>>>>>                                          type="xsd:dateTime" />
>>>>>>>>>                                  <element name="dble"
>>>>>>>>>                   
>>> nillable="true"
>>>       
>>>>>>>>>                                          type="xsd:double" />
>>>>>>>>>                                  <element name="integ"
>>>>>>>>>                   
>>> type="xsd:int" />
>>>       
>>>>>>>>>                                  <element name="liste"
>>>>>>>>>                   
>>> nillable="true"
>>>       
>>>>>>>>>                                         
>>>>>>>>>                   
>>> type="impl:ArrayOf_xsd_nillable_string" />
>>>       
>>>>>>>>>                          </sequence>
>>>>>>>>>                  </complexType>
>>>>>>>>>          </schema>
>>>>>>>>>  </wsdl:types>
>>>>>>>>>
>>>>>>>>>  <wsdl:message name="getProtoDTORequest">
>>>>>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters"
>>>>>>>>>                   
>>> />
>>>       
>>>>>>>>>  </wsdl:message>
>>>>>>>>>
>>>>>>>>>  <wsdl:message name="getProtoDTOResponse">
>>>>>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>>>>>>>>>                   
>>> name="parameters" />
>>>       
>>>>>>>>>  </wsdl:message>
>>>>>>>>>
>>>>>>>>>  <wsdl:portType name="ProtoBean">
>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>>>>>>>>>                          name="getProtoDTORequest" />
>>>>>>>>>
>>>>>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
>>>>>>>>>                          name="getProtoDTOResponse" />
>>>>>>>>>
>>>>>>>>>          </wsdl:operation>
>>>>>>>>>
>>>>>>>>>  </wsdl:portType>
>>>>>>>>>
>>>>>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>>>>>
>>>>>>>>>          <wsdlsoap:binding style="document"
>>>>>>>>>                  transport="http://schemas.xmlsoap.org/soap/http"
>>>>>>>>>                   
>>> />
>>>       
>>>>>>>>>          <wsdl:operation name="getProtoDTO">
>>>>>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>>>>>
>>>>>>>>>                  <wsdl:input name="getProtoDTORequest">
>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>
>>>>>>>>>                  </wsdl:input>
>>>>>>>>>
>>>>>>>>>                  <wsdl:output name="getProtoDTOResponse">
>>>>>>>>>                          <wsdlsoap:body use="literal" />
>>>>>>>>>
>>>>>>>>>                  </wsdl:output>
>>>>>>>>>
>>>>>>>>>          </wsdl:operation>
>>>>>>>>>
>>>>>>>>>  </wsdl:binding>
>>>>>>>>>
>>>>>>>>>  <wsdl:service name="ProtoBeanService">
>>>>>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>>>>>                  name="ProtoBean">
>>>>>>>>>                  <wsdlsoap:address
>>>>>>>>>                         
>>>>>>>>>                   
>>> location="http://localhost:8092/ProtoBeanService/" />
>>>       
>>>>>>>>>          </wsdl:port>
>>>>>>>>>
>>>>>>>>>  </wsdl:service>
>>>>>>>>>
>>>>>>>>> </wsdl:definitions>
>>>>>>>>>
>>>>>>>>> Thanks in advance,
>>>>>>>>> Florent.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang-2 wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>>>> Hi Florent,
>>>>>>>>>> Do you mean
>>>>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use
>>>>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>>>>>>>>>>                     
>>> 1.2?
>>>       
>>>>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>>>>
>>>>>>>>>> Best Regards
>>>>>>>>>>
>>>>>>>>>> Freeman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Florent wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>>> If i use the following code to access to my web service, it
>>>>>>>>>>>                       
>>> works
>>>       
>>>>>>>>>>> fine
>>>>>>>>>>> :
>>>>>>>>>>>
>>>>>>>>>>> String endpoint =
>>>>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>>>>
>>>>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>>>>>                                                "<env:Envelope
>>>>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>>>>> " +
>>>>>>>>>>>                               
>>>>>>>>>>>                       
>>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>       
>>>>>>>>>>>                                "<env:Body>" +
>>>>>>>>>>>                                "<tns:getProtoDTO>" +
>>>>>>>>>>>
>>>>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>>>>                                "</tns:getProtoDTO>" +
>>>>>>>>>>>                                                "</env:Body>" +
>>>>>>>>>>>                                               
>>>>>>>>>>>                       
>>> "</env:Envelope>";
>>>       
>>>>>>>>>>>                MessageFactory mf = MessageFactory.newInstance();
>>>>>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>>>>>>>>>>>                       
>>> MimeHeaders(), new
>>>       
>>>>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>>>>>
>>>>>>>>>>>                SOAPConnection conn =
>>>>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>>>>
>>>>>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> If i try to call the fellowing url :
>>>>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>>>>> i get an error : No SOAPAction header (Application server
>>>>>>>>>>>                       
>>> log)...
>>>       
>>>>>>>>>>> That's
>>>>>>>>>>> why
>>>>>>>>>>> i was wondering about the soap version.
>>>>>>>>>>>
>>>>>>>>>>> I get the following error in servicemix log :
>>>>>>>>>>>
>>>>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>       
>>>>>>>>>>>         at
>>>>>>>>>>>
>>>>>>>>>>>                       
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>       
>>>>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Any idea?
>>>>>>>>>>>
>>>>>>>>>>> Thank you in advance,
>>>>>>>>>>> Florent.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>>>>>> should
>>>>>>>>>>>> support both of it by default.
>>>>>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>>>>>>>>>>>>                         
>>> model
>>>       
>>>>>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>>>>>
>>>>>>>>>>>> Best Regards
>>>>>>>>>>>>
>>>>>>>>>>>> Freeman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Florent wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                         
>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>>>>>>>>>>>>>                           
>>> using
>>>       
>>>>>>>>>>>>> cxf.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'd like to know if i can set the soap version. For example,
>>>>>>>>>>>>>                           
>>> when
>>>       
>>>>>>>>>>>>> i
>>>>>>>>>>>>> was
>>>>>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>>>>>> didn't
>>>>>>>>>>>>> find
>>>>>>>>>>>>> one
>>>>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>>>>
>>>>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>>>>
>>>>>>>>>>>>>       <cxfbc:consumer
>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>>>>                         targetEndpoint="ProtoBean"
>>>>>>>>>>>>>                         targetService="ns1:ProtoBeanService"
>>>>>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>       </cxfbc:consumer>
>>>>>>>>>>>>>
>>>>>>>>>>>>>       <cxfbc:provider
>>>>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                           
>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>>>       
>>>>>>>>>>>>>                         service="ns1:ProtoBeanService"
>>>>>>>>>>>>>                         endpoint="ProtoBean"
>>>>>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>>>>>>>>>>>>>                         >
>>>>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>>>>
>>>>>>>>>>>>> </beans>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                           
>>>>>>>>>>>>
>>>>>>>>>>>>                         
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>>                     
>>>>>>>>>                   
>>>>>>>               
>>>>>>             
>>>>>           
>>>>         
>>> --
>>> View this message in context:
>>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>>
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Yes, that's exactly what i mean.

The param tag didn't appear in my first for some obscur reason. That's why i
was saying my SOAP message is correct.

Is there any way to trace what is going on in the bus? Something better than
the debug log?
I'd like to check the SOAP message generated by the Servicemix Cxf bc
provider.



Freeman Fang wrote:
> 
> You mean your request soap message already has < param> yourParam<
> /param> element? and it still doesn't work ? (obviously I make a
> mistake in my prevoious mail, I mismactch the response and request,
> sorry for it)
> 
> 
> On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>>
>> There is a problem when i post the "param" tag : it does not appear in
>> the
>> forum post. I edited my previous message and put some spaces :
>>
>> <tns:getProtoDTO>
>> < param>myparam</ param>
>> </tns:getProtoDTO>
>>
>> Sorry, i didn't notice it in my first post. I think the misunderstanding
>> came from that...
>>
>> Best Regards,
>> Florent
>>
>>
>>
>> Florent wrote:
>> >
>> > Ok, i think i understand why you said my soap enveloppe in incorrect.
>> >
>> > Here is the one i'm using (in my first post, i have to admit it wasn't
>> > correct) :
>> >
>> > <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>> > xmlns:tns=\"http://ejb.proto.sopra.com\">
>> > <env:Body>
>> > <tns:getProtoDTO>
>> > < param>myparam</ param>
>>
>> > </tns:getProtoDTO>
>> > </env:Body>
>> > </env:Envelope>
>> >
>> >
>> >
>> > Florent wrote:
>> >>
>> >>
>> >> this :
>> >>
>> >> Standalone client <--> SOAP message <--> Servicemix cxf bc
>> consumer<--->
>> >> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>> >> <-->Websphere
>> >> Application Server
>> >>
>> >> is exactly what i want to be done (and what i'm trying to do) :)
>> >>
>> >> According to your reply, i should use the following soap message :
>> >>
>> >> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> >> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> >> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> >> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
>> >> xmlns:tns=\"http://ejb.proto.sopra.com\">
>> >> <env:Body>
>> >> <tns:getProtoDTO>
>> >> <date>2007-11-27T10:04:16.347Z</date>
>> >> <dble>0.0</dble>
>> >> <integ>1</integ>
>> >> <liste>
>> >> <string>s01</string><string>s02</string><string>s03</string>
>> >> </liste>
>> >> </tns:getProtoDTO>
>> >> </env:Body>
>> >> </env:Envelope>
>> >>
>> >> But, according to my wsdl, this is the response soap message, not the
>> >> request one !
>> >>
>> >> Operation :
>> >> <wsdl:operation name="getProtoDTO">
>> >>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>> >>        <wsdl:input name="getProtoDTORequest">
>> >>          <wsdlsoap:body use="literal"/>
>> >>       </wsdl:input>
>> >>        <wsdl:output name="getProtoDTOResponse">
>> >>          <wsdlsoap:body use="literal"/>
>> >>       </wsdl:output>
>> >> </wsdl:operation>
>> >>
>> >> PortType :
>> >> <wsdl:portType name="ProtoBean">
>> >>      <wsdl:operation name="getProtoDTO">
>> >>        <wsdl:input message="intf:getProtoDTORequest"
>> >> name="getProtoDTORequest"/>
>> >>        <wsdl:output message="intf:getProtoDTOResponse"
>> >> name="getProtoDTOResponse"/>
>> >>     </wsdl:operation>
>> >> </wsdl:portType>
>> >>
>> >>
>> >> Input / request :
>> >> <wsdl:message name="getProtoDTORequest">
>> >>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>> >> </wsdl:message>
>> >>
>> >> Element :
>> >> <element name="getProtoDTO">
>> >>     <complexType>
>> >>      <sequence>
>> >>       <element name="param" nillable="true" type="xsd:string"/>
>> >>      </sequence>
>> >>     </complexType>
>> >> </element>
>> >>
>> >> Output / response :
>> >> <wsdl:message name="getProtoDTOResponse">
>> >>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
>> >> </wsdl:message>
>> >>
>> >> Element :
>> >> <element name="getProtoDTOResponse">
>> >>     <complexType>
>> >>      <sequence>
>> >>       <element name="getProtoDTOReturn" nillable="true"
>> >> type="tns2:ProtoDTO"/>
>> >>      </sequence>
>> >>     </complexType>
>> >> </element>
>> >>
>> >> So, the output is the ProtoDTO complex type, and the input is a
>> string.
>> >>
>> >> Did i misunderstand something? May be i'm confusing provider/consumer
>> >> role?
>> >>
>> >>
>> >>
>> >>
>> >> Freeman Fang wrote:
>> >>>
>> >>> Comments in line
>> >>>
>> >>> Florent wrote:
>> >>>> Morning Freeman,
>> >>>>
>> >>>> I tried to modify my SOAP message, but it didn't work : i still get
>> the
>> >>>> same
>> >>>> error.
>> >>>>
>> >>> What's your new soap message now?
>> >>>> I also tried to call the web service with this enveloppe and a
>> >>>> standalone
>> >>>> client : i got a "wrong parameter error".
>> >>>>
>> >>>> I think my SOAP message is correct : i tried to generate it from the
>> >>>> RAD 7
>> >>>> web service test and it was the same one. Plus, my business method
>> has
>> >>>> one
>> >>>> parameter (a string) and a complex type as return type.
>> >>>>
>> >>> According to the schema from your wsdl, your soap messge
>> >>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
>> >>> element, there should be element <date> or <dble> or <integ> or
>> <liste>
>> >>>
>> >>> Btw, different soap tool kit may generate soap message with little
>> >>> different, which may cause interoperability problem
>> >>>
>> >>>> As i'm totally new to servicemix, so there is probably something i
>> >>>> don't
>> >>>> understand.
>> >>>>
>> >>>> What i want to do :
>> >>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>> >>>> Application Server
>> >>>>
>> >>>> Considering the debug log, what i think it's going on :
>> >>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>> >>>> Application Server
>> >>>>
>> >>> no, what's going on is
>> >>>
>> >>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
>> >>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>> >>> Application Server
>> >>>
>> >>> So what's reach your websphere application server is soap message,
>> not
>> >>> jbi message.
>> >>> May be you need refer to [1]  which is similiar as your scenario
>> >>> [1]
>> >>>
>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>> >>>
>> >>>> So, i don't think WAS support JBI message... and that could explain
>> my
>> >>>> error
>> >>>> (i no longer think it's a soap verion problem).
>> >>>>
>> >>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>> >>>> party
>> >>>> web service URL.
>> >>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>> >>>>
>> >>>> I only want to call my web service, but i want to call it using a
>> >>>> servicemix
>> >>>> URL.
>> >>>>
>> >>>> Thanks again for your help,
>> >>>> Best Regards,
>> >>>> Florent.
>> >>>>
>> >>>>
>> >>>>
>> >>>> Freeman Fang wrote:
>> >>>>
>> >>>>> Hi Florent,
>> >>>>>
>> >>>>> This problem has nothing to do with soap version.
>> >>>>>
>> >>>>> The problem is that your hard code soap request message is not
>> >>>>> correct.
>> >>>>>
>> >>>>> According to the schema in wsdl you append, it should be something
>> >>>>> like
>> >>>>>
>> >>>>> <env:Envelope
>> >>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> >>>>> xmlns:en
>> >>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> >>>>> xmlns:xsd="http://www.w3.org/2001/
>> >>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >>>>> xmlns:tns="http
>> >>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>> >>>>> <date>your date</date>
>> >>>>> <dble>your dble</dble>
>> >>>>> <integ>your integ</integ>
>> >>>>> <liste>your liste</liste>
>> >>>>> </tns:getPr
>> >>>>> otoDTO></env:Body></env:Envelope>
>> >>>>>
>> >>>>> You shouldn't use
>> >>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without
>> element
>> >>>>> tag
>> >>>>> defined in the schema.
>> >>>>> For some complex schema, write soap message yourself is not so
>> easy,
>> >>>>> so we
>> >>>>> prefer to use some soap tool kit to generate soap message for you,
>> may
>> >>>>> be
>> >>>>> you can  try to use apache cxf, basically generate code stub from
>> the
>> >>>>> wsdl, and what you need do is just write client invoke code as
>> normal
>> >>>>> java
>> >>>>> operation invoke and  cxf will genearate soap message for you.
>> >>>>>
>> >>>>> Would you please try it again?
>> >>>>>
>> >>>>> Best Regards
>> >>>>>
>> >>>>> Freeman
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> Florent wrote:
>> >>>>>
>> >>>>>> Hi Freeman,
>> >>>>>>
>> >>>>>> Indeed,
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>> >>>>>> use
>> >>>>>> soap
>> >>>>>> 1.1.
>> >>>>>> But i don't know which soap version
>> >>>>>> http://localhost:8092/ProtoBeanService/
>> >>>>>> is using...
>> >>>>>>
>> >>>>>> The third party webservice is hosted by Websphere Application
>> Server
>> >>>>>> 6.1.
>> >>>>>>
>> >>>>>> I don't really know what cxf is doing to the message, is it
>> possible
>> >>>>>> to
>> >>>>>> log/trace it?
>> >>>>>>
>> >>>>>> I enabled debug log and added interceptors in my xbean.xml, here
>> is
>> >>>>>> the
>> >>>>>> output :
>> >>>>>>
>> >>>>>> INFO: Inbound Message
>> >>>>>> --------------------------------------
>> >>>>>> Encoding: utf-8
>> >>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>> >>>>>> Host=[ITEM-509
>> >>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>> >>>>>> GMT],
>> >>>>>> SOAPAct
>> >>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>> >>>>>> Cache-Control
>> >>>>>> =[no-cache],
>> Accept=[application/soap+xml,multipart/related,text/*]}
>> >>>>>> Message:
>> >>>>>> <env:Envelope
>> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> >>>>>> xmlns:en
>> >>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> >>>>>> xmlns:xsd="http://www.w3.org/2001/
>> >>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >>>>>> xmlns:tns="http
>> >>>>>>
>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>> >>>>>> otoDTO></env:Body></env:Envelope>
>> >>>>>> --------------------------------------
>> >>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>> >>>>>> DeliveryChannel{servicemix-cxf-bc}
>> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> >>>>>> DEBUG - SedaQueue                      -
>> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f
>> dequeued
>> >>>>>> exchange: InOut[
>> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>>   status: Active
>> >>>>>>   role: provider
>> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >>>>>>   endpoint: ProtoBean
>> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >>>>>> xmlns:jbi="http://java.
>> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >>>>>> version="1.0"><jbi:part><tns:
>> >>>>>> getProtoDTO
>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >>>>>> otoDTO></jbi:part></jbi:message>
>> >>>>>> ]
>> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>> status:
>> >>>>>> Active,
>> >>>>>> role: provider
>> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>> DEBUG - DeliveryChannelImpl            - Send
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>> >>>>>> DeliveryChannel{servicemix-cxf-bc}
>> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >>>>>> DEBUG - SedaQueue                      -
>> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678
>> dequeued
>> >>>>>> exchange: InOut[
>> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>>   status: Active
>> >>>>>>   role: consumer
>> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >>>>>>   endpoint: ProtoBean
>> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >>>>>> xmlns:jbi="http://java.
>> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >>>>>> version="1.0"><jbi:part><tns:
>> >>>>>> getProtoDTO
>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >>>>>> otoDTO></jbi:part></jbi:message>
>> >>>>>>   out: null
>> >>>>>> ]
>> >>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> >>>>>> DeliveryChannel{servicemix-cxf-bc} from
>> >>>>>> processInboundSynchronousExchange
>> >>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> >>>>>> 26 nov. 2007 09:59:48
>> >>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>> >>>>>> onClose
>> >>>>>> INFO: Outbound Message
>> >>>>>> --------------------------------------
>> >>>>>> <soap:Envelope
>> >>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>> >>>>>>  /></soap:Envelope>
>> >>>>>> --------------------------------------
>> >>>>>> DEBUG - DeliveryChannelImpl            - Send
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>> in DeliveryChannel{servicemix-cxf-bc}
>> >>>>>> DEBUG - SedaFlow                       - Called Flow send
>> >>>>>> DEBUG - SedaQueue                      -
>> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780
>> dequeued
>> >>>>>> exchange: InOut[
>> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>>   status: Done
>> >>>>>>   role: provider
>> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>> >>>>>>   endpoint: ProtoBean
>> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> >>>>>> xmlns:jbi="http://java.
>> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> >>>>>> version="1.0"><jbi:part><tns:
>> >>>>>> getProtoDTO
>> xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> >>>>>> otoDTO></jbi:part></jbi:message>
>> >>>>>>   out: null
>> >>>>>> ]
>> >>>>>> DEBUG - CxfBcComponent                 - Received exchange:
>> status:
>> >>>>>> Done,
>> >>>>>> role:provider
>> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>> >>>>>> javax.jbi.messaging.MessagingException: Out not supported
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>> >>>>>>         at
>> >>>>>>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>> >>>>>>         at
>> >>>>>>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>> >>>>>>         at
>> >>>>>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> >>>>>>         at
>> >>>>>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>> >>>>>>         at
>> >>>>>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>> >>>>>>         at java.lang.Thread.run(Thread.java:595)
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>> >>>>>> same
>> >>>>>> one,
>> >>>>>> except the service location) :
>> >>>>>>
>> >>>>>> <?xml version="1.0" encoding="UTF-8"?>
>> >>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>> >>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
>> >>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
>> >>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
>> >>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>> >>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>> >>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >>>>>>  <wsdl:types>
>> >>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
>> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>> >>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
>> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >>>>>>                  <import
>> namespace="http://dto.proto.mycompany.com" />
>> >>>>>>                  <element name="getProtoDTOResponse">
>> >>>>>>                          <complexType>
>> >>>>>>                                  <sequence>
>> >>>>>>                                          <element
>> name="getProtoDTOReturn"
>> >>>>>>                                                  nillable="true"
>> type="tns2:ProtoDTO" />
>> >>>>>>                                  </sequence>
>> >>>>>>                          </complexType>
>> >>>>>>                  </element>
>> >>>>>>                  <element name="getProtoDTO">
>> >>>>>>                          <complexType>
>> >>>>>>                                  <sequence>
>> >>>>>>                                          <element name="param"
>> nillable="true"
>> >>>>>>                                                  type="xsd:string"
>> />
>> >>>>>>                                  </sequence>
>> >>>>>>                          </complexType>
>> >>>>>>                  </element>
>> >>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
>> >>>>>>                          <sequence>
>> >>>>>>                                  <element maxOccurs="unbounded"
>> minOccurs="0"
>> >>>>>>                                          name="string"
>> nillable="true" type="xsd:string" />
>> >>>>>>                          </sequence>
>> >>>>>>                  </complexType>
>> >>>>>>          </schema>
>> >>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
>> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
>> >>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
>> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> >>>>>>                  <import
>> namespace="http://ejb.proto.mycompany.com" />
>> >>>>>>                  <complexType name="ProtoDTO">
>> >>>>>>                          <sequence>
>> >>>>>>                                  <element name="date"
>> nillable="true"
>> >>>>>>                                          type="xsd:dateTime" />
>> >>>>>>                                  <element name="dble"
>> nillable="true"
>> >>>>>>                                          type="xsd:double" />
>> >>>>>>                                  <element name="integ"
>> type="xsd:int" />
>> >>>>>>                                  <element name="liste"
>> nillable="true"
>> >>>>>>                                         
>> type="impl:ArrayOf_xsd_nillable_string" />
>> >>>>>>                          </sequence>
>> >>>>>>                  </complexType>
>> >>>>>>          </schema>
>> >>>>>>  </wsdl:types>
>> >>>>>>
>> >>>>>>  <wsdl:message name="getProtoDTORequest">
>> >>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters"
>> />
>> >>>>>>
>> >>>>>>  </wsdl:message>
>> >>>>>>
>> >>>>>>  <wsdl:message name="getProtoDTOResponse">
>> >>>>>>          <wsdl:part element="intf:getProtoDTOResponse"
>> name="parameters" />
>> >>>>>>
>> >>>>>>  </wsdl:message>
>> >>>>>>
>> >>>>>>  <wsdl:portType name="ProtoBean">
>> >>>>>>          <wsdl:operation name="getProtoDTO">
>> >>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
>> >>>>>>                          name="getProtoDTORequest" />
>> >>>>>>
>> >>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
>> >>>>>>                          name="getProtoDTOResponse" />
>> >>>>>>
>> >>>>>>          </wsdl:operation>
>> >>>>>>
>> >>>>>>  </wsdl:portType>
>> >>>>>>
>> >>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>> >>>>>>
>> >>>>>>          <wsdlsoap:binding style="document"
>> >>>>>>                  transport="http://schemas.xmlsoap.org/soap/http"
>> />
>> >>>>>>
>> >>>>>>          <wsdl:operation name="getProtoDTO">
>> >>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
>> >>>>>>
>> >>>>>>                  <wsdl:input name="getProtoDTORequest">
>> >>>>>>                          <wsdlsoap:body use="literal" />
>> >>>>>>
>> >>>>>>                  </wsdl:input>
>> >>>>>>
>> >>>>>>                  <wsdl:output name="getProtoDTOResponse">
>> >>>>>>                          <wsdlsoap:body use="literal" />
>> >>>>>>
>> >>>>>>                  </wsdl:output>
>> >>>>>>
>> >>>>>>          </wsdl:operation>
>> >>>>>>
>> >>>>>>  </wsdl:binding>
>> >>>>>>
>> >>>>>>  <wsdl:service name="ProtoBeanService">
>> >>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
>> >>>>>>                  name="ProtoBean">
>> >>>>>>                  <wsdlsoap:address
>> >>>>>>                         
>> location="http://localhost:8092/ProtoBeanService/" />
>> >>>>>>
>> >>>>>>          </wsdl:port>
>> >>>>>>
>> >>>>>>  </wsdl:service>
>> >>>>>>
>> >>>>>> </wsdl:definitions>
>> >>>>>>
>> >>>>>> Thanks in advance,
>> >>>>>> Florent.
>> >>>>>>
>> >>>>>>
>> >>>>>> Freeman Fang-2 wrote:
>> >>>>>>
>> >>>>>>
>> >>>>>>> Hi Florent,
>> >>>>>>> Do you mean
>> >>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use
>> >>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap
>> 1.2?
>> >>>>>>> Which soap toolkit are the third party webservice using?
>> >>>>>>> Would you please append the wsdl used for two webservices?
>> >>>>>>>
>> >>>>>>> Best Regards
>> >>>>>>>
>> >>>>>>> Freeman
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Florent wrote:
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>> If i use the following code to access to my web service, it
>> works
>> >>>>>>>> fine
>> >>>>>>>> :
>> >>>>>>>>
>> >>>>>>>> String endpoint =
>> >>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>> >>>>>>>>
>> >>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>> >>>>>>>>                                                "<env:Envelope
>> >>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>> >>>>>>>> " +
>> >>>>>>>>                               
>> "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>> >>>>>>>>                                "<env:Body>" +
>> >>>>>>>>                                "<tns:getProtoDTO>" +
>> >>>>>>>>
>> >>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>> >>>>>>>>                                "</tns:getProtoDTO>" +
>> >>>>>>>>                                                "</env:Body>" +
>> >>>>>>>>                                               
>> "</env:Envelope>";
>> >>>>>>>>
>> >>>>>>>>                MessageFactory mf = MessageFactory.newInstance();
>> >>>>>>>>                SOAPMessage smsg = mf.createMessage(new
>> MimeHeaders(), new
>> >>>>>>>> ByteArrayInputStream(xml.getBytes()));
>> >>>>>>>>
>> >>>>>>>>                SOAPConnection conn =
>> >>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>> >>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>> >>>>>>>>
>> >>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> If i try to call the fellowing url :
>> >>>>>>>> http://localhost:8092/ProtoBeanService/
>> >>>>>>>> i get an error : No SOAPAction header (Application server
>> log)...
>> >>>>>>>> That's
>> >>>>>>>> why
>> >>>>>>>> i was wondering about the soap version.
>> >>>>>>>>
>> >>>>>>>> I get the following error in servicemix log :
>> >>>>>>>>
>> >>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>> >>>>>>>>         at
>> >>>>>>>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> >>>>>>>>         at
>> >>>>>>>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>> >>>>>>>>         at
>> >>>>>>>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>> >>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Any idea?
>> >>>>>>>>
>> >>>>>>>> Thank you in advance,
>> >>>>>>>> Florent.
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Freeman Fang wrote:
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>> Hi,
>> >>>>>>>>>
>> >>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>> >>>>>>>>> should
>> >>>>>>>>> support both of it by default.
>> >>>>>>>>> Cxf bc will parse the wsdl you provided and create service
>> model
>> >>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>> >>>>>>>>>
>> >>>>>>>>> Best Regards
>> >>>>>>>>>
>> >>>>>>>>> Freeman
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> Florent wrote:
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>> Hello,
>> >>>>>>>>>>
>> >>>>>>>>>> I'm trying to expose a third party webservice to the bus,
>> using
>> >>>>>>>>>> cxf.
>> >>>>>>>>>>
>> >>>>>>>>>> I'd like to know if i can set the soap version. For example,
>> when
>> >>>>>>>>>> i
>> >>>>>>>>>> was
>> >>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>> >>>>>>>>>> didn't
>> >>>>>>>>>> find
>> >>>>>>>>>> one
>> >>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>> >>>>>>>>>>
>> >>>>>>>>>> Is soap 1.1 or 1.2 used?
>> >>>>>>>>>>
>> >>>>>>>>>> Here is my xbean.xml :
>> >>>>>>>>>>
>> >>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>> >>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>> >>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>> >>>>>>>>>>
>> >>>>>>>>>>       <cxfbc:consumer
>> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>> >>>>>>>>>>                         endpoint="ProtoBeanPort"
>> >>>>>>>>>>                         targetEndpoint="ProtoBean"
>> >>>>>>>>>>                         targetService="ns1:ProtoBeanService"
>> >>>>>>>>>>                         targetInterface="ns1:ProtoBean"
>> >>>>>>>>>>                         >
>> >>>>>>>>>>       </cxfbc:consumer>
>> >>>>>>>>>>
>> >>>>>>>>>>       <cxfbc:provider
>> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
>> >>>>>>>>>>
>> >>>>>>>>>>
>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
>> >>>>>>>>>>                         service="ns1:ProtoBeanService"
>> >>>>>>>>>>                         endpoint="ProtoBean"
>> >>>>>>>>>>                         interfaceName="ns1:ProtoBean"
>> >>>>>>>>>>                         >
>> >>>>>>>>>>       </cxfbc:provider>
>> >>>>>>>>>>
>> >>>>>>>>>> </beans>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>>
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13970889
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
You mean your request soap message already has < param> yourParam<
/param> element? and it still doesn't work ? (obviously I make a
mistake in my prevoious mail, I mismactch the response and request,
sorry for it)


On Nov 27, 2007 8:06 PM, Florent <fl...@sopragroup.com> wrote:
>
> There is a problem when i post the "param" tag : it does not appear in the
> forum post. I edited my previous message and put some spaces :
>
> <tns:getProtoDTO>
> < param>myparam</ param>
> </tns:getProtoDTO>
>
> Sorry, i didn't notice it in my first post. I think the misunderstanding
> came from that...
>
> Best Regards,
> Florent
>
>
>
> Florent wrote:
> >
> > Ok, i think i understand why you said my soap enveloppe in incorrect.
> >
> > Here is the one i'm using (in my first post, i have to admit it wasn't
> > correct) :
> >
> > <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
> > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
> > xmlns:tns=\"http://ejb.proto.sopra.com\">
> > <env:Body>
> > <tns:getProtoDTO>
> > < param>myparam</ param>
>
> > </tns:getProtoDTO>
> > </env:Body>
> > </env:Envelope>
> >
> >
> >
> > Florent wrote:
> >>
> >>
> >> this :
> >>
> >> Standalone client <--> SOAP message <--> Servicemix cxf bc consumer<--->
> >> JBI message  <--->Servicemix Cxf bc provider <---> soap message
> >> <-->Websphere
> >> Application Server
> >>
> >> is exactly what i want to be done (and what i'm trying to do) :)
> >>
> >> According to your reply, i should use the following soap message :
> >>
> >> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> >> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> >> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
> >> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
> >> xmlns:tns=\"http://ejb.proto.sopra.com\">
> >> <env:Body>
> >> <tns:getProtoDTO>
> >> <date>2007-11-27T10:04:16.347Z</date>
> >> <dble>0.0</dble>
> >> <integ>1</integ>
> >> <liste>
> >> <string>s01</string><string>s02</string><string>s03</string>
> >> </liste>
> >> </tns:getProtoDTO>
> >> </env:Body>
> >> </env:Envelope>
> >>
> >> But, according to my wsdl, this is the response soap message, not the
> >> request one !
> >>
> >> Operation :
> >> <wsdl:operation name="getProtoDTO">
> >>        <wsdlsoap:operation soapAction="getProtoDTO"/>
> >>        <wsdl:input name="getProtoDTORequest">
> >>          <wsdlsoap:body use="literal"/>
> >>       </wsdl:input>
> >>        <wsdl:output name="getProtoDTOResponse">
> >>          <wsdlsoap:body use="literal"/>
> >>       </wsdl:output>
> >> </wsdl:operation>
> >>
> >> PortType :
> >> <wsdl:portType name="ProtoBean">
> >>      <wsdl:operation name="getProtoDTO">
> >>        <wsdl:input message="intf:getProtoDTORequest"
> >> name="getProtoDTORequest"/>
> >>        <wsdl:output message="intf:getProtoDTOResponse"
> >> name="getProtoDTOResponse"/>
> >>     </wsdl:operation>
> >> </wsdl:portType>
> >>
> >>
> >> Input / request :
> >> <wsdl:message name="getProtoDTORequest">
> >>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
> >> </wsdl:message>
> >>
> >> Element :
> >> <element name="getProtoDTO">
> >>     <complexType>
> >>      <sequence>
> >>       <element name="param" nillable="true" type="xsd:string"/>
> >>      </sequence>
> >>     </complexType>
> >> </element>
> >>
> >> Output / response :
> >> <wsdl:message name="getProtoDTOResponse">
> >>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
> >> </wsdl:message>
> >>
> >> Element :
> >> <element name="getProtoDTOResponse">
> >>     <complexType>
> >>      <sequence>
> >>       <element name="getProtoDTOReturn" nillable="true"
> >> type="tns2:ProtoDTO"/>
> >>      </sequence>
> >>     </complexType>
> >> </element>
> >>
> >> So, the output is the ProtoDTO complex type, and the input is a string.
> >>
> >> Did i misunderstand something? May be i'm confusing provider/consumer
> >> role?
> >>
> >>
> >>
> >>
> >> Freeman Fang wrote:
> >>>
> >>> Comments in line
> >>>
> >>> Florent wrote:
> >>>> Morning Freeman,
> >>>>
> >>>> I tried to modify my SOAP message, but it didn't work : i still get the
> >>>> same
> >>>> error.
> >>>>
> >>> What's your new soap message now?
> >>>> I also tried to call the web service with this enveloppe and a
> >>>> standalone
> >>>> client : i got a "wrong parameter error".
> >>>>
> >>>> I think my SOAP message is correct : i tried to generate it from the
> >>>> RAD 7
> >>>> web service test and it was the same one. Plus, my business method has
> >>>> one
> >>>> parameter (a string) and a complex type as return type.
> >>>>
> >>> According to the schema from your wsdl, your soap messge
> >>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO>
> >>> element, there should be element <date> or <dble> or <integ> or <liste>
> >>>
> >>> Btw, different soap tool kit may generate soap message with little
> >>> different, which may cause interoperability problem
> >>>
> >>>> As i'm totally new to servicemix, so there is probably something i
> >>>> don't
> >>>> understand.
> >>>>
> >>>> What i want to do :
> >>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
> >>>> Application Server
> >>>>
> >>>> Considering the debug log, what i think it's going on :
> >>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
> >>>> Application Server
> >>>>
> >>> no, what's going on is
> >>>
> >>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message
> >>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
> >>> Application Server
> >>>
> >>> So what's reach your websphere application server is soap message, not
> >>> jbi message.
> >>> May be you need refer to [1]  which is similiar as your scenario
> >>> [1]
> >>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
> >>>
> >>>> So, i don't think WAS support JBI message... and that could explain my
> >>>> error
> >>>> (i no longer think it's a soap verion problem).
> >>>>
> >>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
> >>>> party
> >>>> web service URL.
> >>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
> >>>>
> >>>> I only want to call my web service, but i want to call it using a
> >>>> servicemix
> >>>> URL.
> >>>>
> >>>> Thanks again for your help,
> >>>> Best Regards,
> >>>> Florent.
> >>>>
> >>>>
> >>>>
> >>>> Freeman Fang wrote:
> >>>>
> >>>>> Hi Florent,
> >>>>>
> >>>>> This problem has nothing to do with soap version.
> >>>>>
> >>>>> The problem is that your hard code soap request message is not
> >>>>> correct.
> >>>>>
> >>>>> According to the schema in wsdl you append, it should be something
> >>>>> like
> >>>>>
> >>>>> <env:Envelope
> >>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>> xmlns:en
> >>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>> xmlns:xsd="http://www.w3.org/2001/
> >>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>> xmlns:tns="http
> >>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
> >>>>> <date>your date</date>
> >>>>> <dble>your dble</dble>
> >>>>> <integ>your integ</integ>
> >>>>> <liste>your liste</liste>
> >>>>> </tns:getPr
> >>>>> otoDTO></env:Body></env:Envelope>
> >>>>>
> >>>>> You shouldn't use
> >>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element
> >>>>> tag
> >>>>> defined in the schema.
> >>>>> For some complex schema, write soap message yourself is not so easy,
> >>>>> so we
> >>>>> prefer to use some soap tool kit to generate soap message for you, may
> >>>>> be
> >>>>> you can  try to use apache cxf, basically generate code stub from the
> >>>>> wsdl, and what you need do is just write client invoke code as normal
> >>>>> java
> >>>>> operation invoke and  cxf will genearate soap message for you.
> >>>>>
> >>>>> Would you please try it again?
> >>>>>
> >>>>> Best Regards
> >>>>>
> >>>>> Freeman
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Florent wrote:
> >>>>>
> >>>>>> Hi Freeman,
> >>>>>>
> >>>>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
> >>>>>> use
> >>>>>> soap
> >>>>>> 1.1.
> >>>>>> But i don't know which soap version
> >>>>>> http://localhost:8092/ProtoBeanService/
> >>>>>> is using...
> >>>>>>
> >>>>>> The third party webservice is hosted by Websphere Application Server
> >>>>>> 6.1.
> >>>>>>
> >>>>>> I don't really know what cxf is doing to the message, is it possible
> >>>>>> to
> >>>>>> log/trace it?
> >>>>>>
> >>>>>> I enabled debug log and added interceptors in my xbean.xml, here is
> >>>>>> the
> >>>>>> output :
> >>>>>>
> >>>>>> INFO: Inbound Message
> >>>>>> --------------------------------------
> >>>>>> Encoding: utf-8
> >>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> >>>>>> Host=[ITEM-509
> >>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
> >>>>>> GMT],
> >>>>>> SOAPAct
> >>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> >>>>>> Cache-Control
> >>>>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
> >>>>>> Message:
> >>>>>> <env:Envelope
> >>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>> xmlns:en
> >>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
> >>>>>> xmlns:xsd="http://www.w3.org/2001/
> >>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>>> xmlns:tns="http
> >>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> >>>>>> otoDTO></env:Body></env:Envelope>
> >>>>>> --------------------------------------
> >>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>> DEBUG - DeliveryChannelImpl            - SendSync
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>   status: Active
> >>>>>>   role: provider
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>> ]
> >>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
> >>>>>> Active,
> >>>>>> role: provider
> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
> >>>>>> DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>   status: Active
> >>>>>>   role: consumer
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>   out: null
> >>>>>> ]
> >>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >>>>>> DeliveryChannel{servicemix-cxf-bc} from
> >>>>>> processInboundSynchronousExchange
> >>>>>> DEBUG - DeliveryChannelImpl            - Notified:
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> >>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
> >>>>>> 26 nov. 2007 09:59:48
> >>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
> >>>>>> onClose
> >>>>>> INFO: Outbound Message
> >>>>>> --------------------------------------
> >>>>>> <soap:Envelope
> >>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
> >>>>>>  /></soap:Envelope>
> >>>>>> --------------------------------------
> >>>>>> DEBUG - DeliveryChannelImpl            - Send
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>> in DeliveryChannel{servicemix-cxf-bc}
> >>>>>> DEBUG - SedaFlow                       - Called Flow send
> >>>>>> DEBUG - SedaQueue                      -
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
> >>>>>> exchange: InOut[
> >>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>>   status: Done
> >>>>>>   role: provider
> >>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
> >>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
> >>>>>>   endpoint: ProtoBean
> >>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
> >>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> >>>>>> xmlns:jbi="http://java.
> >>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> >>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
> >>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
> >>>>>> version="1.0"><jbi:part><tns:
> >>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> >>>>>> otoDTO></jbi:part></jbi:message>
> >>>>>>   out: null
> >>>>>> ]
> >>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
> >>>>>> Done,
> >>>>>> role:provider
> >>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> >>>>>> ID:172.16.180.193-1167b1f58b2-4:1
> >>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
> >>>>>>         at
> >>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
> >>>>>>         at
> >>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
> >>>>>>         at
> >>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
> >>>>>>         at
> >>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> >>>>>>         at
> >>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> >>>>>>         at
> >>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> >>>>>>         at
> >>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> >>>>>>         at
> >>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> >>>>>>         at java.lang.Thread.run(Thread.java:595)
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
> >>>>>> same
> >>>>>> one,
> >>>>>> except the service location) :
> >>>>>>
> >>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
> >>>>>>  xmlns:impl="http://ejb.proto.mycompany.com"
> >>>>>>  xmlns:intf="http://ejb.proto.mycompany.com"
> >>>>>>  xmlns:tns2="http://dto.proto.mycompany.com"
> >>>>>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> >>>>>>  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> >>>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>  <wsdl:types>
> >>>>>>          <schema targetNamespace="http://ejb.proto.mycompany.com"
> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >>>>>>                  xmlns:tns2="http://dto.proto.mycompany.com"
> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>                  <import namespace="http://dto.proto.mycompany.com" />
> >>>>>>                  <element name="getProtoDTOResponse">
> >>>>>>                          <complexType>
> >>>>>>                                  <sequence>
> >>>>>>                                          <element name="getProtoDTOReturn"
> >>>>>>                                                  nillable="true" type="tns2:ProtoDTO" />
> >>>>>>                                  </sequence>
> >>>>>>                          </complexType>
> >>>>>>                  </element>
> >>>>>>                  <element name="getProtoDTO">
> >>>>>>                          <complexType>
> >>>>>>                                  <sequence>
> >>>>>>                                          <element name="param" nillable="true"
> >>>>>>                                                  type="xsd:string" />
> >>>>>>                                  </sequence>
> >>>>>>                          </complexType>
> >>>>>>                  </element>
> >>>>>>                  <complexType name="ArrayOf_xsd_nillable_string">
> >>>>>>                          <sequence>
> >>>>>>                                  <element maxOccurs="unbounded" minOccurs="0"
> >>>>>>                                          name="string" nillable="true" type="xsd:string" />
> >>>>>>                          </sequence>
> >>>>>>                  </complexType>
> >>>>>>          </schema>
> >>>>>>          <schema targetNamespace="http://dto.proto.mycompany.com"
> >>>>>>                  xmlns="http://www.w3.org/2001/XMLSchema"
> >>>>>>                  xmlns:intf="http://ejb.proto.mycompany.com"
> >>>>>>                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >>>>>>                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >>>>>>                  <import namespace="http://ejb.proto.mycompany.com" />
> >>>>>>                  <complexType name="ProtoDTO">
> >>>>>>                          <sequence>
> >>>>>>                                  <element name="date" nillable="true"
> >>>>>>                                          type="xsd:dateTime" />
> >>>>>>                                  <element name="dble" nillable="true"
> >>>>>>                                          type="xsd:double" />
> >>>>>>                                  <element name="integ" type="xsd:int" />
> >>>>>>                                  <element name="liste" nillable="true"
> >>>>>>                                          type="impl:ArrayOf_xsd_nillable_string" />
> >>>>>>                          </sequence>
> >>>>>>                  </complexType>
> >>>>>>          </schema>
> >>>>>>  </wsdl:types>
> >>>>>>
> >>>>>>  <wsdl:message name="getProtoDTORequest">
> >>>>>>          <wsdl:part element="intf:getProtoDTO" name="parameters" />
> >>>>>>
> >>>>>>  </wsdl:message>
> >>>>>>
> >>>>>>  <wsdl:message name="getProtoDTOResponse">
> >>>>>>          <wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
> >>>>>>
> >>>>>>  </wsdl:message>
> >>>>>>
> >>>>>>  <wsdl:portType name="ProtoBean">
> >>>>>>          <wsdl:operation name="getProtoDTO">
> >>>>>>                  <wsdl:input message="intf:getProtoDTORequest"
> >>>>>>                          name="getProtoDTORequest" />
> >>>>>>
> >>>>>>                  <wsdl:output message="intf:getProtoDTOResponse"
> >>>>>>                          name="getProtoDTOResponse" />
> >>>>>>
> >>>>>>          </wsdl:operation>
> >>>>>>
> >>>>>>  </wsdl:portType>
> >>>>>>
> >>>>>>  <wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
> >>>>>>
> >>>>>>          <wsdlsoap:binding style="document"
> >>>>>>                  transport="http://schemas.xmlsoap.org/soap/http" />
> >>>>>>
> >>>>>>          <wsdl:operation name="getProtoDTO">
> >>>>>>                  <wsdlsoap:operation soapAction="getProtoDTO" />
> >>>>>>
> >>>>>>                  <wsdl:input name="getProtoDTORequest">
> >>>>>>                          <wsdlsoap:body use="literal" />
> >>>>>>
> >>>>>>                  </wsdl:input>
> >>>>>>
> >>>>>>                  <wsdl:output name="getProtoDTOResponse">
> >>>>>>                          <wsdlsoap:body use="literal" />
> >>>>>>
> >>>>>>                  </wsdl:output>
> >>>>>>
> >>>>>>          </wsdl:operation>
> >>>>>>
> >>>>>>  </wsdl:binding>
> >>>>>>
> >>>>>>  <wsdl:service name="ProtoBeanService">
> >>>>>>          <wsdl:port binding="intf:ProtoBeanSoapBinding"
> >>>>>>                  name="ProtoBean">
> >>>>>>                  <wsdlsoap:address
> >>>>>>                          location="http://localhost:8092/ProtoBeanService/" />
> >>>>>>
> >>>>>>          </wsdl:port>
> >>>>>>
> >>>>>>  </wsdl:service>
> >>>>>>
> >>>>>> </wsdl:definitions>
> >>>>>>
> >>>>>> Thanks in advance,
> >>>>>> Florent.
> >>>>>>
> >>>>>>
> >>>>>> Freeman Fang-2 wrote:
> >>>>>>
> >>>>>>
> >>>>>>> Hi Florent,
> >>>>>>> Do you mean
> >>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use
> >>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
> >>>>>>> Which soap toolkit are the third party webservice using?
> >>>>>>> Would you please append the wsdl used for two webservices?
> >>>>>>>
> >>>>>>> Best Regards
> >>>>>>>
> >>>>>>> Freeman
> >>>>>>>
> >>>>>>>
> >>>>>>> Florent wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>> If i use the following code to access to my web service, it works
> >>>>>>>> fine
> >>>>>>>> :
> >>>>>>>>
> >>>>>>>> String endpoint =
> >>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
> >>>>>>>>
> >>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
> >>>>>>>>                                                "<env:Envelope
> >>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
> >>>>>>>> " +
> >>>>>>>>                                "xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
> >>>>>>>>                                "<env:Body>" +
> >>>>>>>>                                "<tns:getProtoDTO>" +
> >>>>>>>>
> >>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
> >>>>>>>>                                "</tns:getProtoDTO>" +
> >>>>>>>>                                                "</env:Body>" +
> >>>>>>>>                                                "</env:Envelope>";
> >>>>>>>>
> >>>>>>>>                MessageFactory mf = MessageFactory.newInstance();
> >>>>>>>>                SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
> >>>>>>>> ByteArrayInputStream(xml.getBytes()));
> >>>>>>>>
> >>>>>>>>                SOAPConnection conn =
> >>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
> >>>>>>>>         SOAPMessage response = conn.call(smsg, url);
> >>>>>>>>
> >>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> If i try to call the fellowing url :
> >>>>>>>> http://localhost:8092/ProtoBeanService/
> >>>>>>>> i get an error : No SOAPAction header (Application server log)...
> >>>>>>>> That's
> >>>>>>>> why
> >>>>>>>> i was wondering about the soap version.
> >>>>>>>>
> >>>>>>>> I get the following error in servicemix log :
> >>>>>>>>
> >>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
> >>>>>>>>         at
> >>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
> >>>>>>>>         at
> >>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> >>>>>>>>         at
> >>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> >>>>>>>>         at
> >>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> >>>>>>>>         at
> >>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> >>>>>>>>         at java.lang.Thread.run(Thread.java:595)
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Any idea?
> >>>>>>>>
> >>>>>>>> Thank you in advance,
> >>>>>>>> Florent.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Freeman Fang wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
> >>>>>>>>> should
> >>>>>>>>> support both of it by default.
> >>>>>>>>> Cxf bc will parse the wsdl you provided and create service model
> >>>>>>>>> accordingly, extract soap version from your wsdl binding part.
> >>>>>>>>>
> >>>>>>>>> Best Regards
> >>>>>>>>>
> >>>>>>>>> Freeman
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Florent wrote:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>> Hello,
> >>>>>>>>>>
> >>>>>>>>>> I'm trying to expose a third party webservice to the bus, using
> >>>>>>>>>> cxf.
> >>>>>>>>>>
> >>>>>>>>>> I'd like to know if i can set the soap version. For example, when
> >>>>>>>>>> i
> >>>>>>>>>> was
> >>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
> >>>>>>>>>> didn't
> >>>>>>>>>> find
> >>>>>>>>>> one
> >>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
> >>>>>>>>>>
> >>>>>>>>>> Is soap 1.1 or 1.2 used?
> >>>>>>>>>>
> >>>>>>>>>> Here is my xbean.xml :
> >>>>>>>>>>
> >>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
> >>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
> >>>>>>>>>>
> >>>>>>>>>>       <cxfbc:consumer
> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
> >>>>>>>>>>                         endpoint="ProtoBeanPort"
> >>>>>>>>>>                         targetEndpoint="ProtoBean"
> >>>>>>>>>>                         targetService="ns1:ProtoBeanService"
> >>>>>>>>>>                         targetInterface="ns1:ProtoBean"
> >>>>>>>>>>                         >
> >>>>>>>>>>       </cxfbc:consumer>
> >>>>>>>>>>
> >>>>>>>>>>       <cxfbc:provider
> >>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl"
> >>>>>>>>>>
> >>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"
> >>>>>>>>>>                         service="ns1:ProtoBeanService"
> >>>>>>>>>>                         endpoint="ProtoBean"
> >>>>>>>>>>                         interfaceName="ns1:ProtoBean"
> >>>>>>>>>>                         >
> >>>>>>>>>>       </cxfbc:provider>
> >>>>>>>>>>
> >>>>>>>>>> </beans>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
>
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.
There is a problem when i post the "param" tag : it does not appear in the
forum post. I edited my previous message and put some spaces : 

<tns:getProtoDTO>
< param>myparam</ param>
</tns:getProtoDTO>

Sorry, i didn't notice it in my first post. I think the misunderstanding
came from that...

Best Regards,
Florent



Florent wrote:
> 
> Ok, i think i understand why you said my soap enveloppe in incorrect.
> 
> Here is the one i'm using (in my first post, i have to admit it wasn't
> correct) : 
> 
> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" 
> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
> xmlns:tns=\"http://ejb.proto.sopra.com\">
> <env:Body>
> <tns:getProtoDTO>
> < param>myparam</ param>
> </tns:getProtoDTO>
> </env:Body>
> </env:Envelope>
> 
> 
> 
> Florent wrote:
>> 
>> 
>> this : 
>> 
>> Standalone client <--> SOAP message <--> Servicemix cxf bc consumer<--->
>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>> <-->Websphere
>> Application Server
>> 
>> is exactly what i want to be done (and what i'm trying to do) :)
>> 
>> According to your reply, i should use the following soap message :
>> 
>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>> <env:Body>
>> <tns:getProtoDTO>
>> <date>2007-11-27T10:04:16.347Z</date>
>> <dble>0.0</dble>
>> <integ>1</integ>
>> <liste>
>> <string>s01</string><string>s02</string><string>s03</string>
>> </liste>
>> </tns:getProtoDTO>
>> </env:Body>
>> </env:Envelope>
>> 
>> But, according to my wsdl, this is the response soap message, not the
>> request one !
>> 
>> Operation : 
>> <wsdl:operation name="getProtoDTO">
>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>        <wsdl:input name="getProtoDTORequest">
>>          <wsdlsoap:body use="literal"/>
>>       </wsdl:input>
>>        <wsdl:output name="getProtoDTOResponse">
>>          <wsdlsoap:body use="literal"/>
>>       </wsdl:output>
>> </wsdl:operation>
>> 
>> PortType :
>> <wsdl:portType name="ProtoBean">
>>      <wsdl:operation name="getProtoDTO">
>>        <wsdl:input message="intf:getProtoDTORequest"
>> name="getProtoDTORequest"/>
>>        <wsdl:output message="intf:getProtoDTOResponse"
>> name="getProtoDTOResponse"/>
>>     </wsdl:operation>
>> </wsdl:portType>
>> 
>> 
>> Input / request :
>> <wsdl:message name="getProtoDTORequest">
>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>> </wsdl:message>
>> 
>> Element : 
>> <element name="getProtoDTO">
>>     <complexType>
>>      <sequence>
>>       <element name="param" nillable="true" type="xsd:string"/>
>>      </sequence>
>>     </complexType>
>> </element>
>> 
>> Output / response :
>> <wsdl:message name="getProtoDTOResponse">
>>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
>> </wsdl:message>
>> 
>> Element :
>> <element name="getProtoDTOResponse">
>>     <complexType>
>>      <sequence>
>>       <element name="getProtoDTOReturn" nillable="true"
>> type="tns2:ProtoDTO"/>
>>      </sequence>
>>     </complexType>
>> </element>
>> 
>> So, the output is the ProtoDTO complex type, and the input is a string.
>> 
>> Did i misunderstand something? May be i'm confusing provider/consumer
>> role?
>> 
>> 
>> 
>> 
>> Freeman Fang wrote:
>>> 
>>> Comments in line
>>> 
>>> Florent wrote:
>>>> Morning Freeman,
>>>>
>>>> I tried to modify my SOAP message, but it didn't work : i still get the
>>>> same
>>>> error. 
>>>>   
>>> What's your new soap message now?
>>>> I also tried to call the web service with this enveloppe and a
>>>> standalone
>>>> client : i got a "wrong parameter error".
>>>>
>>>> I think my SOAP message is correct : i tried to generate it from the
>>>> RAD 7
>>>> web service test and it was the same one. Plus, my business method has
>>>> one
>>>> parameter (a string) and a complex type as return type.
>>>>   
>>> According to the schema from your wsdl, your soap messge  
>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO> 
>>> element, there should be element <date> or <dble> or <integ> or <liste>
>>> 
>>> Btw, different soap tool kit may generate soap message with little 
>>> different, which may cause interoperability problem
>>> 
>>>> As i'm totally new to servicemix, so there is probably something i
>>>> don't
>>>> understand.
>>>>
>>>> What i want to do :
>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>>>> Application Server
>>>>
>>>> Considering the debug log, what i think it's going on :
>>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>>> Application Server
>>>>   
>>> no, what's going on is
>>> 
>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message 
>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>> Application Server
>>> 
>>> So what's reach your websphere application server is soap message, not 
>>> jbi message.
>>> May be you need refer to [1]  which is similiar as your scenario
>>> [1] 
>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>> 
>>>> So, i don't think WAS support JBI message... and that could explain my
>>>> error
>>>> (i no longer think it's a soap verion problem).
>>>>
>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>>> party
>>>> web service URL.
>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>
>>>> I only want to call my web service, but i want to call it using a
>>>> servicemix
>>>> URL.
>>>>
>>>> Thanks again for your help,
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>> Hi Florent,
>>>>>
>>>>> This problem has nothing to do with soap version.
>>>>>
>>>>> The problem is that your hard code soap request message is not
>>>>> correct.
>>>>>
>>>>> According to the schema in wsdl you append, it should be something
>>>>> like
>>>>>
>>>>> <env:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:en
>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:tns="http
>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>> <date>your date</date>
>>>>> <dble>your dble</dble>
>>>>> <integ>your integ</integ>
>>>>> <liste>your liste</liste>
>>>>> </tns:getPr
>>>>> otoDTO></env:Body></env:Envelope>
>>>>>
>>>>> You shouldn't use 
>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element
>>>>> tag
>>>>> defined in the schema.
>>>>> For some complex schema, write soap message yourself is not so easy,
>>>>> so we
>>>>> prefer to use some soap tool kit to generate soap message for you, may
>>>>> be
>>>>> you can  try to use apache cxf, basically generate code stub from the
>>>>> wsdl, and what you need do is just write client invoke code as normal
>>>>> java
>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>
>>>>> Would you please try it again?
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>> use
>>>>>> soap
>>>>>> 1.1.
>>>>>> But i don't know which soap version
>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>> is using...
>>>>>>
>>>>>> The third party webservice is hosted by Websphere Application Server
>>>>>> 6.1.
>>>>>>
>>>>>> I don't really know what cxf is doing to the message, is it possible
>>>>>> to
>>>>>> log/trace it?
>>>>>>
>>>>>> I enabled debug log and added interceptors in my xbean.xml, here is
>>>>>> the
>>>>>> output :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[ITEM-509
>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>>>>>> GMT],
>>>>>> SOAPAct
>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control
>>>>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>> processInboundSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 26 nov. 2007 09:59:48
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>>>>>> same
>>>>>> one,
>>>>>> except the service location) :
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 	<wsdl:types>
>>>>>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 			<import namespace="http://dto.proto.mycompany.com" />
>>>>>> 			<element name="getProtoDTOResponse">
>>>>>> 				<complexType>
>>>>>> 					<sequence>
>>>>>> 						<element name="getProtoDTOReturn"
>>>>>> 							nillable="true" type="tns2:ProtoDTO" />
>>>>>> 					</sequence>
>>>>>> 				</complexType>
>>>>>> 			</element>
>>>>>> 			<element name="getProtoDTO">
>>>>>> 				<complexType>
>>>>>> 					<sequence>
>>>>>> 						<element name="param" nillable="true"
>>>>>> 							type="xsd:string" />
>>>>>> 					</sequence>
>>>>>> 				</complexType>
>>>>>> 			</element>
>>>>>> 			<complexType name="ArrayOf_xsd_nillable_string">
>>>>>> 				<sequence>
>>>>>> 					<element maxOccurs="unbounded" minOccurs="0"
>>>>>> 						name="string" nillable="true" type="xsd:string" />
>>>>>> 				</sequence>
>>>>>> 			</complexType>
>>>>>> 		</schema>
>>>>>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 			<import namespace="http://ejb.proto.mycompany.com" />
>>>>>> 			<complexType name="ProtoDTO">
>>>>>> 				<sequence>
>>>>>> 					<element name="date" nillable="true"
>>>>>> 						type="xsd:dateTime" />
>>>>>> 					<element name="dble" nillable="true"
>>>>>> 						type="xsd:double" />
>>>>>> 					<element name="integ" type="xsd:int" />
>>>>>> 					<element name="liste" nillable="true"
>>>>>> 						type="impl:ArrayOf_xsd_nillable_string" />
>>>>>> 				</sequence>
>>>>>> 			</complexType>
>>>>>> 		</schema>
>>>>>> 	</wsdl:types>
>>>>>>
>>>>>> 	<wsdl:message name="getProtoDTORequest">
>>>>>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>>>>>
>>>>>> 	</wsdl:message>
>>>>>>
>>>>>> 	<wsdl:message name="getProtoDTOResponse">
>>>>>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>>>>>
>>>>>> 	</wsdl:message>
>>>>>>
>>>>>> 	<wsdl:portType name="ProtoBean">
>>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>>> 			<wsdl:input message="intf:getProtoDTORequest"
>>>>>> 				name="getProtoDTORequest" />
>>>>>>
>>>>>> 			<wsdl:output message="intf:getProtoDTOResponse"
>>>>>> 				name="getProtoDTOResponse" />
>>>>>>
>>>>>> 		</wsdl:operation>
>>>>>>
>>>>>> 	</wsdl:portType>
>>>>>>
>>>>>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>>
>>>>>> 		<wsdlsoap:binding style="document"
>>>>>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>>>>>
>>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>>
>>>>>> 			<wsdl:input name="getProtoDTORequest">
>>>>>> 				<wsdlsoap:body use="literal" />
>>>>>>
>>>>>> 			</wsdl:input>
>>>>>>
>>>>>> 			<wsdl:output name="getProtoDTOResponse">
>>>>>> 				<wsdlsoap:body use="literal" />
>>>>>>
>>>>>> 			</wsdl:output>
>>>>>>
>>>>>> 		</wsdl:operation>
>>>>>>
>>>>>> 	</wsdl:binding>
>>>>>>
>>>>>> 	<wsdl:service name="ProtoBeanService">
>>>>>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>> 			name="ProtoBean">
>>>>>> 			<wsdlsoap:address
>>>>>> 				location="http://localhost:8092/ProtoBeanService/" />
>>>>>>
>>>>>> 		</wsdl:port>
>>>>>>
>>>>>> 	</wsdl:service>
>>>>>>
>>>>>> </wsdl:definitions>
>>>>>>
>>>>>> Thanks in advance,
>>>>>> Florent.
>>>>>>
>>>>>>
>>>>>> Freeman Fang-2 wrote:
>>>>>>   
>>>>>>       
>>>>>>> Hi Florent,
>>>>>>> Do you mean 
>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>> If i use the following code to access to my web service, it works
>>>>>>>> fine
>>>>>>>> : 
>>>>>>>>
>>>>>>>> String endpoint =
>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>
>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>> 						"<env:Envelope
>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>> " +
>>>>>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>               			"<env:Body>" +
>>>>>>>>               			"<tns:getProtoDTO>" +
>>>>>>>>               		
>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>               			"</tns:getProtoDTO>" +
>>>>>>>> 						"</env:Body>" +
>>>>>>>> 						"</env:Envelope>";
>>>>>>>> 		
>>>>>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>>>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>> 		
>>>>>>>> 		SOAPConnection conn =
>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>         
>>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>>>>
>>>>>>>>
>>>>>>>> If i try to call the fellowing url :
>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>> i get an error : No SOAPAction header (Application server log)...
>>>>>>>> That's
>>>>>>>> why
>>>>>>>> i was wondering about the soap version.
>>>>>>>>
>>>>>>>> I get the following error in servicemix log : 
>>>>>>>>
>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>
>>>>>>>>
>>>>>>>> Any idea?
>>>>>>>>
>>>>>>>> Thank you in advance,
>>>>>>>> Florent.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>>> should 
>>>>>>>>> support both of it by default.
>>>>>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> Freeman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I'm trying to expose a third party webservice to the bus, using
>>>>>>>>>> cxf.
>>>>>>>>>>
>>>>>>>>>> I'd like to know if i can set the soap version. For example, when
>>>>>>>>>> i
>>>>>>>>>> was
>>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>>> didn't
>>>>>>>>>> find
>>>>>>>>>> one
>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>
>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>
>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>        
>>>>>>>>>>       <cxfbc:consumer 
>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>>>>>                         > 
>>>>>>>>>>       </cxfbc:consumer> 
>>>>>>>>>>   
>>>>>>>>>>       <cxfbc:provider 
>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>>                        
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>>>>>                         endpoint="ProtoBean" 
>>>>>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>>>>>                         > 
>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>
>>>>>>>>>> </beans> 
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>     
>>>>>>>         
>>>>>>   
>>>>>>       
>>>>>     
>>>>
>>>>   
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

There is a problem when i post the "param" tag : it does appear in the forum
post. I edited my previous message and put some spaces : 

<tns:getProtoDTO>
< param>myparam</ param>
</tns:getProtoDTO>

Sorry, i didn't notice it in my first post. I think the misunderstanding
came from that...

Best Regards,
Florent



Florent wrote:
> 
> Ok, i think i understand why you said my soap enveloppe in incorrect.
> 
> Here is the one i'm using (in my first post, i have to admit it wasn't
> correct) : 
> 
> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" 
> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
> xmlns:tns=\"http://ejb.proto.sopra.com\">
> <env:Body>
> <tns:getProtoDTO>
> < param>myparam</ param>
> </tns:getProtoDTO>
> </env:Body>
> </env:Envelope>
> 
> 
> 
> Florent wrote:
>> 
>> 
>> this : 
>> 
>> Standalone client <--> SOAP message <--> Servicemix cxf bc consumer<--->
>> JBI message  <--->Servicemix Cxf bc provider <---> soap message
>> <-->Websphere
>> Application Server
>> 
>> is exactly what i want to be done (and what i'm trying to do) :)
>> 
>> According to your reply, i should use the following soap message :
>> 
>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
>> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
>> xmlns:tns=\"http://ejb.proto.sopra.com\">
>> <env:Body>
>> <tns:getProtoDTO>
>> <date>2007-11-27T10:04:16.347Z</date>
>> <dble>0.0</dble>
>> <integ>1</integ>
>> <liste>
>> <string>s01</string><string>s02</string><string>s03</string>
>> </liste>
>> </tns:getProtoDTO>
>> </env:Body>
>> </env:Envelope>
>> 
>> But, according to my wsdl, this is the response soap message, not the
>> request one !
>> 
>> Operation : 
>> <wsdl:operation name="getProtoDTO">
>>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>>        <wsdl:input name="getProtoDTORequest">
>>          <wsdlsoap:body use="literal"/>
>>       </wsdl:input>
>>        <wsdl:output name="getProtoDTOResponse">
>>          <wsdlsoap:body use="literal"/>
>>       </wsdl:output>
>> </wsdl:operation>
>> 
>> PortType :
>> <wsdl:portType name="ProtoBean">
>>      <wsdl:operation name="getProtoDTO">
>>        <wsdl:input message="intf:getProtoDTORequest"
>> name="getProtoDTORequest"/>
>>        <wsdl:output message="intf:getProtoDTOResponse"
>> name="getProtoDTOResponse"/>
>>     </wsdl:operation>
>> </wsdl:portType>
>> 
>> 
>> Input / request :
>> <wsdl:message name="getProtoDTORequest">
>>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
>> </wsdl:message>
>> 
>> Element : 
>> <element name="getProtoDTO">
>>     <complexType>
>>      <sequence>
>>       <element name="param" nillable="true" type="xsd:string"/>
>>      </sequence>
>>     </complexType>
>> </element>
>> 
>> Output / response :
>> <wsdl:message name="getProtoDTOResponse">
>>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
>> </wsdl:message>
>> 
>> Element :
>> <element name="getProtoDTOResponse">
>>     <complexType>
>>      <sequence>
>>       <element name="getProtoDTOReturn" nillable="true"
>> type="tns2:ProtoDTO"/>
>>      </sequence>
>>     </complexType>
>> </element>
>> 
>> So, the output is the ProtoDTO complex type, and the input is a string.
>> 
>> Did i misunderstand something? May be i'm confusing provider/consumer
>> role?
>> 
>> 
>> 
>> 
>> Freeman Fang wrote:
>>> 
>>> Comments in line
>>> 
>>> Florent wrote:
>>>> Morning Freeman,
>>>>
>>>> I tried to modify my SOAP message, but it didn't work : i still get the
>>>> same
>>>> error. 
>>>>   
>>> What's your new soap message now?
>>>> I also tried to call the web service with this enveloppe and a
>>>> standalone
>>>> client : i got a "wrong parameter error".
>>>>
>>>> I think my SOAP message is correct : i tried to generate it from the
>>>> RAD 7
>>>> web service test and it was the same one. Plus, my business method has
>>>> one
>>>> parameter (a string) and a complex type as return type.
>>>>   
>>> According to the schema from your wsdl, your soap messge  
>>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO> 
>>> element, there should be element <date> or <dble> or <integ> or <liste>
>>> 
>>> Btw, different soap tool kit may generate soap message with little 
>>> different, which may cause interoperability problem
>>> 
>>>> As i'm totally new to servicemix, so there is probably something i
>>>> don't
>>>> understand.
>>>>
>>>> What i want to do :
>>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>>>> Application Server
>>>>
>>>> Considering the debug log, what i think it's going on :
>>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>>> Application Server
>>>>   
>>> no, what's going on is
>>> 
>>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message 
>>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>>> Application Server
>>> 
>>> So what's reach your websphere application server is soap message, not 
>>> jbi message.
>>> May be you need refer to [1]  which is similiar as your scenario
>>> [1] 
>>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>> 
>>>> So, i don't think WAS support JBI message... and that could explain my
>>>> error
>>>> (i no longer think it's a soap verion problem).
>>>>
>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>>> party
>>>> web service URL.
>>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>>
>>>> I only want to call my web service, but i want to call it using a
>>>> servicemix
>>>> URL.
>>>>
>>>> Thanks again for your help,
>>>> Best Regards,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>> Hi Florent,
>>>>>
>>>>> This problem has nothing to do with soap version.
>>>>>
>>>>> The problem is that your hard code soap request message is not
>>>>> correct.
>>>>>
>>>>> According to the schema in wsdl you append, it should be something
>>>>> like
>>>>>
>>>>> <env:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:en
>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:tns="http
>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>>> <date>your date</date>
>>>>> <dble>your dble</dble>
>>>>> <integ>your integ</integ>
>>>>> <liste>your liste</liste>
>>>>> </tns:getPr
>>>>> otoDTO></env:Body></env:Envelope>
>>>>>
>>>>> You shouldn't use 
>>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element
>>>>> tag
>>>>> defined in the schema.
>>>>> For some complex schema, write soap message yourself is not so easy,
>>>>> so we
>>>>> prefer to use some soap tool kit to generate soap message for you, may
>>>>> be
>>>>> you can  try to use apache cxf, basically generate code stub from the
>>>>> wsdl, and what you need do is just write client invoke code as normal
>>>>> java
>>>>> operation invoke and  cxf will genearate soap message for you.
>>>>>
>>>>> Would you please try it again?
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>> Hi Freeman,
>>>>>>
>>>>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>>> use
>>>>>> soap
>>>>>> 1.1.
>>>>>> But i don't know which soap version
>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>> is using...
>>>>>>
>>>>>> The third party webservice is hosted by Websphere Application Server
>>>>>> 6.1.
>>>>>>
>>>>>> I don't really know what cxf is doing to the message, is it possible
>>>>>> to
>>>>>> log/trace it?
>>>>>>
>>>>>> I enabled debug log and added interceptors in my xbean.xml, here is
>>>>>> the
>>>>>> output :
>>>>>>
>>>>>> INFO: Inbound Message
>>>>>> --------------------------------------
>>>>>> Encoding: utf-8
>>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>>> Host=[ITEM-509
>>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>>>>>> GMT],
>>>>>> SOAPAct
>>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>>> Cache-Control
>>>>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>>> Message:
>>>>>> <env:Envelope
>>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:en
>>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:tns="http
>>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>>> otoDTO></env:Body></env:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Active
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Active,
>>>>>> role: provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1in
>>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Active
>>>>>>   role: consumer
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>>> processInboundSynchronousExchange
>>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>>> 26 nov. 2007 09:59:48
>>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>>> onClose
>>>>>> INFO: Outbound Message
>>>>>> --------------------------------------
>>>>>> <soap:Envelope
>>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>>  /></soap:Envelope>
>>>>>> --------------------------------------
>>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>>> DEBUG - SedaQueue                      -
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>>>>>> exchange: InOut[
>>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>>   status: Done
>>>>>>   role: provider
>>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>>   endpoint: ProtoBean
>>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>>> xmlns:jbi="http://java.
>>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>>> version="1.0"><jbi:part><tns:
>>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>>> otoDTO></jbi:part></jbi:message>
>>>>>>   out: null
>>>>>> ]
>>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>>> Done,
>>>>>> role:provider
>>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Here is my wsdl used by servicemix (the one used by the AS is the
>>>>>> same
>>>>>> one,
>>>>>> except the service location) :
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 	<wsdl:types>
>>>>>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 			<import namespace="http://dto.proto.mycompany.com" />
>>>>>> 			<element name="getProtoDTOResponse">
>>>>>> 				<complexType>
>>>>>> 					<sequence>
>>>>>> 						<element name="getProtoDTOReturn"
>>>>>> 							nillable="true" type="tns2:ProtoDTO" />
>>>>>> 					</sequence>
>>>>>> 				</complexType>
>>>>>> 			</element>
>>>>>> 			<element name="getProtoDTO">
>>>>>> 				<complexType>
>>>>>> 					<sequence>
>>>>>> 						<element name="param" nillable="true"
>>>>>> 							type="xsd:string" />
>>>>>> 					</sequence>
>>>>>> 				</complexType>
>>>>>> 			</element>
>>>>>> 			<complexType name="ArrayOf_xsd_nillable_string">
>>>>>> 				<sequence>
>>>>>> 					<element maxOccurs="unbounded" minOccurs="0"
>>>>>> 						name="string" nillable="true" type="xsd:string" />
>>>>>> 				</sequence>
>>>>>> 			</complexType>
>>>>>> 		</schema>
>>>>>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>>> 			<import namespace="http://ejb.proto.mycompany.com" />
>>>>>> 			<complexType name="ProtoDTO">
>>>>>> 				<sequence>
>>>>>> 					<element name="date" nillable="true"
>>>>>> 						type="xsd:dateTime" />
>>>>>> 					<element name="dble" nillable="true"
>>>>>> 						type="xsd:double" />
>>>>>> 					<element name="integ" type="xsd:int" />
>>>>>> 					<element name="liste" nillable="true"
>>>>>> 						type="impl:ArrayOf_xsd_nillable_string" />
>>>>>> 				</sequence>
>>>>>> 			</complexType>
>>>>>> 		</schema>
>>>>>> 	</wsdl:types>
>>>>>>
>>>>>> 	<wsdl:message name="getProtoDTORequest">
>>>>>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>>>>>
>>>>>> 	</wsdl:message>
>>>>>>
>>>>>> 	<wsdl:message name="getProtoDTOResponse">
>>>>>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>>>>>
>>>>>> 	</wsdl:message>
>>>>>>
>>>>>> 	<wsdl:portType name="ProtoBean">
>>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>>> 			<wsdl:input message="intf:getProtoDTORequest"
>>>>>> 				name="getProtoDTORequest" />
>>>>>>
>>>>>> 			<wsdl:output message="intf:getProtoDTOResponse"
>>>>>> 				name="getProtoDTOResponse" />
>>>>>>
>>>>>> 		</wsdl:operation>
>>>>>>
>>>>>> 	</wsdl:portType>
>>>>>>
>>>>>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>>
>>>>>> 		<wsdlsoap:binding style="document"
>>>>>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>>>>>
>>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>>
>>>>>> 			<wsdl:input name="getProtoDTORequest">
>>>>>> 				<wsdlsoap:body use="literal" />
>>>>>>
>>>>>> 			</wsdl:input>
>>>>>>
>>>>>> 			<wsdl:output name="getProtoDTOResponse">
>>>>>> 				<wsdlsoap:body use="literal" />
>>>>>>
>>>>>> 			</wsdl:output>
>>>>>>
>>>>>> 		</wsdl:operation>
>>>>>>
>>>>>> 	</wsdl:binding>
>>>>>>
>>>>>> 	<wsdl:service name="ProtoBeanService">
>>>>>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>>> 			name="ProtoBean">
>>>>>> 			<wsdlsoap:address
>>>>>> 				location="http://localhost:8092/ProtoBeanService/" />
>>>>>>
>>>>>> 		</wsdl:port>
>>>>>>
>>>>>> 	</wsdl:service>
>>>>>>
>>>>>> </wsdl:definitions>
>>>>>>
>>>>>> Thanks in advance,
>>>>>> Florent.
>>>>>>
>>>>>>
>>>>>> Freeman Fang-2 wrote:
>>>>>>   
>>>>>>       
>>>>>>> Hi Florent,
>>>>>>> Do you mean 
>>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>>>>>> Which soap toolkit are the third party webservice using?
>>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>> If i use the following code to access to my web service, it works
>>>>>>>> fine
>>>>>>>> : 
>>>>>>>>
>>>>>>>> String endpoint =
>>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>>
>>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>>> 						"<env:Envelope
>>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>>> " +
>>>>>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>>               			"<env:Body>" +
>>>>>>>>               			"<tns:getProtoDTO>" +
>>>>>>>>               		
>>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>>               			"</tns:getProtoDTO>" +
>>>>>>>> 						"</env:Body>" +
>>>>>>>> 						"</env:Envelope>";
>>>>>>>> 		
>>>>>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>>>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>>> 		
>>>>>>>> 		SOAPConnection conn =
>>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>>         
>>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>>>>
>>>>>>>>
>>>>>>>> If i try to call the fellowing url :
>>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>>> i get an error : No SOAPAction header (Application server log)...
>>>>>>>> That's
>>>>>>>> why
>>>>>>>> i was wondering about the soap version.
>>>>>>>>
>>>>>>>> I get the following error in servicemix log : 
>>>>>>>>
>>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>>         at
>>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>>         at
>>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>>         at
>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>>
>>>>>>>>
>>>>>>>> Any idea?
>>>>>>>>
>>>>>>>> Thank you in advance,
>>>>>>>> Florent.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Freeman Fang wrote:
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>>> should 
>>>>>>>>> support both of it by default.
>>>>>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> Freeman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Florent wrote:
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I'm trying to expose a third party webservice to the bus, using
>>>>>>>>>> cxf.
>>>>>>>>>>
>>>>>>>>>> I'd like to know if i can set the soap version. For example, when
>>>>>>>>>> i
>>>>>>>>>> was
>>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>>> didn't
>>>>>>>>>> find
>>>>>>>>>> one
>>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>>
>>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>>
>>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>>        
>>>>>>>>>>       <cxfbc:consumer 
>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>>>>>                         > 
>>>>>>>>>>       </cxfbc:consumer> 
>>>>>>>>>>   
>>>>>>>>>>       <cxfbc:provider 
>>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>>                        
>>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>>>>>                         endpoint="ProtoBean" 
>>>>>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>>>>>                         > 
>>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>>
>>>>>>>>>> </beans> 
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>   
>>>>>>>>>>       
>>>>>>>>>>           
>>>>>>>>>>               
>>>>>>>>>     
>>>>>>>>>         
>>>>>>>>>             
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>     
>>>>>>>         
>>>>>>   
>>>>>>       
>>>>>     
>>>>
>>>>   
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13969473
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Ok, i think i understand why you said my soap enveloppe in incorrect.

Here is the one i'm using (in my first post, i have to admit it wasn't
correct) : 

<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
xmlns:tns=\"http://ejb.proto.sopra.com\">
<env:Body>
<tns:getProtoDTO>
myparam
</liste>
</tns:getProtoDTO>
</env:Body>
</env:Envelope>



Florent wrote:
> 
> 
> this : 
> 
> Standalone client <--> SOAP message <--> Servicemix cxf bc consumer<--->
> JBI message  <--->Servicemix Cxf bc provider <---> soap message
> <-->Websphere
> Application Server
> 
> is exactly what i want to be done (and what i'm trying to do) :)
> 
> According to your reply, i should use the following soap message :
> 
> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
> xmlns:tns=\"http://ejb.proto.sopra.com\">
> <env:Body>
> <tns:getProtoDTO>
> <date>2007-11-27T10:04:16.347Z</date>
> <dble>0.0</dble>
> <integ>1</integ>
> <liste>
> <string>s01</string><string>s02</string><string>s03</string>
> </liste>
> </tns:getProtoDTO>
> </env:Body>
> </env:Envelope>
> 
> But, according to my wsdl, this is the response soap message, not the
> request one !
> 
> Operation : 
> <wsdl:operation name="getProtoDTO">
>        <wsdlsoap:operation soapAction="getProtoDTO"/>
>        <wsdl:input name="getProtoDTORequest">
>          <wsdlsoap:body use="literal"/>
>       </wsdl:input>
>        <wsdl:output name="getProtoDTOResponse">
>          <wsdlsoap:body use="literal"/>
>       </wsdl:output>
> </wsdl:operation>
> 
> PortType :
> <wsdl:portType name="ProtoBean">
>      <wsdl:operation name="getProtoDTO">
>        <wsdl:input message="intf:getProtoDTORequest"
> name="getProtoDTORequest"/>
>        <wsdl:output message="intf:getProtoDTOResponse"
> name="getProtoDTOResponse"/>
>     </wsdl:operation>
> </wsdl:portType>
> 
> 
> Input / request :
> <wsdl:message name="getProtoDTORequest">
>      <wsdl:part element="intf:getProtoDTO" name="parameters"/>
> </wsdl:message>
> 
> Element : 
> <element name="getProtoDTO">
>     <complexType>
>      <sequence>
>       <element name="param" nillable="true" type="xsd:string"/>
>      </sequence>
>     </complexType>
> </element>
> 
> Output / response :
> <wsdl:message name="getProtoDTOResponse">
>      <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
> </wsdl:message>
> 
> Element :
> <element name="getProtoDTOResponse">
>     <complexType>
>      <sequence>
>       <element name="getProtoDTOReturn" nillable="true"
> type="tns2:ProtoDTO"/>
>      </sequence>
>     </complexType>
> </element>
> 
> So, the output is the ProtoDTO complex type, and the input is a string.
> 
> Did i misunderstand something? May be i'm confusing provider/consumer
> role?
> 
> 
> 
> 
> Freeman Fang wrote:
>> 
>> Comments in line
>> 
>> Florent wrote:
>>> Morning Freeman,
>>>
>>> I tried to modify my SOAP message, but it didn't work : i still get the
>>> same
>>> error. 
>>>   
>> What's your new soap message now?
>>> I also tried to call the web service with this enveloppe and a
>>> standalone
>>> client : i got a "wrong parameter error".
>>>
>>> I think my SOAP message is correct : i tried to generate it from the RAD
>>> 7
>>> web service test and it was the same one. Plus, my business method has
>>> one
>>> parameter (a string) and a complex type as return type.
>>>   
>> According to the schema from your wsdl, your soap messge  
>> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO> 
>> element, there should be element <date> or <dble> or <integ> or <liste>
>> 
>> Btw, different soap tool kit may generate soap message with little 
>> different, which may cause interoperability problem
>> 
>>> As i'm totally new to servicemix, so there is probably something i don't
>>> understand.
>>>
>>> What i want to do :
>>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>>> Application Server
>>>
>>> Considering the debug log, what i think it's going on :
>>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>>> Application Server
>>>   
>> no, what's going on is
>> 
>> SOAP message <--> Servicemix cxf bc consumer<---> JBI message 
>> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
>> Application Server
>> 
>> So what's reach your websphere application server is soap message, not 
>> jbi message.
>> May be you need refer to [1]  which is similiar as your scenario
>> [1] 
>> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>> 
>>> So, i don't think WAS support JBI message... and that could explain my
>>> error
>>> (i no longer think it's a soap verion problem).
>>>
>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid
>>> party
>>> web service URL.
>>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>>
>>> I only want to call my web service, but i want to call it using a
>>> servicemix
>>> URL.
>>>
>>> Thanks again for your help,
>>> Best Regards,
>>> Florent.
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>> Hi Florent,
>>>>
>>>> This problem has nothing to do with soap version.
>>>>
>>>> The problem is that your hard code soap request message is not correct.
>>>>
>>>> According to the schema in wsdl you append, it should be something like
>>>>
>>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:en
>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:xsd="http://www.w3.org/2001/
>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:tns="http
>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>>> <date>your date</date>
>>>> <dble>your dble</dble>
>>>> <integ>your integ</integ>
>>>> <liste>your liste</liste>
>>>> </tns:getPr
>>>> otoDTO></env:Body></env:Envelope>
>>>>
>>>> You shouldn't use 
>>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element
>>>> tag
>>>> defined in the schema.
>>>> For some complex schema, write soap message yourself is not so easy, so
>>>> we
>>>> prefer to use some soap tool kit to generate soap message for you, may
>>>> be
>>>> you can  try to use apache cxf, basically generate code stub from the
>>>> wsdl, and what you need do is just write client invoke code as normal
>>>> java
>>>> operation invoke and  cxf will genearate soap message for you.
>>>>
>>>> Would you please try it again?
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>>
>>>>
>>>>
>>>> Florent wrote:
>>>>     
>>>>> Hi Freeman,
>>>>>
>>>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean
>>>>> use
>>>>> soap
>>>>> 1.1.
>>>>> But i don't know which soap version
>>>>> http://localhost:8092/ProtoBeanService/
>>>>> is using...
>>>>>
>>>>> The third party webservice is hosted by Websphere Application Server
>>>>> 6.1.
>>>>>
>>>>> I don't really know what cxf is doing to the message, is it possible
>>>>> to
>>>>> log/trace it?
>>>>>
>>>>> I enabled debug log and added interceptors in my xbean.xml, here is
>>>>> the
>>>>> output :
>>>>>
>>>>> INFO: Inbound Message
>>>>> --------------------------------------
>>>>> Encoding: utf-8
>>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>>> Host=[ITEM-509
>>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>>>>> GMT],
>>>>> SOAPAct
>>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>>> Cache-Control
>>>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>>> Message:
>>>>> <env:Envelope
>>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:en
>>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>>> xmlns:xsd="http://www.w3.org/2001/
>>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:tns="http
>>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>>> otoDTO></env:Body></env:Envelope>
>>>>> --------------------------------------
>>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>>> ID:172.16.180.193-1167b1f58b2-4:1 in
>>>>> DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>   status: Active
>>>>>   role: provider
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>> ]
>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>> Active,
>>>>> role: provider
>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>> ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>   status: Active
>>>>>   role: consumer
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>>   out: null
>>>>> ]
>>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>>> processInboundSynchronousExchange
>>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>>> 26 nov. 2007 09:59:48
>>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>>> onClose
>>>>> INFO: Outbound Message
>>>>> --------------------------------------
>>>>> <soap:Envelope
>>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>>  /></soap:Envelope>
>>>>> --------------------------------------
>>>>> DEBUG - DeliveryChannelImpl            - Send
>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>>> DEBUG - SedaFlow                       - Called Flow send
>>>>> DEBUG - SedaQueue                      -
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>>>>> exchange: InOut[
>>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>>   status: Done
>>>>>   role: provider
>>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>>   endpoint: ProtoBean
>>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>>> xmlns:jbi="http://java.
>>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>>> version="1.0"><jbi:part><tns:
>>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>>> otoDTO></jbi:part></jbi:message>
>>>>>   out: null
>>>>> ]
>>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>>> Done,
>>>>> role:provider
>>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>         at
>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>
>>>>>
>>>>>
>>>>> Here is my wsdl used by servicemix (the one used by the AS is the same
>>>>> one,
>>>>> except the service location) :
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>>>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>>>>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>>>>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>>>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>> 	<wsdl:types>
>>>>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>> 			<import namespace="http://dto.proto.mycompany.com" />
>>>>> 			<element name="getProtoDTOResponse">
>>>>> 				<complexType>
>>>>> 					<sequence>
>>>>> 						<element name="getProtoDTOReturn"
>>>>> 							nillable="true" type="tns2:ProtoDTO" />
>>>>> 					</sequence>
>>>>> 				</complexType>
>>>>> 			</element>
>>>>> 			<element name="getProtoDTO">
>>>>> 				<complexType>
>>>>> 					<sequence>
>>>>> 						<element name="param" nillable="true"
>>>>> 							type="xsd:string" />
>>>>> 					</sequence>
>>>>> 				</complexType>
>>>>> 			</element>
>>>>> 			<complexType name="ArrayOf_xsd_nillable_string">
>>>>> 				<sequence>
>>>>> 					<element maxOccurs="unbounded" minOccurs="0"
>>>>> 						name="string" nillable="true" type="xsd:string" />
>>>>> 				</sequence>
>>>>> 			</complexType>
>>>>> 		</schema>
>>>>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>>> 			<import namespace="http://ejb.proto.mycompany.com" />
>>>>> 			<complexType name="ProtoDTO">
>>>>> 				<sequence>
>>>>> 					<element name="date" nillable="true"
>>>>> 						type="xsd:dateTime" />
>>>>> 					<element name="dble" nillable="true"
>>>>> 						type="xsd:double" />
>>>>> 					<element name="integ" type="xsd:int" />
>>>>> 					<element name="liste" nillable="true"
>>>>> 						type="impl:ArrayOf_xsd_nillable_string" />
>>>>> 				</sequence>
>>>>> 			</complexType>
>>>>> 		</schema>
>>>>> 	</wsdl:types>
>>>>>
>>>>> 	<wsdl:message name="getProtoDTORequest">
>>>>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>>>>
>>>>> 	</wsdl:message>
>>>>>
>>>>> 	<wsdl:message name="getProtoDTOResponse">
>>>>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>>>>
>>>>> 	</wsdl:message>
>>>>>
>>>>> 	<wsdl:portType name="ProtoBean">
>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>> 			<wsdl:input message="intf:getProtoDTORequest"
>>>>> 				name="getProtoDTORequest" />
>>>>>
>>>>> 			<wsdl:output message="intf:getProtoDTOResponse"
>>>>> 				name="getProtoDTOResponse" />
>>>>>
>>>>> 		</wsdl:operation>
>>>>>
>>>>> 	</wsdl:portType>
>>>>>
>>>>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>>
>>>>> 		<wsdlsoap:binding style="document"
>>>>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>>>>
>>>>> 		<wsdl:operation name="getProtoDTO">
>>>>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>>>>
>>>>> 			<wsdl:input name="getProtoDTORequest">
>>>>> 				<wsdlsoap:body use="literal" />
>>>>>
>>>>> 			</wsdl:input>
>>>>>
>>>>> 			<wsdl:output name="getProtoDTOResponse">
>>>>> 				<wsdlsoap:body use="literal" />
>>>>>
>>>>> 			</wsdl:output>
>>>>>
>>>>> 		</wsdl:operation>
>>>>>
>>>>> 	</wsdl:binding>
>>>>>
>>>>> 	<wsdl:service name="ProtoBeanService">
>>>>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>>> 			name="ProtoBean">
>>>>> 			<wsdlsoap:address
>>>>> 				location="http://localhost:8092/ProtoBeanService/" />
>>>>>
>>>>> 		</wsdl:port>
>>>>>
>>>>> 	</wsdl:service>
>>>>>
>>>>> </wsdl:definitions>
>>>>>
>>>>> Thanks in advance,
>>>>> Florent.
>>>>>
>>>>>
>>>>> Freeman Fang-2 wrote:
>>>>>   
>>>>>       
>>>>>> Hi Florent,
>>>>>> Do you mean 
>>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>>>>> Which soap toolkit are the third party webservice using?
>>>>>> Would you please append the wsdl used for two webservices?
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>>
>>>>>> Florent wrote:
>>>>>>     
>>>>>>         
>>>>>>> If i use the following code to access to my web service, it works
>>>>>>> fine
>>>>>>> : 
>>>>>>>
>>>>>>> String endpoint =
>>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>>
>>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>>> 						"<env:Envelope
>>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>>> " +
>>>>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>>               			"<env:Body>" +
>>>>>>>               			"<tns:getProtoDTO>" +
>>>>>>>               		
>>>>>>> "<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>>>               			"</tns:getProtoDTO>" +
>>>>>>> 						"</env:Body>" +
>>>>>>> 						"</env:Envelope>";
>>>>>>> 		
>>>>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>>> 		
>>>>>>> 		SOAPConnection conn =
>>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>>         
>>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>>>
>>>>>>>
>>>>>>> If i try to call the fellowing url :
>>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>>> i get an error : No SOAPAction header (Application server log)...
>>>>>>> That's
>>>>>>> why
>>>>>>> i was wondering about the soap version.
>>>>>>>
>>>>>>> I get the following error in servicemix log : 
>>>>>>>
>>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>>         at
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>>         at
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>>         at
>>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>>         at
>>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>         at
>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>         at
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>         at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>         at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>>
>>>>>>>
>>>>>>> Any idea?
>>>>>>>
>>>>>>> Thank you in advance,
>>>>>>> Florent.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>>> should 
>>>>>>>> support both of it by default.
>>>>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>>
>>>>>>>> Best Regards
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>>
>>>>>>>> Florent wrote:
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I'm trying to expose a third party webservice to the bus, using
>>>>>>>>> cxf.
>>>>>>>>>
>>>>>>>>> I'd like to know if i can set the soap version. For example, when
>>>>>>>>> i
>>>>>>>>> was
>>>>>>>>> using service-http, there was a SoapVersion attribute, but i
>>>>>>>>> didn't
>>>>>>>>> find
>>>>>>>>> one
>>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>>
>>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>>
>>>>>>>>> Here is my xbean.xml :
>>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>>        
>>>>>>>>>       <cxfbc:consumer 
>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>>>>                         > 
>>>>>>>>>       </cxfbc:consumer> 
>>>>>>>>>   
>>>>>>>>>       <cxfbc:provider 
>>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>>                        
>>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>>>>                         endpoint="ProtoBean" 
>>>>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>>>>                         > 
>>>>>>>>>       </cxfbc:provider>
>>>>>>>>>
>>>>>>>>> </beans> 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>     
>>>>>>         
>>>>>   
>>>>>       
>>>>     
>>>
>>>   
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13968801
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

this : 

Standalone client <--> SOAP message <--> Servicemix cxf bc consumer<---> JBI
message  <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
Application Server

is exactly what i want to be done (and what i'm trying to do) :)

According to your reply, i should use the following soap message :

<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
xmlns:tns=\"http://ejb.proto.sopra.com\">
<env:Body>
<tns:getProtoDTO>
<date>2007-11-27T10:04:16.347Z</date>
<dble>0.0</dble>
<integ>1</integ>
<liste>
<string>s01</string><string>s02</string><string>s03</string>
</liste>
</tns:getProtoDTO>
</env:Body>
</env:Envelope>

But, according to my wsdl, this is the response soap message, not the
request one !

Operation : 
<wsdl:operation name="getProtoDTO">
       <wsdlsoap:operation soapAction="getProtoDTO"/>
       <wsdl:input name="getProtoDTORequest">
         <wsdlsoap:body use="literal"/>
      </wsdl:input>
       <wsdl:output name="getProtoDTOResponse">
         <wsdlsoap:body use="literal"/>
      </wsdl:output>
</wsdl:operation>

PortType :
<wsdl:portType name="ProtoBean">
     <wsdl:operation name="getProtoDTO">
       <wsdl:input message="intf:getProtoDTORequest"
name="getProtoDTORequest"/>
       <wsdl:output message="intf:getProtoDTOResponse"
name="getProtoDTOResponse"/>
    </wsdl:operation>
</wsdl:portType>


Input / request :
<wsdl:message name="getProtoDTORequest">
     <wsdl:part element="intf:getProtoDTO" name="parameters"/>
</wsdl:message>

Element : 
<element name="getProtoDTO">
    <complexType>
     <sequence>
      <element name="param" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
</element>

Output / response :
<wsdl:message name="getProtoDTOResponse">
     <wsdl:part element="intf:getProtoDTOResponse" name="parameters"/>
</wsdl:message>

Element :
<element name="getProtoDTOResponse">
    <complexType>
     <sequence>
      <element name="getProtoDTOReturn" nillable="true"
type="tns2:ProtoDTO"/>
     </sequence>
    </complexType>
</element>

So, the output is the ProtoDTO complex type, and the input is a string.

Did i misunderstand something? May be i'm confusing provider/consumer role?




Freeman Fang wrote:
> 
> Comments in line
> 
> Florent wrote:
>> Morning Freeman,
>>
>> I tried to modify my SOAP message, but it didn't work : i still get the
>> same
>> error. 
>>   
> What's your new soap message now?
>> I also tried to call the web service with this enveloppe and a standalone
>> client : i got a "wrong parameter error".
>>
>> I think my SOAP message is correct : i tried to generate it from the RAD
>> 7
>> web service test and it was the same one. Plus, my business method has
>> one
>> parameter (a string) and a complex type as return type.
>>   
> According to the schema from your wsdl, your soap messge  
> <getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO> 
> element, there should be element <date> or <dble> or <integ> or <liste>
> 
> Btw, different soap tool kit may generate soap message with little 
> different, which may cause interoperability problem
> 
>> As i'm totally new to servicemix, so there is probably something i don't
>> understand.
>>
>> What i want to do :
>> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
>> Application Server
>>
>> Considering the debug log, what i think it's going on :
>> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
>> Application Server
>>   
> no, what's going on is
> 
> SOAP message <--> Servicemix cxf bc consumer<---> JBI message 
> <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
> Application Server
> 
> So what's reach your websphere application server is soap message, not 
> jbi message.
> May be you need refer to [1]  which is similiar as your scenario
> [1] 
> http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
> 
>> So, i don't think WAS support JBI message... and that could explain my
>> error
>> (i no longer think it's a soap verion problem).
>>
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid party
>> web service URL.
>> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>>
>> I only want to call my web service, but i want to call it using a
>> servicemix
>> URL.
>>
>> Thanks again for your help,
>> Best Regards,
>> Florent.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi Florent,
>>>
>>> This problem has nothing to do with soap version.
>>>
>>> The problem is that your hard code soap request message is not correct.
>>>
>>> According to the schema in wsdl you append, it should be something like
>>>
>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:en
>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:xsd="http://www.w3.org/2001/
>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:tns="http
>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>>> <date>your date</date>
>>> <dble>your dble</dble>
>>> <integ>your integ</integ>
>>> <liste>your liste</liste>
>>> </tns:getPr
>>> otoDTO></env:Body></env:Envelope>
>>>
>>> You shouldn't use 
>>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element
>>> tag
>>> defined in the schema.
>>> For some complex schema, write soap message yourself is not so easy, so
>>> we
>>> prefer to use some soap tool kit to generate soap message for you, may
>>> be
>>> you can  try to use apache cxf, basically generate code stub from the
>>> wsdl, and what you need do is just write client invoke code as normal
>>> java
>>> operation invoke and  cxf will genearate soap message for you.
>>>
>>> Would you please try it again?
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>>
>>>
>>>
>>> Florent wrote:
>>>     
>>>> Hi Freeman,
>>>>
>>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use
>>>> soap
>>>> 1.1.
>>>> But i don't know which soap version
>>>> http://localhost:8092/ProtoBeanService/
>>>> is using...
>>>>
>>>> The third party webservice is hosted by Websphere Application Server
>>>> 6.1.
>>>>
>>>> I don't really know what cxf is doing to the message, is it possible to
>>>> log/trace it?
>>>>
>>>> I enabled debug log and added interceptors in my xbean.xml, here is the
>>>> output :
>>>>
>>>> INFO: Inbound Message
>>>> --------------------------------------
>>>> Encoding: utf-8
>>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>>> Host=[ITEM-509
>>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47
>>>> GMT],
>>>> SOAPAct
>>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>>> Cache-Control
>>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>>> Message:
>>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:en
>>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>>> xmlns:xsd="http://www.w3.org/2001/
>>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:tns="http
>>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>>> otoDTO></env:Body></env:Envelope>
>>>> --------------------------------------
>>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>> DEBUG - DeliveryChannelImpl            - SendSync
>>>> ID:172.16.180.193-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>   status: Active
>>>>   role: provider
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>> ]
>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>> Active,
>>>> role: provider
>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>> DEBUG - DeliveryChannelImpl            - Send
>>>> ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>   status: Active
>>>>   role: consumer
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>>   out: null
>>>> ]
>>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>> DeliveryChannel{servicemix-cxf-bc} from
>>>> processInboundSynchronousExchange
>>>> DEBUG - DeliveryChannelImpl            - Notified:
>>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>>> 26 nov. 2007 09:59:48
>>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
>>>> onClose
>>>> INFO: Outbound Message
>>>> --------------------------------------
>>>> <soap:Envelope
>>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>>  /></soap:Envelope>
>>>> --------------------------------------
>>>> DEBUG - DeliveryChannelImpl            - Send
>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>> in DeliveryChannel{servicemix-cxf-bc}
>>>> DEBUG - SedaFlow                       - Called Flow send
>>>> DEBUG - SedaQueue                      -
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>>>> exchange: InOut[
>>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>>   status: Done
>>>>   role: provider
>>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>>   endpoint: ProtoBean
>>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>>> xmlns:jbi="http://java.
>>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>>> version="1.0"><jbi:part><tns:
>>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>>> otoDTO></jbi:part></jbi:message>
>>>>   out: null
>>>> ]
>>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>>> Done,
>>>> role:provider
>>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>>> ID:172.16.180.193-1167b1f58b2-4:1
>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>         at
>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>>
>>>> Here is my wsdl used by servicemix (the one used by the AS is the same
>>>> one,
>>>> except the service location) :
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>>>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>>>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>> 	<wsdl:types>
>>>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>> 			<import namespace="http://dto.proto.mycompany.com" />
>>>> 			<element name="getProtoDTOResponse">
>>>> 				<complexType>
>>>> 					<sequence>
>>>> 						<element name="getProtoDTOReturn"
>>>> 							nillable="true" type="tns2:ProtoDTO" />
>>>> 					</sequence>
>>>> 				</complexType>
>>>> 			</element>
>>>> 			<element name="getProtoDTO">
>>>> 				<complexType>
>>>> 					<sequence>
>>>> 						<element name="param" nillable="true"
>>>> 							type="xsd:string" />
>>>> 					</sequence>
>>>> 				</complexType>
>>>> 			</element>
>>>> 			<complexType name="ArrayOf_xsd_nillable_string">
>>>> 				<sequence>
>>>> 					<element maxOccurs="unbounded" minOccurs="0"
>>>> 						name="string" nillable="true" type="xsd:string" />
>>>> 				</sequence>
>>>> 			</complexType>
>>>> 		</schema>
>>>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>>> 			<import namespace="http://ejb.proto.mycompany.com" />
>>>> 			<complexType name="ProtoDTO">
>>>> 				<sequence>
>>>> 					<element name="date" nillable="true"
>>>> 						type="xsd:dateTime" />
>>>> 					<element name="dble" nillable="true"
>>>> 						type="xsd:double" />
>>>> 					<element name="integ" type="xsd:int" />
>>>> 					<element name="liste" nillable="true"
>>>> 						type="impl:ArrayOf_xsd_nillable_string" />
>>>> 				</sequence>
>>>> 			</complexType>
>>>> 		</schema>
>>>> 	</wsdl:types>
>>>>
>>>> 	<wsdl:message name="getProtoDTORequest">
>>>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>>>
>>>> 	</wsdl:message>
>>>>
>>>> 	<wsdl:message name="getProtoDTOResponse">
>>>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>>>
>>>> 	</wsdl:message>
>>>>
>>>> 	<wsdl:portType name="ProtoBean">
>>>> 		<wsdl:operation name="getProtoDTO">
>>>> 			<wsdl:input message="intf:getProtoDTORequest"
>>>> 				name="getProtoDTORequest" />
>>>>
>>>> 			<wsdl:output message="intf:getProtoDTOResponse"
>>>> 				name="getProtoDTOResponse" />
>>>>
>>>> 		</wsdl:operation>
>>>>
>>>> 	</wsdl:portType>
>>>>
>>>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>>
>>>> 		<wsdlsoap:binding style="document"
>>>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>>>
>>>> 		<wsdl:operation name="getProtoDTO">
>>>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>>>
>>>> 			<wsdl:input name="getProtoDTORequest">
>>>> 				<wsdlsoap:body use="literal" />
>>>>
>>>> 			</wsdl:input>
>>>>
>>>> 			<wsdl:output name="getProtoDTOResponse">
>>>> 				<wsdlsoap:body use="literal" />
>>>>
>>>> 			</wsdl:output>
>>>>
>>>> 		</wsdl:operation>
>>>>
>>>> 	</wsdl:binding>
>>>>
>>>> 	<wsdl:service name="ProtoBeanService">
>>>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>>>> 			name="ProtoBean">
>>>> 			<wsdlsoap:address
>>>> 				location="http://localhost:8092/ProtoBeanService/" />
>>>>
>>>> 		</wsdl:port>
>>>>
>>>> 	</wsdl:service>
>>>>
>>>> </wsdl:definitions>
>>>>
>>>> Thanks in advance,
>>>> Florent.
>>>>
>>>>
>>>> Freeman Fang-2 wrote:
>>>>   
>>>>       
>>>>> Hi Florent,
>>>>> Do you mean 
>>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>>>> Which soap toolkit are the third party webservice using?
>>>>> Would you please append the wsdl used for two webservices?
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> If i use the following code to access to my web service, it works
>>>>>> fine
>>>>>> : 
>>>>>>
>>>>>> String endpoint =
>>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>>
>>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>>> 						"<env:Envelope
>>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>>> " +
>>>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>>               			"<env:Body>" +
>>>>>>               			"<tns:getProtoDTO>" +
>>>>>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>"
>>>>>> +
>>>>>>               			"</tns:getProtoDTO>" +
>>>>>> 						"</env:Body>" +
>>>>>> 						"</env:Envelope>";
>>>>>> 		
>>>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>>> 		
>>>>>> 		SOAPConnection conn =
>>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>>         
>>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>>
>>>>>>
>>>>>> If i try to call the fellowing url :
>>>>>> http://localhost:8092/ProtoBeanService/
>>>>>> i get an error : No SOAPAction header (Application server log)...
>>>>>> That's
>>>>>> why
>>>>>> i was wondering about the soap version.
>>>>>>
>>>>>> I get the following error in servicemix log : 
>>>>>>
>>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>>         at
>>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>>         at
>>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>         at
>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>         at
>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>         at
>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>         at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>> Any idea?
>>>>>>
>>>>>> Thank you in advance,
>>>>>> Florent.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> Hi,
>>>>>>>
>>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc
>>>>>>> should 
>>>>>>> support both of it by default.
>>>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>>
>>>>>>> Florent wrote:
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I'm trying to expose a third party webservice to the bus, using
>>>>>>>> cxf.
>>>>>>>>
>>>>>>>> I'd like to know if i can set the soap version. For example, when i
>>>>>>>> was
>>>>>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>>>>>> find
>>>>>>>> one
>>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>>
>>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>>
>>>>>>>> Here is my xbean.xml :
>>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>>        
>>>>>>>>       <cxfbc:consumer 
>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>>>                         > 
>>>>>>>>       </cxfbc:consumer> 
>>>>>>>>   
>>>>>>>>       <cxfbc:provider 
>>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>>                        
>>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>>>                         endpoint="ProtoBean" 
>>>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>>>                         > 
>>>>>>>>       </cxfbc:provider>
>>>>>>>>
>>>>>>>> </beans> 
>>>>>>>>
>>>>>>>>
>>>>>>>>   
>>>>>>>>       
>>>>>>>>           
>>>>>>>>               
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13968202
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
Comments in line

Florent wrote:
> Morning Freeman,
>
> I tried to modify my SOAP message, but it didn't work : i still get the same
> error. 
>   
What's your new soap message now?
> I also tried to call the web service with this enveloppe and a standalone
> client : i got a "wrong parameter error".
>
> I think my SOAP message is correct : i tried to generate it from the RAD 7
> web service test and it was the same one. Plus, my business method has one
> parameter (a string) and a complex type as return type.
>   
According to the schema from your wsdl, your soap messge  
<getProtoDTO>ddd</getProteDTO> is not correct, under <getProtoDTO> 
element, there should be element <date> or <dble> or <integ> or <liste>

Btw, different soap tool kit may generate soap message with little 
different, which may cause interoperability problem

> As i'm totally new to servicemix, so there is probably something i don't
> understand.
>
> What i want to do :
> SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
> Application Server
>
> Considering the debug log, what i think it's going on :
> SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
> Application Server
>   
no, what's going on is

SOAP message <--> Servicemix cxf bc consumer<---> JBI message  <--->Servicemix Cxf bc provider <---> soap message <-->Websphere
Application Server

So what's reach your websphere application server is soap message, not 
jbi message.
May be you need refer to [1]  which is similiar as your scenario
[1] 
http://svn.apache.org/repos/asf/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java

> So, i don't think WAS support JBI message... and that could explain my error
> (i no longer think it's a soap verion problem).
>
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid party
> web service URL.
> http://localhost:8092/ProtoBeanService/ = servicemix web service.
>
> I only want to call my web service, but i want to call it using a servicemix
> URL.
>
> Thanks again for your help,
> Best Regards,
> Florent.
>
>
>
> Freeman Fang wrote:
>   
>> Hi Florent,
>>
>> This problem has nothing to do with soap version.
>>
>> The problem is that your hard code soap request message is not correct.
>>
>> According to the schema in wsdl you append, it should be something like
>>
>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:en
>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd="http://www.w3.org/2001/
>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:tns="http
>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
>> <date>your date</date>
>> <dble>your dble</dble>
>> <integ>your integ</integ>
>> <liste>your liste</liste>
>> </tns:getPr
>> otoDTO></env:Body></env:Envelope>
>>
>> You shouldn't use 
>> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element tag
>> defined in the schema.
>> For some complex schema, write soap message yourself is not so easy, so we
>> prefer to use some soap tool kit to generate soap message for you, may be
>> you can  try to use apache cxf, basically generate code stub from the
>> wsdl, and what you need do is just write client invoke code as normal java
>> operation invoke and  cxf will genearate soap message for you.
>>
>> Would you please try it again?
>>
>> Best Regards
>>
>> Freeman
>>
>>
>>
>>
>> Florent wrote:
>>     
>>> Hi Freeman,
>>>
>>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use
>>> soap
>>> 1.1.
>>> But i don't know which soap version
>>> http://localhost:8092/ProtoBeanService/
>>> is using...
>>>
>>> The third party webservice is hosted by Websphere Application Server 6.1.
>>>
>>> I don't really know what cxf is doing to the message, is it possible to
>>> log/trace it?
>>>
>>> I enabled debug log and added interceptors in my xbean.xml, here is the
>>> output :
>>>
>>> INFO: Inbound Message
>>> --------------------------------------
>>> Encoding: utf-8
>>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>>> Host=[ITEM-509
>>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
>>> SOAPAct
>>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>>> Cache-Control
>>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>>> Message:
>>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:en
>>> v="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:xsd="http://www.w3.org/2001/
>>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:tns="http
>>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>>> otoDTO></env:Body></env:Envelope>
>>> --------------------------------------
>>> DEBUG - CxfBcComponent                 - Created correlation id:
>>> ID:172.16.180.193-1167b1f58b2-4:1
>>> DEBUG - DeliveryChannelImpl            - SendSync
>>> ID:172.16.180.193-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>>> exchange: InOut[
>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>   status: Active
>>>   role: provider
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>> ]
>>> DEBUG - CxfBcComponent                 - Received exchange: status:
>>> Active,
>>> role: provider
>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>> ID:172.16.180.193-1167b1f58b2-4:1
>>> DEBUG - DeliveryChannelImpl            - Send
>>> ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>>> exchange: InOut[
>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>   status: Active
>>>   role: consumer
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>>   out: null
>>> ]
>>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>> DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
>>> DEBUG - DeliveryChannelImpl            - Notified:
>>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>>> 26 nov. 2007 09:59:48
>>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>>> INFO: Outbound Message
>>> --------------------------------------
>>> <soap:Envelope
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>>  /></soap:Envelope>
>>> --------------------------------------
>>> DEBUG - DeliveryChannelImpl            - Send
>>> ID:172.16.180.193-1167b1f58b2-4:1
>>> in DeliveryChannel{servicemix-cxf-bc}
>>> DEBUG - SedaFlow                       - Called Flow send
>>> DEBUG - SedaQueue                      -
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>>> exchange: InOut[
>>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>>   status: Done
>>>   role: provider
>>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>>   endpoint: ProtoBean
>>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>>> xmlns:jbi="http://java.
>>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>>> version="1.0"><jbi:part><tns:
>>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>>> otoDTO></jbi:part></jbi:message>
>>>   out: null
>>> ]
>>> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
>>> role:provider
>>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>>> ID:172.16.180.193-1167b1f58b2-4:1
>>> javax.jbi.messaging.MessagingException: Out not supported
>>>         at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>         at
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>         at
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>>
>>> Here is my wsdl used by servicemix (the one used by the AS is the same
>>> one,
>>> except the service location) :
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>> 	<wsdl:types>
>>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>> 			<import namespace="http://dto.proto.mycompany.com" />
>>> 			<element name="getProtoDTOResponse">
>>> 				<complexType>
>>> 					<sequence>
>>> 						<element name="getProtoDTOReturn"
>>> 							nillable="true" type="tns2:ProtoDTO" />
>>> 					</sequence>
>>> 				</complexType>
>>> 			</element>
>>> 			<element name="getProtoDTO">
>>> 				<complexType>
>>> 					<sequence>
>>> 						<element name="param" nillable="true"
>>> 							type="xsd:string" />
>>> 					</sequence>
>>> 				</complexType>
>>> 			</element>
>>> 			<complexType name="ArrayOf_xsd_nillable_string">
>>> 				<sequence>
>>> 					<element maxOccurs="unbounded" minOccurs="0"
>>> 						name="string" nillable="true" type="xsd:string" />
>>> 				</sequence>
>>> 			</complexType>
>>> 		</schema>
>>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>> 			<import namespace="http://ejb.proto.mycompany.com" />
>>> 			<complexType name="ProtoDTO">
>>> 				<sequence>
>>> 					<element name="date" nillable="true"
>>> 						type="xsd:dateTime" />
>>> 					<element name="dble" nillable="true"
>>> 						type="xsd:double" />
>>> 					<element name="integ" type="xsd:int" />
>>> 					<element name="liste" nillable="true"
>>> 						type="impl:ArrayOf_xsd_nillable_string" />
>>> 				</sequence>
>>> 			</complexType>
>>> 		</schema>
>>> 	</wsdl:types>
>>>
>>> 	<wsdl:message name="getProtoDTORequest">
>>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>>
>>> 	</wsdl:message>
>>>
>>> 	<wsdl:message name="getProtoDTOResponse">
>>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>>
>>> 	</wsdl:message>
>>>
>>> 	<wsdl:portType name="ProtoBean">
>>> 		<wsdl:operation name="getProtoDTO">
>>> 			<wsdl:input message="intf:getProtoDTORequest"
>>> 				name="getProtoDTORequest" />
>>>
>>> 			<wsdl:output message="intf:getProtoDTOResponse"
>>> 				name="getProtoDTOResponse" />
>>>
>>> 		</wsdl:operation>
>>>
>>> 	</wsdl:portType>
>>>
>>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>>
>>> 		<wsdlsoap:binding style="document"
>>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>>
>>> 		<wsdl:operation name="getProtoDTO">
>>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>>
>>> 			<wsdl:input name="getProtoDTORequest">
>>> 				<wsdlsoap:body use="literal" />
>>>
>>> 			</wsdl:input>
>>>
>>> 			<wsdl:output name="getProtoDTOResponse">
>>> 				<wsdlsoap:body use="literal" />
>>>
>>> 			</wsdl:output>
>>>
>>> 		</wsdl:operation>
>>>
>>> 	</wsdl:binding>
>>>
>>> 	<wsdl:service name="ProtoBeanService">
>>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>>> 			name="ProtoBean">
>>> 			<wsdlsoap:address
>>> 				location="http://localhost:8092/ProtoBeanService/" />
>>>
>>> 		</wsdl:port>
>>>
>>> 	</wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>> Thanks in advance,
>>> Florent.
>>>
>>>
>>> Freeman Fang-2 wrote:
>>>   
>>>       
>>>> Hi Florent,
>>>> Do you mean 
>>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>>> Which soap toolkit are the third party webservice using?
>>>> Would you please append the wsdl used for two webservices?
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>>
>>>> Florent wrote:
>>>>     
>>>>         
>>>>> If i use the following code to access to my web service, it works fine
>>>>> : 
>>>>>
>>>>> String endpoint =
>>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>>
>>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>>> 						"<env:Envelope
>>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>>> " +
>>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>>               			"<env:Body>" +
>>>>>               			"<tns:getProtoDTO>" +
>>>>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>>               			"</tns:getProtoDTO>" +
>>>>> 						"</env:Body>" +
>>>>> 						"</env:Envelope>";
>>>>> 		
>>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>>> ByteArrayInputStream(xml.getBytes()));
>>>>> 		
>>>>> 		SOAPConnection conn =
>>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>>         
>>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>>
>>>>>
>>>>> If i try to call the fellowing url :
>>>>> http://localhost:8092/ProtoBeanService/
>>>>> i get an error : No SOAPAction header (Application server log)...
>>>>> That's
>>>>> why
>>>>> i was wondering about the soap version.
>>>>>
>>>>> I get the following error in servicemix log : 
>>>>>
>>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>>         at
>>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>>         at
>>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>         at
>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>         at
>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>         at
>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>         at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>>
>>>>>
>>>>> Any idea?
>>>>>
>>>>> Thank you in advance,
>>>>> Florent.
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>>>>>> support both of it by default.
>>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>>
>>>>>> Florent wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hello,
>>>>>>>
>>>>>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>>>>>
>>>>>>> I'd like to know if i can set the soap version. For example, when i
>>>>>>> was
>>>>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>>>>> find
>>>>>>> one
>>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>>
>>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>>
>>>>>>> Here is my xbean.xml :
>>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>>        
>>>>>>>       <cxfbc:consumer 
>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>>                         > 
>>>>>>>       </cxfbc:consumer> 
>>>>>>>   
>>>>>>>       <cxfbc:provider 
>>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>>                        
>>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>>                         endpoint="ProtoBean" 
>>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>>                         > 
>>>>>>>       </cxfbc:provider>
>>>>>>>
>>>>>>> </beans> 
>>>>>>>
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.
Morning Freeman,

I tried to modify my SOAP message, but it didn't work : i still get the same
error. 
I also tried to call the web service with this enveloppe and a standalone
client : i got a "wrong parameter error".

I think my SOAP message is correct : i tried to generate it from the RAD 7
web service test and it was the same one. Plus, my business method has one
parameter (a string) and a complex type as return type.

As i'm totally new to servicemix, so there is probably something i don't
understand.

What i want to do :
SOAP message <--> Servicemix cxf bc <---> SOAP message <-->Websphere
Application Server

Considering the debug log, what i think it's going on :
SOAP message <--> Servicemix cxf bc <---> JBI message <-->Websphere
Application Server

So, i don't think WAS support JBI message... and that could explain my error
(i no longer think it's a soap verion problem).

http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean = thrid party
web service URL.
http://localhost:8092/ProtoBeanService/ = servicemix web service.

I only want to call my web service, but i want to call it using a servicemix
URL.

Thanks again for your help,
Best Regards,
Florent.



Freeman Fang wrote:
> 
> Hi Florent,
> 
> This problem has nothing to do with soap version.
> 
> The problem is that your hard code soap request message is not correct.
> 
> According to the schema in wsdl you append, it should be something like
> 
> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:en
> v="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/
> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tns="http
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
> <date>your date</date>
> <dble>your dble</dble>
> <integ>your integ</integ>
> <liste>your liste</liste>
> </tns:getPr
> otoDTO></env:Body></env:Envelope>
> 
> You shouldn't use 
> <tns:getProtoDTO>something</tns:getProtoDTO> directly without element tag
> defined in the schema.
> For some complex schema, write soap message yourself is not so easy, so we
> prefer to use some soap tool kit to generate soap message for you, may be
> you can  try to use apache cxf, basically generate code stub from the
> wsdl, and what you need do is just write client invoke code as normal java
> operation invoke and  cxf will genearate soap message for you.
> 
> Would you please try it again?
> 
> Best Regards
> 
> Freeman
> 
> 
> 
> 
> Florent wrote:
>> Hi Freeman,
>>
>> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use
>> soap
>> 1.1.
>> But i don't know which soap version
>> http://localhost:8092/ProtoBeanService/
>> is using...
>>
>> The third party webservice is hosted by Websphere Application Server 6.1.
>>
>> I don't really know what cxf is doing to the message, is it possible to
>> log/trace it?
>>
>> I enabled debug log and added interceptors in my xbean.xml, here is the
>> output :
>>
>> INFO: Inbound Message
>> --------------------------------------
>> Encoding: utf-8
>> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
>> Host=[ITEM-509
>> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
>> SOAPAct
>> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
>> Cache-Control
>> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
>> Message:
>> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:en
>> v="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd="http://www.w3.org/2001/
>> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:tns="http
>> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
>> otoDTO></env:Body></env:Envelope>
>> --------------------------------------
>> DEBUG - CxfBcComponent                 - Created correlation id:
>> ID:172.16.180.193-1167b1f58b2-4:1
>> DEBUG - DeliveryChannelImpl            - SendSync
>> ID:172.16.180.193-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
>> exchange: InOut[
>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>   status: Active
>>   role: provider
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>> ]
>> DEBUG - CxfBcComponent                 - Received exchange: status:
>> Active,
>> role: provider
>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> ID:172.16.180.193-1167b1f58b2-4:1
>> DEBUG - DeliveryChannelImpl            - Send
>> ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
>> exchange: InOut[
>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>   status: Active
>>   role: consumer
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>>   out: null
>> ]
>> DEBUG - DeliveryChannelImpl            - Notifying exchange
>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
>> DEBUG - DeliveryChannelImpl            - Notified:
>> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> 26 nov. 2007 09:59:48
>> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
>> INFO: Outbound Message
>> --------------------------------------
>> <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>>  /></soap:Envelope>
>> --------------------------------------
>> DEBUG - DeliveryChannelImpl            - Send
>> ID:172.16.180.193-1167b1f58b2-4:1
>> in DeliveryChannel{servicemix-cxf-bc}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - SedaQueue                      -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
>> exchange: InOut[
>>   id: ID:172.16.180.193-1167b1f58b2-4:1
>>   status: Done
>>   role: provider
>>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>>   endpoint: ProtoBean
>>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.
>> sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://ejb.proto.mycompany.com" name=
>> "getProtoDTORequest" type="msg:getProtoDTORequest"
>> version="1.0"><jbi:part><tns:
>> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
>> otoDTO></jbi:part></jbi:message>
>>   out: null
>> ]
>> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
>> role:provider
>> DEBUG - CxfBcComponent                 - Retrieved correlation id:
>> ID:172.16.180.193-1167b1f58b2-4:1
>> javax.jbi.messaging.MessagingException: Out not supported
>>         at
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>         at
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>         at java.lang.Thread.run(Thread.java:595)
>>
>>
>>
>> Here is my wsdl used by servicemix (the one used by the AS is the same
>> one,
>> except the service location) :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
>> 	xmlns:impl="http://ejb.proto.mycompany.com"
>> 	xmlns:intf="http://ejb.proto.mycompany.com"
>> 	xmlns:tns2="http://dto.proto.mycompany.com"
>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> 	<wsdl:types>
>> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>> 			xmlns:tns2="http://dto.proto.mycompany.com"
>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> 			<import namespace="http://dto.proto.mycompany.com" />
>> 			<element name="getProtoDTOResponse">
>> 				<complexType>
>> 					<sequence>
>> 						<element name="getProtoDTOReturn"
>> 							nillable="true" type="tns2:ProtoDTO" />
>> 					</sequence>
>> 				</complexType>
>> 			</element>
>> 			<element name="getProtoDTO">
>> 				<complexType>
>> 					<sequence>
>> 						<element name="param" nillable="true"
>> 							type="xsd:string" />
>> 					</sequence>
>> 				</complexType>
>> 			</element>
>> 			<complexType name="ArrayOf_xsd_nillable_string">
>> 				<sequence>
>> 					<element maxOccurs="unbounded" minOccurs="0"
>> 						name="string" nillable="true" type="xsd:string" />
>> 				</sequence>
>> 			</complexType>
>> 		</schema>
>> 		<schema targetNamespace="http://dto.proto.mycompany.com"
>> 			xmlns="http://www.w3.org/2001/XMLSchema"
>> 			xmlns:intf="http://ejb.proto.mycompany.com"
>> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> 			<import namespace="http://ejb.proto.mycompany.com" />
>> 			<complexType name="ProtoDTO">
>> 				<sequence>
>> 					<element name="date" nillable="true"
>> 						type="xsd:dateTime" />
>> 					<element name="dble" nillable="true"
>> 						type="xsd:double" />
>> 					<element name="integ" type="xsd:int" />
>> 					<element name="liste" nillable="true"
>> 						type="impl:ArrayOf_xsd_nillable_string" />
>> 				</sequence>
>> 			</complexType>
>> 		</schema>
>> 	</wsdl:types>
>>
>> 	<wsdl:message name="getProtoDTORequest">
>> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>>
>> 	</wsdl:message>
>>
>> 	<wsdl:message name="getProtoDTOResponse">
>> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>>
>> 	</wsdl:message>
>>
>> 	<wsdl:portType name="ProtoBean">
>> 		<wsdl:operation name="getProtoDTO">
>> 			<wsdl:input message="intf:getProtoDTORequest"
>> 				name="getProtoDTORequest" />
>>
>> 			<wsdl:output message="intf:getProtoDTOResponse"
>> 				name="getProtoDTOResponse" />
>>
>> 		</wsdl:operation>
>>
>> 	</wsdl:portType>
>>
>> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>>
>> 		<wsdlsoap:binding style="document"
>> 			transport="http://schemas.xmlsoap.org/soap/http" />
>>
>> 		<wsdl:operation name="getProtoDTO">
>> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>>
>> 			<wsdl:input name="getProtoDTORequest">
>> 				<wsdlsoap:body use="literal" />
>>
>> 			</wsdl:input>
>>
>> 			<wsdl:output name="getProtoDTOResponse">
>> 				<wsdlsoap:body use="literal" />
>>
>> 			</wsdl:output>
>>
>> 		</wsdl:operation>
>>
>> 	</wsdl:binding>
>>
>> 	<wsdl:service name="ProtoBeanService">
>> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
>> 			name="ProtoBean">
>> 			<wsdlsoap:address
>> 				location="http://localhost:8092/ProtoBeanService/" />
>>
>> 		</wsdl:port>
>>
>> 	</wsdl:service>
>>
>> </wsdl:definitions>
>>
>> Thanks in advance,
>> Florent.
>>
>>
>> Freeman Fang-2 wrote:
>>   
>>> Hi Florent,
>>> Do you mean 
>>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>>> Which soap toolkit are the third party webservice using?
>>> Would you please append the wsdl used for two webservices?
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>>
>>> Florent wrote:
>>>     
>>>> If i use the following code to access to my web service, it works fine
>>>> : 
>>>>
>>>> String endpoint =
>>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>>
>>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>>> 						"<env:Envelope
>>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>>> " +
>>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>>               			"<env:Body>" +
>>>>               			"<tns:getProtoDTO>" +
>>>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>>               			"</tns:getProtoDTO>" +
>>>> 						"</env:Body>" +
>>>> 						"</env:Envelope>";
>>>> 		
>>>> 		MessageFactory mf = MessageFactory.newInstance();
>>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>>> ByteArrayInputStream(xml.getBytes()));
>>>> 		
>>>> 		SOAPConnection conn =
>>>> SOAPConnectionFactory.newInstance().createConnection();
>>>>         SOAPMessage response = conn.call(smsg, url);
>>>>         
>>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>>
>>>>
>>>> If i try to call the fellowing url :
>>>> http://localhost:8092/ProtoBeanService/
>>>> i get an error : No SOAPAction header (Application server log)...
>>>> That's
>>>> why
>>>> i was wondering about the soap version.
>>>>
>>>> I get the following error in servicemix log : 
>>>>
>>>> javax.jbi.messaging.MessagingException: Out not supported
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>>         at
>>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>>         at
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>         at
>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>         at
>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>         at
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>         at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>         at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>         at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>> Any idea?
>>>>
>>>> Thank you in advance,
>>>> Florent.
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>       
>>>>> Hi,
>>>>>
>>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>>>>> support both of it by default.
>>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>>> accordingly, extract soap version from your wsdl binding part.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Freeman
>>>>>
>>>>>
>>>>> Florent wrote:
>>>>>     
>>>>>         
>>>>>> Hello,
>>>>>>
>>>>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>>>>
>>>>>> I'd like to know if i can set the soap version. For example, when i
>>>>>> was
>>>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>>>> find
>>>>>> one
>>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>>
>>>>>> Is soap 1.1 or 1.2 used?
>>>>>>
>>>>>> Here is my xbean.xml :
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>>        
>>>>>>       <cxfbc:consumer 
>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>                         endpoint="ProtoBeanPort"
>>>>>>                         targetEndpoint="ProtoBean" 
>>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>>                         > 
>>>>>>       </cxfbc:consumer> 
>>>>>>   
>>>>>>       <cxfbc:provider 
>>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>>                        
>>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>>                         service="ns1:ProtoBeanService" 
>>>>>>                         endpoint="ProtoBean" 
>>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>>                         > 
>>>>>>       </cxfbc:provider>
>>>>>>
>>>>>> </beans> 
>>>>>>
>>>>>>
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13967081
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
Hi Florent,

This problem has nothing to do with soap version.

The problem is that your hard code soap request message is not correct.

According to the schema in wsdl you append, it should be something like

<env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:en
v="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/
XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http
://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>
<date>your date</date>
<dble>your dble</dble>
<integ>your integ</integ>
<liste>your liste</liste>
</tns:getPr
otoDTO></env:Body></env:Envelope>

You shouldn't use 
<tns:getProtoDTO>something</tns:getProtoDTO> directly without element tag defined in the schema.
For some complex schema, write soap message yourself is not so easy, so we prefer to use some soap tool kit to generate soap message for you, may be you can  try to use apache cxf, basically generate code stub from the wsdl, and what you need do is just write client invoke code as normal java operation invoke and  cxf will genearate soap message for you.

Would you please try it again?

Best Regards

Freeman




Florent wrote:
> Hi Freeman,
>
> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use soap
> 1.1.
> But i don't know which soap version http://localhost:8092/ProtoBeanService/
> is using...
>
> The third party webservice is hosted by Websphere Application Server 6.1.
>
> I don't really know what cxf is doing to the message, is it possible to
> log/trace it?
>
> I enabled debug log and added interceptors in my xbean.xml, here is the
> output :
>
> INFO: Inbound Message
> --------------------------------------
> Encoding: utf-8
> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> Host=[ITEM-509
> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
> SOAPAct
> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> Cache-Control
> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
> Message:
> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:en
> v="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/
> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tns="http
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> otoDTO></env:Body></env:Envelope>
> --------------------------------------
> DEBUG - CxfBcComponent                 - Created correlation id:
> ID:172.16.180.193-1167b1f58b2-4:1
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:172.16.180.193-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
> DeliveryChannel{servicemix-cxf-bc} from sendSync
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
> exchange: InOut[
>   id: ID:172.16.180.193-1167b1f58b2-4:1
>   status: Active
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status: Active,
> role: provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.16.180.193-1167b1f58b2-4:1
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
> exchange: InOut[
>   id: ID:172.16.180.193-1167b1f58b2-4:1
>   status: Active
>   role: consumer
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
> DeliveryChannel{servicemix-cxf-bc} from sendSync
> 26 nov. 2007 09:59:48
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
> INFO: Outbound Message
> --------------------------------------
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>  /></soap:Envelope>
> --------------------------------------
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.16.180.193-1167b1f58b2-4:1
> in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
> exchange: InOut[
>   id: ID:172.16.180.193-1167b1f58b2-4:1
>   status: Done
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
> role:provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.16.180.193-1167b1f58b2-4:1
> javax.jbi.messaging.MessagingException: Out not supported
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>         at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>         at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>
>
> Here is my wsdl used by servicemix (the one used by the AS is the same one,
> except the service location) :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
> 	xmlns:impl="http://ejb.proto.mycompany.com"
> 	xmlns:intf="http://ejb.proto.mycompany.com"
> 	xmlns:tns2="http://dto.proto.mycompany.com"
> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 	<wsdl:types>
> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
> 			xmlns="http://www.w3.org/2001/XMLSchema"
> 			xmlns:tns2="http://dto.proto.mycompany.com"
> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 			<import namespace="http://dto.proto.mycompany.com" />
> 			<element name="getProtoDTOResponse">
> 				<complexType>
> 					<sequence>
> 						<element name="getProtoDTOReturn"
> 							nillable="true" type="tns2:ProtoDTO" />
> 					</sequence>
> 				</complexType>
> 			</element>
> 			<element name="getProtoDTO">
> 				<complexType>
> 					<sequence>
> 						<element name="param" nillable="true"
> 							type="xsd:string" />
> 					</sequence>
> 				</complexType>
> 			</element>
> 			<complexType name="ArrayOf_xsd_nillable_string">
> 				<sequence>
> 					<element maxOccurs="unbounded" minOccurs="0"
> 						name="string" nillable="true" type="xsd:string" />
> 				</sequence>
> 			</complexType>
> 		</schema>
> 		<schema targetNamespace="http://dto.proto.mycompany.com"
> 			xmlns="http://www.w3.org/2001/XMLSchema"
> 			xmlns:intf="http://ejb.proto.mycompany.com"
> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 			<import namespace="http://ejb.proto.mycompany.com" />
> 			<complexType name="ProtoDTO">
> 				<sequence>
> 					<element name="date" nillable="true"
> 						type="xsd:dateTime" />
> 					<element name="dble" nillable="true"
> 						type="xsd:double" />
> 					<element name="integ" type="xsd:int" />
> 					<element name="liste" nillable="true"
> 						type="impl:ArrayOf_xsd_nillable_string" />
> 				</sequence>
> 			</complexType>
> 		</schema>
> 	</wsdl:types>
>
> 	<wsdl:message name="getProtoDTORequest">
> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
>
> 	</wsdl:message>
>
> 	<wsdl:message name="getProtoDTOResponse">
> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
>
> 	</wsdl:message>
>
> 	<wsdl:portType name="ProtoBean">
> 		<wsdl:operation name="getProtoDTO">
> 			<wsdl:input message="intf:getProtoDTORequest"
> 				name="getProtoDTORequest" />
>
> 			<wsdl:output message="intf:getProtoDTOResponse"
> 				name="getProtoDTOResponse" />
>
> 		</wsdl:operation>
>
> 	</wsdl:portType>
>
> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
>
> 		<wsdlsoap:binding style="document"
> 			transport="http://schemas.xmlsoap.org/soap/http" />
>
> 		<wsdl:operation name="getProtoDTO">
> 			<wsdlsoap:operation soapAction="getProtoDTO" />
>
> 			<wsdl:input name="getProtoDTORequest">
> 				<wsdlsoap:body use="literal" />
>
> 			</wsdl:input>
>
> 			<wsdl:output name="getProtoDTOResponse">
> 				<wsdlsoap:body use="literal" />
>
> 			</wsdl:output>
>
> 		</wsdl:operation>
>
> 	</wsdl:binding>
>
> 	<wsdl:service name="ProtoBeanService">
> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
> 			name="ProtoBean">
> 			<wsdlsoap:address
> 				location="http://localhost:8092/ProtoBeanService/" />
>
> 		</wsdl:port>
>
> 	</wsdl:service>
>
> </wsdl:definitions>
>
> Thanks in advance,
> Florent.
>
>
> Freeman Fang-2 wrote:
>   
>> Hi Florent,
>> Do you mean 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>> Which soap toolkit are the third party webservice using?
>> Would you please append the wsdl used for two webservices?
>>
>> Best Regards
>>
>> Freeman
>>
>>
>> Florent wrote:
>>     
>>> If i use the following code to access to my web service, it works fine : 
>>>
>>> String endpoint =
>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>
>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>> 						"<env:Envelope
>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>> " +
>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>               			"<env:Body>" +
>>>               			"<tns:getProtoDTO>" +
>>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>               			"</tns:getProtoDTO>" +
>>> 						"</env:Body>" +
>>> 						"</env:Envelope>";
>>> 		
>>> 		MessageFactory mf = MessageFactory.newInstance();
>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>> ByteArrayInputStream(xml.getBytes()));
>>> 		
>>> 		SOAPConnection conn =
>>> SOAPConnectionFactory.newInstance().createConnection();
>>>         SOAPMessage response = conn.call(smsg, url);
>>>         
>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>
>>>
>>> If i try to call the fellowing url :
>>> http://localhost:8092/ProtoBeanService/
>>> i get an error : No SOAPAction header (Application server log)... That's
>>> why
>>> i was wondering about the soap version.
>>>
>>> I get the following error in servicemix log : 
>>>
>>> javax.jbi.messaging.MessagingException: Out not supported
>>>         at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>         at
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>         at
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>> Any idea?
>>>
>>> Thank you in advance,
>>> Florent.
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>       
>>>> Hi,
>>>>
>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>>>> support both of it by default.
>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>> accordingly, extract soap version from your wsdl binding part.
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>>
>>>> Florent wrote:
>>>>     
>>>>         
>>>>> Hello,
>>>>>
>>>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>>>
>>>>> I'd like to know if i can set the soap version. For example, when i was
>>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>>> find
>>>>> one
>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>
>>>>> Is soap 1.1 or 1.2 used?
>>>>>
>>>>> Here is my xbean.xml :
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>        
>>>>>       <cxfbc:consumer 
>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>                         endpoint="ProtoBeanPort"
>>>>>                         targetEndpoint="ProtoBean" 
>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>                         > 
>>>>>       </cxfbc:consumer> 
>>>>>   
>>>>>       <cxfbc:provider 
>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>                        
>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>                         service="ns1:ProtoBeanService" 
>>>>>                         endpoint="ProtoBean" 
>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>                         > 
>>>>>       </cxfbc:provider>
>>>>>
>>>>> </beans> 
>>>>>
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

Considering the debug log, it seems Servicemix parse my soap envelope and
build a jbi message.
Is this message sent to the Application Server?
Am i wrong?



Florent wrote:
> 
> Hi Freeman,
> 
> Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use
> soap 1.1.
> But i don't know which soap version
> http://localhost:8092/ProtoBeanService/ is using...
> 
> The third party webservice is hosted by Websphere Application Server 6.1.
> 
> I don't really know what cxf is doing to the message, is it possible to
> log/trace it?
> 
> I enabled debug log and added interceptors in my xbean.xml, here is the
> output :
> 
> INFO: Inbound Message
> --------------------------------------
> Encoding: utf-8
> Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
> Host=[ITEM-509
> 73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
> SOAPAct
> ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
> Cache-Control
> =[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
> Message:
> <env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:en
> v="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/
> XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tns="http
> ://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
> otoDTO></env:Body></env:Envelope>
> --------------------------------------
> DEBUG - CxfBcComponent                 - Created correlation id:
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1 (1d7a7b3) to be answered in
> DeliveryChannel{servicemix-cxf-bc} from sendSync
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1
>   status: Active
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status:
> Active, role: provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1
>   status: Active
>   role: consumer
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1(1d7a7b3) in
> DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1(1d7a7b3) in
> DeliveryChannel{servicemix-cxf-bc} from sendSync
> 26 nov. 2007 09:59:48
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
> INFO: Outbound Message
> --------------------------------------
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
>  /></soap:Envelope>
> --------------------------------------
> DEBUG - DeliveryChannelImpl            - Send
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1
> in DeliveryChannel{servicemix-cxf-bc}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
> exchange: InOut[
>   id: ID:172.xx.xxx.xxx-1167b1f58b2-4:1
>   status: Done
>   role: provider
>   interface: {http://ejb.proto.mycompany.com}ProtoBean
>   service: {http://ejb.proto.mycompany.com}ProtoBeanService
>   endpoint: ProtoBean
>   operation: {http://ejb.proto.mycompany.com}getProtoDTO
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
> xmlns:jbi="http://java.
> sun.com/xml/ns/jbi/wsdl-11-wrapper"
> xmlns:msg="http://ejb.proto.mycompany.com" name=
> "getProtoDTORequest" type="msg:getProtoDTORequest"
> version="1.0"><jbi:part><tns:
> getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
> otoDTO></jbi:part></jbi:message>
>   out: null
> ]
> DEBUG - CxfBcComponent                 - Received exchange: status: Done,
> role:provider
> DEBUG - CxfBcComponent                 - Retrieved correlation id:
> ID:172.xx.xxx.xxx-1167b1f58b2-4:1
> javax.jbi.messaging.MessagingException: Out not supported
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>         at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>         at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> 
> 
> 
> Here is my wsdl used by servicemix (the one used by the AS is the same
> one, except the service location) :
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
> 	xmlns:impl="http://ejb.proto.mycompany.com"
> 	xmlns:intf="http://ejb.proto.mycompany.com"
> 	xmlns:tns2="http://dto.proto.mycompany.com"
> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> 	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 	<wsdl:types>
> 		<schema targetNamespace="http://ejb.proto.mycompany.com"
> 			xmlns="http://www.w3.org/2001/XMLSchema"
> 			xmlns:tns2="http://dto.proto.mycompany.com"
> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 			<import namespace="http://dto.proto.mycompany.com" />
> 			<element name="getProtoDTOResponse">
> 				<complexType>
> 					<sequence>
> 						<element name="getProtoDTOReturn"
> 							nillable="true" type="tns2:ProtoDTO" />
> 					</sequence>
> 				</complexType>
> 			</element>
> 			<element name="getProtoDTO">
> 				<complexType>
> 					<sequence>
> 						<element name="param" nillable="true"
> 							type="xsd:string" />
> 					</sequence>
> 				</complexType>
> 			</element>
> 			<complexType name="ArrayOf_xsd_nillable_string">
> 				<sequence>
> 					<element maxOccurs="unbounded" minOccurs="0"
> 						name="string" nillable="true" type="xsd:string" />
> 				</sequence>
> 			</complexType>
> 		</schema>
> 		<schema targetNamespace="http://dto.proto.mycompany.com"
> 			xmlns="http://www.w3.org/2001/XMLSchema"
> 			xmlns:intf="http://ejb.proto.mycompany.com"
> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 			<import namespace="http://ejb.proto.mycompany.com" />
> 			<complexType name="ProtoDTO">
> 				<sequence>
> 					<element name="date" nillable="true"
> 						type="xsd:dateTime" />
> 					<element name="dble" nillable="true"
> 						type="xsd:double" />
> 					<element name="integ" type="xsd:int" />
> 					<element name="liste" nillable="true"
> 						type="impl:ArrayOf_xsd_nillable_string" />
> 				</sequence>
> 			</complexType>
> 		</schema>
> 	</wsdl:types>
> 
> 	<wsdl:message name="getProtoDTORequest">
> 		<wsdl:part element="intf:getProtoDTO" name="parameters" />
> 
> 	</wsdl:message>
> 
> 	<wsdl:message name="getProtoDTOResponse">
> 		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />
> 
> 	</wsdl:message>
> 
> 	<wsdl:portType name="ProtoBean">
> 		<wsdl:operation name="getProtoDTO">
> 			<wsdl:input message="intf:getProtoDTORequest"
> 				name="getProtoDTORequest" />
> 
> 			<wsdl:output message="intf:getProtoDTOResponse"
> 				name="getProtoDTOResponse" />
> 
> 		</wsdl:operation>
> 
> 	</wsdl:portType>
> 
> 	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">
> 
> 		<wsdlsoap:binding style="document"
> 			transport="http://schemas.xmlsoap.org/soap/http" />
> 
> 		<wsdl:operation name="getProtoDTO">
> 			<wsdlsoap:operation soapAction="getProtoDTO" />
> 
> 			<wsdl:input name="getProtoDTORequest">
> 				<wsdlsoap:body use="literal" />
> 
> 			</wsdl:input>
> 
> 			<wsdl:output name="getProtoDTOResponse">
> 				<wsdlsoap:body use="literal" />
> 
> 			</wsdl:output>
> 
> 		</wsdl:operation>
> 
> 	</wsdl:binding>
> 
> 	<wsdl:service name="ProtoBeanService">
> 		<wsdl:port binding="intf:ProtoBeanSoapBinding"
> 			name="ProtoBean">
> 			<wsdlsoap:address
> 				location="http://localhost:8092/ProtoBeanService/" />
> 
> 		</wsdl:port>
> 
> 	</wsdl:service>
> 
> </wsdl:definitions>
> 
> Thanks in advance,
> Florent.
> 
> 
> Freeman Fang-2 wrote:
>> 
>> Hi Florent,
>> Do you mean 
>> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
>> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
>> Which soap toolkit are the third party webservice using?
>> Would you please append the wsdl used for two webservices?
>> 
>> Best Regards
>> 
>> Freeman
>> 
>> 
>> Florent wrote:
>>> If i use the following code to access to my web service, it works fine : 
>>>
>>> String endpoint =
>>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>>
>>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>>> 						"<env:Envelope
>>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>>> " +
>>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>>               			"<env:Body>" +
>>>               			"<tns:getProtoDTO>" +
>>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>>               			"</tns:getProtoDTO>" +
>>> 						"</env:Body>" +
>>> 						"</env:Envelope>";
>>> 		
>>> 		MessageFactory mf = MessageFactory.newInstance();
>>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>>> ByteArrayInputStream(xml.getBytes()));
>>> 		
>>> 		SOAPConnection conn =
>>> SOAPConnectionFactory.newInstance().createConnection();
>>>         SOAPMessage response = conn.call(smsg, url);
>>>         
>>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>>
>>>
>>> If i try to call the fellowing url :
>>> http://localhost:8092/ProtoBeanService/
>>> i get an error : No SOAPAction header (Application server log)... That's
>>> why
>>> i was wondering about the soap version.
>>>
>>> I get the following error in servicemix log : 
>>>
>>> javax.jbi.messaging.MessagingException: Out not supported
>>>         at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>>         at
>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>>         at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>         at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>         at
>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>         at
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>         at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>> Any idea?
>>>
>>> Thank you in advance,
>>> Florent.
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>   
>>>> Hi,
>>>>
>>>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>>>> support both of it by default.
>>>> Cxf bc will parse the wsdl you provided and create service model 
>>>> accordingly, extract soap version from your wsdl binding part.
>>>>
>>>> Best Regards
>>>>
>>>> Freeman
>>>>
>>>>
>>>> Florent wrote:
>>>>     
>>>>> Hello,
>>>>>
>>>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>>>
>>>>> I'd like to know if i can set the soap version. For example, when i
>>>>> was
>>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>>> find
>>>>> one
>>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>>
>>>>> Is soap 1.1 or 1.2 used?
>>>>>
>>>>> Here is my xbean.xml :
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>>        
>>>>>       <cxfbc:consumer 
>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>                         endpoint="ProtoBeanPort"
>>>>>                         targetEndpoint="ProtoBean" 
>>>>>                         targetService="ns1:ProtoBeanService" 
>>>>>                         targetInterface="ns1:ProtoBean" 
>>>>>                         > 
>>>>>       </cxfbc:consumer> 
>>>>>   
>>>>>       <cxfbc:provider 
>>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>>                        
>>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>>                         service="ns1:ProtoBeanService" 
>>>>>                         endpoint="ProtoBean" 
>>>>>                         interfaceName="ns1:ProtoBean" 
>>>>>                         > 
>>>>>       </cxfbc:provider>
>>>>>
>>>>> </beans> 
>>>>>
>>>>>
>>>>>   
>>>>>       
>>>>     
>>>
>>>   
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13952439
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.
Hi Freeman,

Indeed, http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean use soap
1.1.
But i don't know which soap version http://localhost:8092/ProtoBeanService/
is using...

The third party webservice is hosted by Websphere Application Server 6.1.

I don't really know what cxf is doing to the message, is it possible to
log/trace it?

I enabled debug log and added interceptors in my xbean.xml, here is the
output :

INFO: Inbound Message
--------------------------------------
Encoding: utf-8
Headers: {Content-Length=[353], User-Agent=[IBM WebServices/1.0],
Host=[ITEM-509
73:8092], connection=[Keep-Alive], Date=[Mon, 26 Nov 2007 08:59:47 GMT],
SOAPAct
ion=[], Pragma=[no-cache], content-type=[text/xml; charset=utf-8],
Cache-Control
=[no-cache], Accept=[application/soap+xml,multipart/related,text/*]}
Message:
<env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:en
v="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/
XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http
://ejb.proto.mycompany.com"><env:Body><tns:getProtoDTO>ddd</tns:getPr
otoDTO></env:Body></env:Envelope>
--------------------------------------
DEBUG - CxfBcComponent                 - Created correlation id:
ID:172.16.180.193-1167b1f58b2-4:1
DEBUG - DeliveryChannelImpl            - SendSync
ID:172.16.180.193-1167b1f58b2-4:1 in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - DeliveryChannelImpl            - Waiting for exchange
ID:172.16.180.193-1167b1f58b2-4:1 (1d7a7b3) to be answered in
DeliveryChannel{servicemix-cxf-bc} from sendSync
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@142f66f dequeued
exchange: InOut[
  id: ID:172.16.180.193-1167b1f58b2-4:1
  status: Active
  role: provider
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
]
DEBUG - CxfBcComponent                 - Received exchange: status: Active,
role: provider
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.16.180.193-1167b1f58b2-4:1
DEBUG - DeliveryChannelImpl            - Send
ID:172.16.180.193-1167b1f58b2-4:1in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@782678 dequeued
exchange: InOut[
  id: ID:172.16.180.193-1167b1f58b2-4:1
  status: Active
  role: consumer
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
  out: null
]
DEBUG - DeliveryChannelImpl            - Notifying exchange
ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl            - Notified:
ID:172.16.180.193-1167b1f58b2-4:1(1d7a7b3) in
DeliveryChannel{servicemix-cxf-bc} from sendSync
26 nov. 2007 09:59:48
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message
--------------------------------------
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body
 /></soap:Envelope>
--------------------------------------
DEBUG - DeliveryChannelImpl            - Send
ID:172.16.180.193-1167b1f58b2-4:1
in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@25b780 dequeued
exchange: InOut[
  id: ID:172.16.180.193-1167b1f58b2-4:1
  status: Done
  role: provider
  interface: {http://ejb.proto.mycompany.com}ProtoBean
  service: {http://ejb.proto.mycompany.com}ProtoBeanService
  endpoint: ProtoBean
  operation: {http://ejb.proto.mycompany.com}getProtoDTO
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://ejb.proto.mycompany.com" name=
"getProtoDTORequest" type="msg:getProtoDTORequest"
version="1.0"><jbi:part><tns:
getProtoDTO xmlns:tns="http://ejb.proto.mycompany.com">ddd</tns:getPr
otoDTO></jbi:part></jbi:message>
  out: null
]
DEBUG - CxfBcComponent                 - Received exchange: status: Done,
role:provider
DEBUG - CxfBcComponent                 - Retrieved correlation id:
ID:172.16.180.193-1167b1f58b2-4:1
javax.jbi.messaging.MessagingException: Out not supported
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
        at
org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
        at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)



Here is my wsdl used by servicemix (the one used by the AS is the same one,
except the service location) :

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://ejb.proto.mycompany.com"
	xmlns:impl="http://ejb.proto.mycompany.com"
	xmlns:intf="http://ejb.proto.mycompany.com"
	xmlns:tns2="http://dto.proto.mycompany.com"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<wsdl:types>
		<schema targetNamespace="http://ejb.proto.mycompany.com"
			xmlns="http://www.w3.org/2001/XMLSchema"
			xmlns:tns2="http://dto.proto.mycompany.com"
			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<import namespace="http://dto.proto.mycompany.com" />
			<element name="getProtoDTOResponse">
				<complexType>
					<sequence>
						<element name="getProtoDTOReturn"
							nillable="true" type="tns2:ProtoDTO" />
					</sequence>
				</complexType>
			</element>
			<element name="getProtoDTO">
				<complexType>
					<sequence>
						<element name="param" nillable="true"
							type="xsd:string" />
					</sequence>
				</complexType>
			</element>
			<complexType name="ArrayOf_xsd_nillable_string">
				<sequence>
					<element maxOccurs="unbounded" minOccurs="0"
						name="string" nillable="true" type="xsd:string" />
				</sequence>
			</complexType>
		</schema>
		<schema targetNamespace="http://dto.proto.mycompany.com"
			xmlns="http://www.w3.org/2001/XMLSchema"
			xmlns:intf="http://ejb.proto.mycompany.com"
			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<import namespace="http://ejb.proto.mycompany.com" />
			<complexType name="ProtoDTO">
				<sequence>
					<element name="date" nillable="true"
						type="xsd:dateTime" />
					<element name="dble" nillable="true"
						type="xsd:double" />
					<element name="integ" type="xsd:int" />
					<element name="liste" nillable="true"
						type="impl:ArrayOf_xsd_nillable_string" />
				</sequence>
			</complexType>
		</schema>
	</wsdl:types>

	<wsdl:message name="getProtoDTORequest">
		<wsdl:part element="intf:getProtoDTO" name="parameters" />

	</wsdl:message>

	<wsdl:message name="getProtoDTOResponse">
		<wsdl:part element="intf:getProtoDTOResponse" name="parameters" />

	</wsdl:message>

	<wsdl:portType name="ProtoBean">
		<wsdl:operation name="getProtoDTO">
			<wsdl:input message="intf:getProtoDTORequest"
				name="getProtoDTORequest" />

			<wsdl:output message="intf:getProtoDTOResponse"
				name="getProtoDTOResponse" />

		</wsdl:operation>

	</wsdl:portType>

	<wsdl:binding name="ProtoBeanSoapBinding" type="intf:ProtoBean">

		<wsdlsoap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http" />

		<wsdl:operation name="getProtoDTO">
			<wsdlsoap:operation soapAction="getProtoDTO" />

			<wsdl:input name="getProtoDTORequest">
				<wsdlsoap:body use="literal" />

			</wsdl:input>

			<wsdl:output name="getProtoDTOResponse">
				<wsdlsoap:body use="literal" />

			</wsdl:output>

		</wsdl:operation>

	</wsdl:binding>

	<wsdl:service name="ProtoBeanService">
		<wsdl:port binding="intf:ProtoBeanSoapBinding"
			name="ProtoBean">
			<wsdlsoap:address
				location="http://localhost:8092/ProtoBeanService/" />

		</wsdl:port>

	</wsdl:service>

</wsdl:definitions>

Thanks in advance,
Florent.


Freeman Fang-2 wrote:
> 
> Hi Florent,
> Do you mean 
> http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
> soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
> Which soap toolkit are the third party webservice using?
> Would you please append the wsdl used for two webservices?
> 
> Best Regards
> 
> Freeman
> 
> 
> Florent wrote:
>> If i use the following code to access to my web service, it works fine : 
>>
>> String endpoint =
>> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>>
>> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
>> 						"<env:Envelope
>> xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
>> " +
>>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>>               			"<env:Body>" +
>>               			"<tns:getProtoDTO>" +
>>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>>               			"</tns:getProtoDTO>" +
>> 						"</env:Body>" +
>> 						"</env:Envelope>";
>> 		
>> 		MessageFactory mf = MessageFactory.newInstance();
>> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
>> ByteArrayInputStream(xml.getBytes()));
>> 		
>> 		SOAPConnection conn =
>> SOAPConnectionFactory.newInstance().createConnection();
>>         SOAPMessage response = conn.call(smsg, url);
>>         
>>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>>
>>
>> If i try to call the fellowing url :
>> http://localhost:8092/ProtoBeanService/
>> i get an error : No SOAPAction header (Application server log)... That's
>> why
>> i was wondering about the soap version.
>>
>> I get the following error in servicemix log : 
>>
>> javax.jbi.messaging.MessagingException: Out not supported
>>         at
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>>         at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>         at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>         at
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>         at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>         at java.lang.Thread.run(Thread.java:595)
>>
>>
>> Any idea?
>>
>> Thank you in advance,
>> Florent.
>>
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi,
>>>
>>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>>> support both of it by default.
>>> Cxf bc will parse the wsdl you provided and create service model 
>>> accordingly, extract soap version from your wsdl binding part.
>>>
>>> Best Regards
>>>
>>> Freeman
>>>
>>>
>>> Florent wrote:
>>>     
>>>> Hello,
>>>>
>>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>>
>>>> I'd like to know if i can set the soap version. For example, when i was
>>>> using service-http, there was a SoapVersion attribute, but i didn't
>>>> find
>>>> one
>>>> for the servicemix-cxf-bc-3.2-schema.
>>>>
>>>> Is soap 1.1 or 1.2 used?
>>>>
>>>> Here is my xbean.xml :
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>>        
>>>>       <cxfbc:consumer 
>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>                         endpoint="ProtoBeanPort"
>>>>                         targetEndpoint="ProtoBean" 
>>>>                         targetService="ns1:ProtoBeanService" 
>>>>                         targetInterface="ns1:ProtoBean" 
>>>>                         > 
>>>>       </cxfbc:consumer> 
>>>>   
>>>>       <cxfbc:provider 
>>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>>                        
>>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>>                         service="ns1:ProtoBeanService" 
>>>>                         endpoint="ProtoBean" 
>>>>                         interfaceName="ns1:ProtoBean" 
>>>>                         > 
>>>>       </cxfbc:provider>
>>>>
>>>> </beans> 
>>>>
>>>>
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13946239
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@iona.com>.
Hi Florent,
Do you mean 
http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean   use 
soap1.1 and http://localhost:8092/ProtoBeanService/  use soap 1.2?
Which soap toolkit are the third party webservice using?
Would you please append the wsdl used for two webservices?

Best Regards

Freeman


Florent wrote:
> If i use the following code to access to my web service, it works fine : 
>
> String endpoint =
> "http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";
>
> String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
> 						"<env:Envelope xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
> " +
>               			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
>               			"<env:Body>" +
>               			"<tns:getProtoDTO>" +
>               			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
>               			"</tns:getProtoDTO>" +
> 						"</env:Body>" +
> 						"</env:Envelope>";
> 		
> 		MessageFactory mf = MessageFactory.newInstance();
> 		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
> ByteArrayInputStream(xml.getBytes()));
> 		
> 		SOAPConnection conn =
> SOAPConnectionFactory.newInstance().createConnection();
>         SOAPMessage response = conn.call(smsg, url);
>         
>         SOAPEnvelope env = response.getSOAPPart().getEnvelope();
>
>
> If i try to call the fellowing url : http://localhost:8092/ProtoBeanService/
> i get an error : No SOAPAction header (Application server log)... That's why
> i was wondering about the soap version.
>
> I get the following error in servicemix log : 
>
> javax.jbi.messaging.MessagingException: Out not supported
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
>         at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>         at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> Any idea?
>
> Thank you in advance,
> Florent.
>
>
>
> Freeman Fang wrote:
>   
>> Hi,
>>
>> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
>> support both of it by default.
>> Cxf bc will parse the wsdl you provided and create service model 
>> accordingly, extract soap version from your wsdl binding part.
>>
>> Best Regards
>>
>> Freeman
>>
>>
>> Florent wrote:
>>     
>>> Hello,
>>>
>>> I'm trying to expose a third party webservice to the bus, using cxf.
>>>
>>> I'd like to know if i can set the soap version. For example, when i was
>>> using service-http, there was a SoapVersion attribute, but i didn't find
>>> one
>>> for the servicemix-cxf-bc-3.2-schema.
>>>
>>> Is soap 1.1 or 1.2 used?
>>>
>>> Here is my xbean.xml :
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>>        
>>>       <cxfbc:consumer 
>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>                         endpoint="ProtoBeanPort"
>>>                         targetEndpoint="ProtoBean" 
>>>                         targetService="ns1:ProtoBeanService" 
>>>                         targetInterface="ns1:ProtoBean" 
>>>                         > 
>>>       </cxfbc:consumer> 
>>>   
>>>       <cxfbc:provider 
>>>                         wsdl="classpath:ProtoBean.wsdl" 
>>>                        
>>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>>                         service="ns1:ProtoBeanService" 
>>>                         endpoint="ProtoBean" 
>>>                         interfaceName="ns1:ProtoBean" 
>>>                         > 
>>>       </cxfbc:provider>
>>>
>>> </beans> 
>>>
>>>
>>>   
>>>       
>>     
>
>   

Re: servicemix-cxf-bc & soapVersion attribute

Posted by Florent <fl...@sopragroup.com>.

If i use the following code to access to my web service, it works fine : 

String endpoint =
"http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean";

String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
						"<env:Envelope xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
" +
              			"xmlns:tns=\"http://ejb.proto.mycompany.com\">" +
              			"<env:Body>" +
              			"<tns:getProtoDTO>" +
              			"<tns:getProtoDTORequest>0</tns:getProtoDTORequest>" +
              			"</tns:getProtoDTO>" +
						"</env:Body>" +
						"</env:Envelope>";
		
		MessageFactory mf = MessageFactory.newInstance();
		SOAPMessage smsg = mf.createMessage(new MimeHeaders(), new
ByteArrayInputStream(xml.getBytes()));
		
		SOAPConnection conn =
SOAPConnectionFactory.newInstance().createConnection();
        SOAPMessage response = conn.call(smsg, url);
        
        SOAPEnvelope env = response.getSOAPPart().getEnvelope();


If i try to call the fellowing url : http://localhost:8092/ProtoBeanService/
i get an error : No SOAPAction header (Application server log)... That's why
i was wondering about the soap version.

I get the following error in servicemix log : 

javax.jbi.messaging.MessagingException: Out not supported
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:357)
        at
org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:125)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
        at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:166)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


Any idea?

Thank you in advance,
Florent.



Freeman Fang wrote:
> 
> Hi,
> 
> You needn't specify it in cxf bc endpint configuration. Cxf bc should 
> support both of it by default.
> Cxf bc will parse the wsdl you provided and create service model 
> accordingly, extract soap version from your wsdl binding part.
> 
> Best Regards
> 
> Freeman
> 
> 
> Florent wrote:
>> Hello,
>>
>> I'm trying to expose a third party webservice to the bus, using cxf.
>>
>> I'd like to know if i can set the soap version. For example, when i was
>> using service-http, there was a SoapVersion attribute, but i didn't find
>> one
>> for the servicemix-cxf-bc-3.2-schema.
>>
>> Is soap 1.1 or 1.2 used?
>>
>> Here is my xbean.xml :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>        xmlns:ns1="http://ejb.proto.mycompany.com">
>>        
>>       <cxfbc:consumer 
>>                         wsdl="classpath:ProtoBean.wsdl" 
>>                         endpoint="ProtoBeanPort"
>>                         targetEndpoint="ProtoBean" 
>>                         targetService="ns1:ProtoBeanService" 
>>                         targetInterface="ns1:ProtoBean" 
>>                         > 
>>       </cxfbc:consumer> 
>>   
>>       <cxfbc:provider 
>>                         wsdl="classpath:ProtoBean.wsdl" 
>>                        
>> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>>                         service="ns1:ProtoBeanService" 
>>                         endpoint="ProtoBean" 
>>                         interfaceName="ns1:ProtoBean" 
>>                         > 
>>       </cxfbc:provider>
>>
>> </beans> 
>>
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/servicemix-cxf-bc---soapVersion-attribute-tf4860627s12049.html#a13910247
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix-cxf-bc & soapVersion attribute

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

You needn't specify it in cxf bc endpint configuration. Cxf bc should 
support both of it by default.
Cxf bc will parse the wsdl you provided and create service model 
accordingly, extract soap version from your wsdl binding part.

Best Regards

Freeman


Florent wrote:
> Hello,
>
> I'm trying to expose a third party webservice to the bus, using cxf.
>
> I'd like to know if i can set the soap version. For example, when i was
> using service-http, there was a SoapVersion attribute, but i didn't find one
> for the servicemix-cxf-bc-3.2-schema.
>
> Is soap 1.1 or 1.2 used?
>
> Here is my xbean.xml :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>        xmlns:ns1="http://ejb.proto.mycompany.com">
>        
>       <cxfbc:consumer 
>                         wsdl="classpath:ProtoBean.wsdl" 
>                         endpoint="ProtoBeanPort"
>                         targetEndpoint="ProtoBean" 
>                         targetService="ns1:ProtoBeanService" 
>                         targetInterface="ns1:ProtoBean" 
>                         > 
>       </cxfbc:consumer> 
>   
>       <cxfbc:provider 
>                         wsdl="classpath:ProtoBean.wsdl" 
>                        
> locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean" 
>                         service="ns1:ProtoBeanService" 
>                         endpoint="ProtoBean" 
>                         interfaceName="ns1:ProtoBean" 
>                         > 
>       </cxfbc:provider>
>
> </beans> 
>
>
>