Hi Mark
 Thanks for your suggestion..I will try to wrap a java class and see what happens..The document that i have checked ragarding manually deploying  webservices in weblogic is specific to weblogic9.0.
  I have done the same thing what they suggested in that document in weblogic 8.1. but in ejb-jar.xml the <service-endpoint> is not recognised by the Doctype i mentioned in the xml file...Later on i came to know that in EJB 2.1 the ejb-jar.xml will not have a DOCTYPE.It will have the XML schema instead..( the example given in document uses XML Schema)...I checked out weblogic 8.1 documentation and came to know that it is not EJB 2.1 complaint..
  Anyways i never thought developing web services will turn out a night mare for me...I appreciate your suggestion..that makes sense ....
  A quick question... is it possible to expose a method  in java class/ EJB which returns a java.util.Map ? because most of the methods in the EJB that i am planning to convert to webservice returns Map,Collection etc..(they are interfaces)....IF it is not possible then i will try to write a wrapper class ro return specific data types like HashMap...etc..
 
Thanks Once Again
Chandu


Mark Ford <[EMAIL PROTECTED]> wrote:
I've seen this work on weblogic 8.1 where the endpoint being exposed was
packaged as a regular java class. My assumption is that if it works as a
regular java class on 8.1, it should work as an ejb - although I could in
fact be wrong. The difference between the two is minor when it comes to the
WS4EE specific packaging files. Perhaps someone else on this list or a
weblogic specific list could shed more light. If for some reason your ejb
can't be exposed through this facility (perhaps due to a bug in weblogic 8.1
or lack of support) then it seems trivial to introduce a simple java class
that you could expose as a web service and have that class access the bean.

Good luck.


-----Original Message-----
From: Chandu Koppella [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 2:00 PM
To: [email protected]
Subject: RE: Using Axis With Weblogic

Hi Mark
I checked out the JSR 109 Specification in weblogic but it is only
compatible with weblogic 9.0 beta version which i can not suggest for the
production environment at my work place...Is there any other alternative
that you can think of Thanks Chandu

Mark Ford <[EMAIL PROTECTED]>wrote:

Don't convert, rather expose the existing EJB as a web service
through the
WS4EE / JSR 109 specification. Check your weblogic manuals for
information
on this. They must have some working examples.

-----Original Message-----
From: Chandu Koppella [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 11:38 AM
To: [email protected]
Subject: Using Axis With Weblogic

Hi ,

Please Please suggest me the possible solutions....I have been
looking for
it from past 2 weeks with out any definite solution...

I am assigned to convert an EJB packed as jar file in to web
services ...my
application server is weblogic...I started with servicegen utility
in
weblogic to convert the EJB to services but some of the methods in
EJB has
return type java.util.Map which is not supported by servicegen so i
had to
switch my plan to using Axis along with weblogic...

Is this possible with Axis+weblogic...I have gone through some
tutorials
where they explained how to use AXIS to convert java classes to web
services
but not about the EJBs that are packed in to jar files.Please point
me to
the tutorial if there is any...or please give me some clues to start
with....Your Help is HIGHLY APPRECIATED.

Thanks

Chandu

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



________________________________

Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to