When I use CXF soap transport I have a error: “No query handler found for
URl”.
This is my java code called from JSP page:
String [] param = {login.getId().getServiceId(),login.getId().getLogin()};
String oper =
"http://localhost:65101/services/LoginService?method=getLogin";
response = getMuleClient().send(oper, param, null);
Mule config:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.0"
xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.0"
xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.0"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.mulesource.org/schema/mule/core/2.0
http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
http://www.mulesource.org/schema/mule/soap/2.0
http://www.mulesource.org/schema/mule/soap/2.0/mule-soap.xsd
http://www.mulesource.org/schema/mule/vm/2.0
http://www.mulesource.org/schema/mule/vm/2.0/mule-vm.xsd
http://www.mulesource.org/schema/mule/cxf/2.0
http://www.mulesource.org/schema/mule/cxf/2.0/mule-cxf.xsd">
<description>
</description>
<spring:bean id="loginComponent"
class="org.openiam.idm.esb.mule.ws.LoginComponent">
<spring:property name="loginService" ref="loginService" />
</spring:bean>
<!-- Mule Services
The Mule model inits and manages your UMO components
-->
<model name="openIAMServices">
<service name="LoginService">
<inbound>
<inbound-endpoint
address="axis:http://localhost:65091/services">
<soap:http-to-soap-request-transformer/>
</inbound-endpoint>
<inbound-endpoint
address="axis:http://localhost:65092/services"/>
<inbound-endpoint
address="cxf:http://localhost:65101/services">
<soap:http-to-soap-request-transformer/>
</inbound-endpoint>
<inbound-endpoint
address="cxf:http://localhost:65102/services">
</inbound-endpoint>
<vm:inbound-endpoint address="vm://login" />
</inbound>
<!--
<component>
<spring-object bean="loginComponent"/>
</component>
-->
<pooled-component>
<prototype-object
class="org.openiam.idm.esb.mule.ws.LoginComponent">
<properties>
<spring:entry key="loginService">
<spring:ref bean="loginService"/>
</spring:entry>
</properties>
</prototype-object>
</pooled-component>
</service>
</model>
</mule>
I have attached my tomcat log file too.
Regards,
Relja
http://www.nabble.com/file/p16828194/error-mule20-cxf-tomcat.txt
error-mule20-cxf-tomcat.txt
-----
Regards,
Relja
--
View this message in context: http://www.nabble.com/No-query-handler-found-for-URl---MUle-2.0-and-CXF-tp16828194p16828194.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
As far as I know, the invocation URL when using http should be in the
following format
http://host/service/OPERATION/PARAM_NAME/PARAM_VALUE
Regards
Marie Rizzo
---------------------------------------------------------------------
Marie Rizzo wrote:Hi As far as I know, the invocation URL when using http should be in the following format http://host/service/OPERATION/PARAM_NAME/PARAM_VALUE Regards Marie Rizzo Relja wrote: > Hi, > I will need help with using a CXF transport with a mule client using Mule > 2.0. > I have tested my CXF endpoint using soapui and Flex UI and it is working > fine. > Also, using vm my endpoint is working fine. > > When I use CXF soap transport I have a error: “No query handler found for > URl”. > > This is my java code called from JSP page: > > String [] param = {login.getId().getServiceId(),login.getId().getLogin()}; > String oper = > "http://localhost:65101/services/LoginService?method=getLogin"; > response = getMuleClient().send(oper, param, null); > > Mule config: > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:spring="http://www.springframework.org/schema/beans" > xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.0" > xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.0" > xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.0" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > http://www.mulesource.org/schema/mule/core/2.0 > http://www.mulesource.org/schema/mule/core/2.0/mule.xsd > http://www.mulesource.org/schema/mule/soap/2.0 > http://www.mulesource.org/schema/mule/soap/2.0/mule-soap.xsd > http://www.mulesource.org/schema/mule/vm/2.0 > http://www.mulesource.org/schema/mule/vm/2.0/mule-vm.xsd > http://www.mulesource.org/schema/mule/cxf/2.0 > http://www.mulesource.org/schema/mule/cxf/2.0/mule-cxf.xsd"> > > > > class="org.openiam.idm.esb.mule.ws.LoginComponent"> > > > > > > > > > > address="axis:http://localhost:65091/services"> > > > > address="axis:http://localhost:65092/services"/> > > address="cxf:http://localhost:65101/services"> > > > > address="cxf:http://localhost:65102/services"> > > > > > > > > class="org.openiam.idm.esb.mule.ws.LoginComponent"> > > > > > > > > > > > > > I have attached my tomcat log file too. > > Regards, > Relja > > http://www.nabble.com/file/p16828194/error-mule20-cxf-tomcat.txt > error-mule20-cxf-tomcat.txt > > ----- > > Regards, > Relja > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email