5 Replies Latest reply on Jan 25, 2010 5:37 AM by Fran GJ

    Camel route between http/soap endpoints

    Fran GJ Newbie

      Hi

       

      I have the next scenary:

      soapUI -> http consumer -> camel -> http provider -> external web service

       

      My request (includes a security header) goes to my web service and the soapUI client get in response the next fault :

       

       

       

       

      XBEAN.XML:

       

      <http:endpoint service="RepositoryService:RepositoryServiceConsumer"

                       endpoint="soap"

                       role="consumer"

                       soap="true"

                       soapVersion="1.1"

                       locationURI="http://localhost:8192/RepositoryService/"    

                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out"

                       targetService="RepositoryService:RepositoryServiceListener"

                       targetEndpoint="listenerEndpoint"

                       />

                                                                 

          <http:endpoint service="RepositoryService:RepositoryService"

                       endpoint="RepositoryServicePort"

                       role="provider"

                       soap="true"

                       soapVersion="1.1"

                     locationURI="http://localhost:8083/alfresco/cmis/RepositoryService"    

                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out"  

                       interfaceName="RepositoryService:RepositoryServicePort"

                      wsdlResource="http://localhost:8083/alfresco/cmis/RepositoryService?wsdl"

      />

       

       

      MyRouteBuilder.java:

       

      from("jbi:endpoint:http://docs.oasis-open.org/ns/cmis/ws/200901/RepositoryServiceListener/listenerEndpoint")

      .to("jbi:endpoint:http://docs.oasis-open.org/ns/cmis/ws/200901/RepositoryService/RepositoryServicePort")

       

       

      THX