How to modify the following configuration? in the following I offer wsdl

 camel-config.xml : 
> <?xml version="1.0" encoding="UTF-8"?> 
> 
> <beans xmlns="http://www.springframework.org/schema/beans"; 
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>        xmlns:camel="http://camel.apache.org/schema/spring"; 
>        xmlns:cxf="http://camel.apache.org/schema/cxf"; 
>        xmlns:context="http://www.springframework.org/schema/context"; 
>        xmlns:jaxws="http://cxf.apache.org/jaxws"; 
>        xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
>        xsi:schemaLocation=" 
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
>        http://www.springframework.org/schema/context
> http://www.springframework.org/schema/context/spring-context.xsd
>        http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd
>        http://camel.apache.org/schema/cxf
> http://camel.apache.org/schema/cxf/camel-cxf.xsd";> 
> 
>  <import resource="classpath:META-INF/cxf/cxf.xml" /> 
> 
> 
>   <context:property-placeholder 
> location="classpath:incident.properties,file:target/custom.properties"/> 
> 
> 
>         <bean id="logIn"
> class="org.apache.cxf.interceptor.LoggingInInterceptor" /> 
>         <bean id="logOut"
> class="org.apache.cxf.interceptor.LoggingOutInterceptor" 
> /> 
>         <bean id="saajOut" 
> class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor" /> 
>         <bean id="saajIn" 
> class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" /> 
>         <bean id="wss4jOut" 
> class="org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor"> 
>                 <constructor-arg> 
>                         <map> 
>                                 <entry key="action" value="UsernameToken
> Timestamp" /> 
>                                 <entry key="mustUnderstand" value="0" /> 
>                                 <entry key="passwordType"
> value="PasswordDigest" /> 
>                                 <entry key="user" value="iloyal-web" /> 
>                                 <entry key="passwordCallbackRef"> 
>                                         <ref bean="clientPasswordCallback"
> /> 
>                                 </entry> 
>                         </map> 
>                 </constructor-arg> 
>         </bean> 
>         <bean id="wss4jIn" 
> class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"> 
>                 <constructor-arg> 
>                         <map> 
>                                 <entry key="action" value="UsernameToken
> Timestamp" /> 
>                                 <entry key="mustUnderstand" value="0" /> 
>                                 <entry key="passwordType"
> value="PasswordDigest" /> 
>                                 <entry key="user" value="iloyal-web" /> 
>                                 <entry key="passwordCallbackRef"> 
>                                         <ref bean="clientPasswordCallback"
> /> 
>                                 </entry> 
>                         </map> 
>                 </constructor-arg> 
>         </bean> 
>         <bean id="clientPasswordCallback" 
> class="com.ibsplc.iloyal.ClientPasswordCallback"> 
>             <property name="passwords"> 
>                     <map> 
>                                         <entry key="iloyal-web"
> value="iloyal123" /> 
>                                         <entry key="travel-sky"
> value="CEAEMsky" /> 
>                         </map> 
>             </property> 
>         </bean> 
> 
>   <bean id="enrichBean" 
> class="org.apache.camel.example.cxf.proxy.EnrichBean"/> 
> 
> 
>    <cxf:cxfEndpoint id="reportAuthIncident" 
> 
> address="http://172.21.127.200:10001/authenticateMemberService"; 
>                    endpointName="s:AuthenticateMember" 
>                    serviceName="s:AuthenticateMemberService" 
> 
> wsdlURL="http://172.20.35.232:5220/cea-ws/services/AuthenticateMemberService?wsdl";
>  
> 
> xmlns:s="http://www.ibsplc.com/iloyal/member/authenticatemember/wsdl"; > 
>                      <cxf:properties> 
>                                             <entry key="dataFormat"
> value="CXF_MESSAGE" /> 
>                                      </cxf:properties> 
>    </cxf:cxfEndpoint> 
>    <cxf:cxfEndpoint id="realreportAuthIncident" 
> 
> address="http://172.20.35.232:5220/cea-ws/services/AuthenticateMemberService";>
>  
>                        <cxf:properties> 
>                                             <entry key="dataFormat"
> value="CXF_MESSAGE" /> 
>                                        </cxf:properties> 
>                    <cxf:inInterceptors> 
>                                                 <ref bean="logIn" /> 
>                                         </cxf:inInterceptors> 
>                                         <cxf:outInterceptors> 
>                                                 <ref bean="saajOut" /> 
>                                                 <ref bean="wss4jOut" /> 
>                                                 <ref bean="logOut" /> 
>                                         </cxf:outInterceptors> 
> 
>    </cxf:cxfEndpoint> 
> 
> 
>   <camel:camelContext xmlns="http://camel.apache.org/schema/spring"; 
> id="context1"> 
> 
>     <propertyPlaceholder id="properties" 
> location="classpath:incident.properties,file:target/custom.properties"/> 
> 
>     <camel:endpoint id="callRealWebService" 
> uri="http://172.17.64.133:8080/sdk/SDKService?throwExceptionOnFailure=false"/>
>  
> 
>         <camel:endpoint id="callAuthRealWebService" 
> uri="http://172.20.35.232:5220/cea-ws/services/AuthenticateMemberService?throwExceptionOnFailure=false";
>  
> /> 
>     <camel:route trace="true"> 
> 
>       <camel:from uri="cxf:bean:reportAuthIncident"/> 
> 
>       <camel:to uri="cxf:bean:realreportAuthIncident" /> 
> 
>     </camel:route> 
>   </camel:camelContext> 
> </beans> 

