Francois, I think I must have missed something really important here: are you saying that I need to deploy Axis as the web component of the J2EE application in deploytool ?
I only need the Axis.jar to deploy as a war ? Many thanks Russell -----Original Message----- From: Francois Swiegers [mailto:FSwiegers@;RUBICO.COM] Sent: 05 November 2002 09:23 To: '[EMAIL PROTECTED]' Subject: RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container ) Hi Russel I'm also new to Axis, so I'm not sure whether this is going to help you. I've taken the "converter" sample provided with the J2EE 1.3.1 tutorial and put a web service face on it. After installing the J2EE RI, I followed the steps in the tutorial and deployed Axis as a war with it using the deploytool GUI (that was the hard part for me, as I could not get Axis working without deploying in through the deploytool). I used the following deployment descriptor: <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsi="http:/www.w3.org/2000/10/XMLSchema-instance"> <service name="converter" provider="java:EJB"> <parameter name="beanJndiName" value="MyConverter" /> <parameter name="homeInterfaceName" value="ConverterHome" /> <parameter name="remoteInterfaceName" value="Converter" /> <parameter name="allowedMethods" value="dollarToYen yenToEuro" /> <parameter name="className" value="ConverterBean" /> <parameter name="jndiURL" value="rmi://localhost:1050" /> <parameter name="jndiContextClass" value="com.sun.enterprise.naming.SerialInitContextFactory" /> </service> The sample app is very simple and does not return any complex types. I got it working, though, so maybe there is something in here that will help you. -----Original Message----- From: Russell Brown [mailto:russell.brown@;Freeserve.com] Sent: Tuesday, November 05, 2002 11:14 AM To: [EMAIL PROTECTED] Subject: RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container ) Thanks again for your help, I have splashed out on the Axis book. In the meantime I have deployed the EJB's client as a webservice instead of deploying the EJB and this works. I am sure when we come to the proper development on this project ( so far I'm sort of in proof of concept ) that we will deploy all session beans directly. Thanks for the links, will be busy for a few days getting up to speed. Regards Russell -----Original Message----- From: Kevin O'Neill [mailto:kevin@;rocketred.com.au] Sent: 05 November 2002 01:19 To: [EMAIL PROTECTED] Subject: RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container ) On Tue, 2002-11-05 at 02:45, Russell Brown wrote: > thanks for the hints. > > I changed the allowedMethods to the two I need to use ( should I add create() ? ) Nope. The current context must have permissions to call create on the entity bean though. > I removed class name and redeployed. Its the same. Here is what I'm using in JBoss 3.0.2 <service name="esitSOI" provider="java:EJB"> <namespace>urn:esit:soi</namespace> <parameter name="beanJndiName" value="ejb/esit/soi/SOIController"/> <parameter name="homeInterfaceName" value="au.edu.curriculum.esit.soi.controller.remote.SOIControllerHome"/> <parameter name="remoteInterfaceName" value="au.edu.curriculum.esit.soi.controller.remote.SOIController"/> <parameter name="allowedMethods" value="initiate approve assignReviewer cancelReview developerProposal indicatorApplicability indicatorQualityComment removeReviewer review reviewerOpinion submitForReview submitReview"/> <beanMapping qname="soi:SOIState" xmlns:soi="urn:esit:soi" languageSpecificType="java:au.edu.curriculum.esit.soi.model.SOIState" /> </service> > I have a rather steep learning curve on all this ( just done the basic Java course and years of coldFusion, leapt into J2EE and web services for a new project ) If you're new then here are some tools that will help you get started (and cut your development time) xdoclet (xdoclet.sf.net) - create an abstract class and everything else is generated for you eclipse (www.eclipse.org) - my personal favorite ide (and it's open source) ant (jakarta.apache.org/ant) - the java build tool, take the time to learn it. It will save you hours junit (www.junit.org) - testing framework latka (http://jakarta.apache.org/commons/latka/index.html) - functional testing > Thanks for your time No problems, -k. -- If you don't test then your code is only a collection of bugs which apparently behave like a working program. Website: http://www.rocketred.com.au/blogs/kevin/ CONFIDENTIALITY NOTICE This e-mail message (and attachments) contains confidential information intended only for the person/s to whom it is addressed. It is subject to legal privilege and any copying or unauthorised disclosure of the contents other than to the addressee is prohibited. If you have received this e-mail in error please notify us by telephone and erase all copies of the message and attachments. Thank you for your assistance.