-
Feb 7th, 2006, 09:59 AM
#1
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
-
Feb 7th, 2006, 12:47 PM
#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
-
Feb 7th, 2006, 01:20 PM
#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.
-
Feb 7th, 2006, 01:31 PM
#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
-
Feb 7th, 2006, 02:28 PM
#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
-
Feb 8th, 2006, 09:52 AM
#6
Exposing WebService in Weblogic(8.1 SP3)
Hi,
Can someone tell whether it's doable.
Thx
Anan
-
Mar 2nd, 2006, 11:07 AM
#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.
-
Mar 2nd, 2006, 11:17 AM
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules