2 Replies Latest reply on Sep 21, 2009 5:11 PM by xuguang su

    What is the targetendpoint of SubscriptionManager service in CXF config

    xuguang su Novice

      Hi,

        To expose the unsubscirbe call for SubscriptionManager service    I defined my cxf consumer like this:

        <cxfbc:consumer wsdl="classpath:wsn.wsdl"

                       service="wsn:SubscriptionManagerService"

                       endpoint="SMSJBI"

                       targetService="wsninn:Subscription"

                       targetInterface="wsnb:PausableSubscriptionManager"

                       locationURI="http://0.0.0.0:8092/SubscriptionManagerService/">

      </cxfbc:consumer>

        I got this in my log:

      "Endpoint ServiceEndpoint[service=Subscription,endpoint=ID-10-10-8-27-123c9b04e48-22-0] implements interface PausableSubscriptionManager".

       

      Looks like the endpoint is generated runtime. Is there a way I can define my cxfbc:consumer so that the endpoint can be some thing I can control or preset? Or there is a default endpoint like the NotificationBroker service, which is "Broker" ?

       

      Thanks for any help!