Announcement Announcement Module
Collapse
No announcement yet.
Exposing WebService in Weblogic(8.1 SP3) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exposing WebService in Weblogic(8.1 SP3)

    Hi,
    I am converting an legacy application which has webservice functionality.

    One of the webservice class uses spring managed beans.

    My question is:How will get my spring managed beans in the webservice POJO.

    I am not using AXIS.Webservice is based on Weblogic(8.1 SP3) RPC style.

    Thx
    Anan

  • #2
    Are you deploying a war? Maybe you should use the WebApplicationContextUtils to get the app context and do getBean() to get the references.

    Jess

    Comment


    • #3
      Exposing WebService in Weblogic(8.1

      Yes i am deploying it as war file.How do i get Webapplication context utils in POJO .

      My webservice class is not dependent on Http servlet API.

      I am thinking about an another options.

      I can create a Factory which is going to aware of bean factory.Then in my webservice i can call beanfactory to get the spring managed beans.

      Drawback is :My service object is aware of factory ..which is spring aware.

      I don't know whether how people or Handling the webservice in weblogic(no AXIS) when their service is dependent on spring managed beans.

      Comment


      • #4
        I'm not sure, but BEA seems to be aggresively supporting Spring so maybe check the docs on their site. They also have a Spring-based version of that MedRec app, maybe some samples in there can help.

        Jess

        Comment


        • #5
          Exposing WebService in Weblogic(8.1

          Hi,
          I looked into the application.It has an example of consuming webservice (JAXRPCproxyfactorybean) not for exposing webservice.

          I know spring has servletendpoint support .I don't know how to these class to work with weblogic webservice servlet.


          Thx
          Anan

          Comment


          • #6
            Exposing WebService in Weblogic(8.1 SP3)

            Hi,
            Can someone tell whether it's doable.

            Thx
            Anan

            Comment


            • #7
              Hey Anan. Did you take a look at the medrecEar of the BEA MedRec-Spring example applicaiton? This EAR exposes WLS WSs. The Physician applicaiton consumes them.

              Comment


              • #8
                Exposing WebService in Weblogic

                Hi cwall,
                I tought it had only the consuming part not the exposing part.

                I was able to mange with factory with application conext aware.

                Thx
                Anan

                Comment

                Working...
                X