2 Replies Latest reply on May 28, 2012 6:56 AM by ffang

    Is it possible to set a reference about XSD files in the own ESB

    snatera

      Hello everybody,

       

      I have this architecture, Web Service (A), Fuse ESB (ServiceMix) (B) and a Web Service Client (C):

       

      A  <-->  B  <-->  C

       

      A and B are in different servers, so, I want to send some requests from (C) to (A) through (B).

      I have to define two cxf endpoints and a camel router when I create my bundle in the beans.xml file,

      these CXF Endpoints have a reference to WSDL file and others attributes.

       

      The thing is, when I start ServiceMix, it makes a Web Service with the endpoint referenced in beans.xml, but the XSD reference

      in the WSDL generated by Servicex are linked to (A) and I want they will be linked to the same ip that Service Mix has (B).

       

      My questions are: Is it possible to set a reference about XSD files in the own ESB?

      How can I reference XSD files in the ESB through beams.xml? What should I do?

        • 1. Re: Is it possible to set a reference about XSD files in the own ESB
          davsclaus

          Yes I think there is an option in CXF you can tell it to use an explicit WSDL file, and there is maybe also an option where you can configure the HTTP URL that is being exposed in the WSDL. So there is possible 2 options or more.

           

          Let me ask around.

          • 2. Re: Is it possible to set a reference about XSD files in the own ESB
            ffang

            Hi,

             

            Yeah,  we can explicitly set wsdl and set the wsdl published address by property "publishedEndpointUrl". However I'm not sure what you mean by "but the XSD reference

            in the WSDL generated by Servicex are linked to (A) and I want they will be linked to the same ip that Service Mix has (B). ". Do you mean the service published address or something else? Could you elaborate it? Post configuration/wsdl/xsd files and describe what you want should be more helpful.

             

            Freeman