wsdl context:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://www.ibsplc.com/iloyal/member/authenticatemember/wsdl";
xmlns:tns1="http://www.ibsplc.com/iloyal/member/authenticatemember/type/";
xmlns:impl="http://www.ibsplc.com/iloyal/member/authenticatemember/wsdl";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:cmn="http://www.ibsplc.com/iloyal/common/type/";>
  <wsdl:types>
    <xsd:schema 
targetNamespace="http://www.ibsplc.com/iloyal/member/authenticatemember/";
xmlns="http://www.w3.org/2001/XMLSchema";>
                        <xsd:import
namespace="http://www.ibsplc.com/iloyal/member/authenticatemember/type/";
schemaLocation="AuthenticateMember.xsd"/>
                </xsd:schema>
  </wsdl:types>
  <wsdl:message name="MemberWebServiceException">
    <wsdl:part name="MemberWebServiceException"
element="tns1:MemberWebServiceException">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="AuthenticateMemberResponse">
    <wsdl:part name="AuthenticateMemberResponse"
element="tns1:AuthenticateMemberResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="AuthenticateMemberRequest">
    <wsdl:part name="AuthenticateMemberRequest"
element="tns1:AuthenticateMemberRequest">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="AuthenticateMember">
    <wsdl:operation name="authenticateMember">
      <wsdl:input name="AuthenticateMemberRequest"
message="impl:AuthenticateMemberRequest">
    </wsdl:input>
      <wsdl:output name="AuthenticateMemberResponse"
message="impl:AuthenticateMemberResponse">
    </wsdl:output>
      <wsdl:fault name="MemberWebServiceException"
message="impl:MemberWebServiceException">
    </wsdl:fault>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="authenticateMemberServiceSoapBinding"
type="impl:AuthenticateMember">
    <wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="authenticateMember">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="AuthenticateMemberRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="AuthenticateMemberResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
      <wsdl:fault name="MemberWebServiceException">
        <wsdlsoap:fault name="MemberWebServiceException" use="literal"/>
      </wsdl:fault>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="AuthenticateMemberService">
    <wsdl:port name="AuthenticateMember"
binding="impl:authenticateMemberServiceSoapBinding">
      <wsdlsoap:address
location="/cea-ws/services/AuthenticateMemberService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>




--
View this message in context: 
http://camel.465427.n5.nabble.com/org-apache-cxf-binding-soap-SoapFault-Can-t-find-the-BindingOperationInfo-with-operation-name-tp5739286p5739342.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to