Results 1 to 8 of 8

Thread: Exposing WebService in Weblogic(8.1 SP3)

  1. #1
    Join Date
    Nov 2005
    Posts
    11

    Default 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. #2
    Join Date
    Nov 2005
    Location
    Chicago
    Posts
    122

    Default

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

    Jess

  3. #3
    Join Date
    Nov 2005
    Posts
    11

    Default 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.

  4. #4
    Join Date
    Nov 2005
    Location
    Chicago
    Posts
    122

    Default

    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

  5. #5
    Join Date
    Nov 2005
    Posts
    11

    Default 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

  6. #6
    Join Date
    Nov 2005
    Posts
    11

    Default Exposing WebService in Weblogic(8.1 SP3)

    Hi,
    Can someone tell whether it's doable.

    Thx
    Anan

  7. #7
    Join Date
    Jul 2005
    Posts
    10

    Default

    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.

  8. #8
    Join Date
    Dec 2005
    Posts
    17

    Default 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •