RE: Using Axis With Weblogic
Haii Thats encouraging...:) Can you point me to some examples involving this? Thanks ChanduMark Ford <[EMAIL PROTECTED]> wrote: I recall seeing serializers/deserializers in axis for maps and collectionsso I suspect that this will work. -Original Message-From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 2:48 PMTo: axis-user@ws.apache.orgSubject: RE: Using Axis With WeblogicHi MarkThanks for your suggestion..I will try to wrap a java class and see whathappens..The document that i have checked ragarding manually deployingwebservices in weblogic is specific to weblogic9.0.I have done the same thing what they suggested in that document inweblogic 8.1. but in ejb-jar.xml the is not recognised bythe Doctype i mentioned in the xml file...Later on i came to know that inEJB 2.1 the ejb-jar.xml will not have a DOCTYPE.It will have the XML schemainstead..( the example given in document uses XML Schema)...I checked outweblogic 8.1 documentation and came to know that it is not EJB 2.1complaint..Anyways i never thought developing web services will turn out a night marefor me...I appreciate your suggestion..that makes sense A quick question... is it possible to expose a method in java class/ EJBwhich returns a java.util.Map ? because most of the methods in the EJB thati am planning to convert to webservice returns Map,Collection etc..(they areinterfaces)IF it is not possible then i will try to write a wrapperclass ro return specific data types like HashMap...etc..Thanks Once AgainChanduMark Ford <[EMAIL PROTECTED]>wrote:I've seen this work on weblogic 8.1 where the endpoint being exposedwaspackaged as a regular java class. My assumption is that if it worksas aregular java class on 8.1, it should work as an ejb - although Icould infact be wrong. The difference between the two is minor when it comesto theWS4EE specific packaging files. Perhaps someone else on this list oraweblogic specific list could shed more light. If for some reasonyour ejbcan't be exposed through this facility (perhaps due to a bug inweblogic 8.1or lack of support) then it seems trivial to introduce a simple javaclassthat you could expose as a web service and have that class accessthe bean.Good luck.-Original Message-From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 2:00 PMTo: axis-user@ws.apache.orgSubject: RE: Using Axis With WeblogicHi MarkI checked out the JSR 109 Specification in weblogic but it is onlycompatible with weblogic 9.0 beta version which i can not suggestfor theproduction environment at my work place...Is there any otheralternativethat you can think of Thanks Chandu Mark Ford wrote:Don't convert, rather expose the existing EJB as a web servicethrough theWS4EE / JSR 109 specification. Check your weblogic manuals forinformationon this. They must have some working examples.-Original Message-From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 11:38 AMTo: axis-user@ws.apache.orgSubject: Using Axis With WeblogicHi , Please Please suggest me the possible solutionsI have beenlooking forit from past 2 weeks with out any definite solution... I am assigned to convert an EJB packed as jar file in to webservices ...myapplication server is weblogic...I started with servicegen utilityinweblogic to convert the EJB to services but some of the methods inEJB hasreturn type java.util.Map which is not supported by servicegen so ihad toswitch my plan to using Axis along with weblogic... Is this possible with Axis+weblogic...I have gone through sometutorialswhere they explained how to use AXIS to convert java classes to webservicesbut not about the EJBs that are packed in to jar files.Please pointme tothe tutorial if there is any...or please give me some clues to startwithYour Help is HIGHLY APPRECIATED. Thanks Chandu __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection aroundhttp://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 aroundhttp://mail.yahoo.com __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
RE: Using Axis With Weblogic
I recall seeing serializers/deserializers in axis for maps and collections so I suspect that this will work. -Original Message- From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 2:48 PM To: axis-user@ws.apache.org Subject: RE: Using Axis With Weblogic 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 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: axis-user@ws.apache.org 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 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: axis-user@ws.apache.org Subject: Using Axis With Weblogic Hi , Please Please suggest me the possible solutionsI 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 withYour 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
RE: Using Axis With Weblogic
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 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 waspackaged as a regular java class. My assumption is that if it works as aregular java class on 8.1, it should work as an ejb - although I could infact be wrong. The difference between the two is minor when it comes to theWS4EE specific packaging files. Perhaps someone else on this list or aweblogic specific list could shed more light. If for some reason your ejbcan't be exposed through this facility (perhaps due to a bug in weblogic 8.1or lack of support) then it seems trivial to introduce a simple java classthat 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 PMTo: axis-user@ws.apache.orgSubject: RE: Using Axis With WeblogicHi MarkI checked out the JSR 109 Specification in weblogic but it is onlycompatible with weblogic 9.0 beta version which i can not suggest for theproduction environment at my work place...Is there any other alternativethat you can think of Thanks Chandu Mark Ford <[EMAIL PROTECTED]>wrote:Don't convert, rather expose the existing EJB as a web servicethrough theWS4EE / JSR 109 specification. Check your weblogic manuals forinformationon this. They must have some working examples.-Original Message-From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 11:38 AMTo: axis-user@ws.apache.orgSubject: Using Axis With WeblogicHi , Please Please suggest me the possible solutionsI have beenlooking forit from past 2 weeks with out any definite solution... I am assigned to convert an EJB packed as jar file in to webservices ...myapplication server is weblogic...I started with servicegen utilityinweblogic to convert the EJB to services but some of the methods inEJB hasreturn type java.util.Map which is not supported by servicegen so ihad toswitch my plan to using Axis along with weblogic... Is this possible with Axis+weblogic...I have gone through sometutorialswhere they explained how to use AXIS to convert java classes to webservicesbut not about the EJBs that are packed in to jar files.Please pointme tothe tutorial if there is any...or please give me some clues to startwithYour Help is HIGHLY APPRECIATED. Thanks Chandu __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection aroundhttp://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
RE: Using Axis With Weblogic
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: axis-user@ws.apache.org 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: axis-user@ws.apache.org Subject: Using Axis With Weblogic Hi , Please Please suggest me the possible solutionsI 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 withYour 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! <http://us.rd.yahoo.com/evt=31637/*http://smallbusiness.yahoo.com/resources/ >
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 theWS4EE / JSR 109 specification. Check your weblogic manuals for informationon this. They must have some working examples.-Original Message-From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 11:38 AMTo: axis-user@ws.apache.orgSubject: Using Axis With WeblogicHi , Please Please suggest me the possible solutionsI have been looking forit from past 2 weeks with out any definite solution... I am assigned to convert an EJB packed as jar file in to web services ...myapplication server is weblogic...I started with servicegen utility inweblogic to convert the EJB to services but some of the methods in EJB hasreturn type java.util.Map which is not supported by servicegen so i had toswitch my plan to using Axis along with weblogic... Is this possible with Axis+weblogic...I have gone through some tutorialswhere they explained how to use AXIS to convert java classes to web servicesbut not about the EJBs that are packed in to jar files.Please point me tothe tutorial if there is any...or please give me some clues to startwithYour Help is HIGHLY APPRECIATED. Thanks Chandu __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection aroundhttp://mail.yahoo.com Do You Yahoo!? Yahoo! Small Business - Try our new Resources site!
RE: Using Axis With Weblogic
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: axis-user@ws.apache.org Subject: Using Axis With Weblogic Hi , Please Please suggest me the possible solutionsI 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 withYour Help is HIGHLY APPRECIATED. Thanks Chandu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com