Hi,

You need to specify the operation name if there is more than one operation
defined for that PortType.

Have you tried to specify the "operationName"

Edell.



On Mon, Aug 25, 2008 at 12:59 PM, stlecho <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I've configured an http:endpoint and a cxfbc:provider. The WSDL contains 2
> operations "encode" and "decode".
>
> When sending an XML request to the specified http:endpoint, I'm receiving
> the following error message: "Operation not bound on this MessageExchange".
> I suppose that this is linked to the fact that the WSDL contains 2
> operations, but I have not find a way to configure this.
>
> Namespace definition
> xmlns:encode="http://www.ehealth.be/webservices/cod";
>
> HTTP endpoint
>  <http:endpoint service="dummy:http-encode"
>                 targetService="encode:Codage"
>                 endpoint="CodageSOAP"
>                 role="consumer"
>                 locationURI="http://0.0.0.0:8192/Encode/";
>                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; />
>
>
> CXFBC provider
>        <cxfbc:provider
>                                wsdl="classpath:codage.wsdl"
>                                locationURI="
> https://wwwacc.behealth.smals-mvm.be:443/codage_1_0/codage";
>                                service="encode:Codage"
>                                endpoint="CodageSOAP"
>                                useJBIWrapper="false"
>        />
>
>
> Stacktrace
> 12:47:50,289 | DEBUG | pool-flow.seda.servicemix-cxf-bc-thread-15 |
> SedaQueue                | .jbi.nmr.flow.seda.SedaQueue$1  132 |
> [EMAIL PROTECTED] dequeued
> exchange: InOut[
>  id: ID:192.168.13.175-11bf8ae14e1-10:5
>  status: Active
>  role: provider
>  service: 
> {http://www.ehealth.be/webservices/cod}Codage<http://www.ehealth.be/webservices/cod%7DCodage>
>  endpoint: CodageSOAP
>  in: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:bean="http://beans.codage.ehealth.smals.be/
> "><soapenv:Header/><soapenv:Body><bean:encodeRequest><applicationName>?</applicationName><originalData><id>?</id><randomize>?</randomize><inputData>?</inputData></originalData></bean:encodeRequest></soapenv:Body></soapenv:Envelope>
> ]
> 12:47:50,305 | DEBUG | pool-flow.seda.servicemix-cxf-bc-thread-15 |
> CxfBcComponent           | emix.common.AsyncBaseLifeCycle  468 | Received
> exchange: status: Active, role: provider
> 12:47:50,305 | DEBUG | pool-flow.seda.servicemix-cxf-bc-thread-15 |
> CxfBcComponent           | emix.common.AsyncBaseLifeCycle  536 | Retrieved
> correlation id: ID:192.168.13.175-11bf8ae14e1-10:5
> 12:47:50,305 | ERROR | pool-flow.seda.servicemix-cxf-bc-thread-15 |
> CxfBcComponent           | ervicemix.common.BaseLifeCycle   48 | Error
> processing exchange InOut[
>  id: ID:192.168.13.175-11bf8ae14e1-10:5
>  status: Active
>  role: provider
>  service: 
> {http://www.ehealth.be/webservices/cod}Codage<http://www.ehealth.be/webservices/cod%7DCodage>
>  endpoint: CodageSOAP
>  in: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:bean="http://beans.codage.ehealth.smals.be/
> "><soapenv:Header/><soapenv:Body><bean:encodeRequest><applicationName>?</applicationName><originalData><id>?</id><randomize>?</randomize><inputData>?</inputData></originalData></bean:encodeRequest></soapenv:Body></soapenv:Envelope>
> ]
> org.apache.cxf.interceptor.Fault: Operation not bound on this
> MessageExchange
>        at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:163)
>        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:172)
>        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)
> Caused by: java.lang.Exception: Operation not bound on this MessageExchange
>        ... 11 more
>
>
> --
> View this message in context:
> http://www.nabble.com/Operation-not-bound-on-this-MessageExchange-tp19142533p19142533.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to