The document in the bug is PDF, which we requested be converted to text or HTML before we could check it in the Axis doc set.
------- Additional Comments From Steve Loughran 2003-01-10 20:03 ------- John, I'd like to add this to the Axis docs for Axis1.1. For that we need a version that can be edited, unless you want to have to maintain if forever. Do you have an HTML version we could stick into the docs/ directory? ----------------------------------------------------------------------- If you guys can come up with an HTML version of the document, I will check it in to the CVS tree ASAP. Please attach it to the bug and send me a ping. Thanks! Tom Jordahl Macromedia Server Development -----Original Message----- From: Nicholas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: RE: Does Java2Wsdl support EJBs? Vidyanand; Nice doc. I would like to add a few paragraphs regarding return trip (client --> server) complex objects. I have observed some issues with this when Entity bean remotes are exposed in session bean methods and I would like to propose some patterns for avoiding them. Cheers. //Nicholas --- Vidyanand Murunikkara <[EMAIL PROTECTED]> wrote: > There is already some docs on using EJB provider and > using EJBs which > was submitted through bugzilla. > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14287 > > It just hasnt made into the source tree yet :( > > Vidyanand. > > -----Original Message----- > From: Nicholas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 2:37 PM > To: [EMAIL PROTECTED] > Subject: RE: Does Java2Wsdl support EJBs? > > > Ha ha ! You nailed me ! Sorry, I usually try and > avoid > whining about this stuff [because someone always > volunteers you to fix what you were whining > about......] > > Anyways, I would be happy to submit an update to the > docs. > > Back in a mo, when I'm done..... > > //Nicholas > > > --- Tom Jordahl <[EMAIL PROTECTED]> wrote: > > > > Nicholas, > > > > We are always looking for people to pitch in and > > help make Axis better. > > > > If you would like to add the support in Java2WSDL > > for EJBs, that would be great. If you would like > to > > contribute some documentation for how to use the > > EJBProvider, that would be great too. > > > > Doing both would probably get you nominated as a > > committer. :-) > > -- > > Tom Jordahl > > Macromedia Server Development > > > > -----Original Message----- > > From: Nicholas [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 28, 2003 12:26 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Does Java2Wsdl support EJBs? > > > > Perhaps we need a temporary Ant task to do this > > until > > the Java2WSDL task is updated to support EJBs. The > > EJB > > provider seems to have gotten pretty short shrift. > I > > mean no docs and no support in Java2WSDL ? > > > > > > --- Alan Buxton <[EMAIL PROTECTED]> wrote: > > > Hi Naresh > > > > > > Here's a sample of a basic deploy.wsdd. They can > > get > > > rather more complex, > > > but this is as good a starting point as any. In > it > > > I'm exposing all methods > > > of a local stateless session bean. You'll > probably > > > want to narrow that down > > > a bit :) Note that, even though it's a local > bean, > > > you still have to specify > > > homeInterfaceName and remoteInterfaceName as if > it > > > were a remote bean. > > > > > > Good luck. > > > > > > But I see your point about using the Ant task. > It > > > would be a bit easier if > > > you could automate the deployment with Ant. I'm > > > afraid that I don't know the > > > answer to that one. If you find out, maybe you > > could > > > let me know :) > > > > > > > > > <deployment > > xmlns="http://xml.apache.org/axis/wsdd/" > > > > > > > > > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > > > > > <service name="LocalBean" provider="java:EJB"> > > > <parameter name="beanJndiName" > > > value="local/LocalBeanEJB"/> > > > <parameter name="homeInterfaceName" > > > value="big.bux.LocalBeanHome"/> > > > <parameter name="remoteInterfaceName" > > > value="big.bux.LocalBean"/> > > > <parameter name="allowedMethods" value="*"/> > > > </service> > > > </deployment> > > > > > > > > > > > > on 28/1/03 12:05 PM, Naresh Bhatia at > > > [EMAIL PROTECTED] wrote: > > > > > > Hi Alan, > > > > > > I would like to expose an EJB as a Web Service - > I > > > assume that Axis can to > > > do this because it supplies an EJB provider. > > > Java2Wsdl creates a WSDL > > > automatically for Java classes that implement > > > java.rmi.Remote but seems to > > > choke if they implement javax.ejb.EJBObject > (which > > > extends java.rmi.Remote). > > > That's the problem. > > > > > > Naresh > > > -----Original Message----- > > > From: Alan Buxton > > [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, January 28, 2003 5:01 AM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Does Java2Wsdl support EJBs? > > > > > > Sorry if this is a dumb question, but why do you > > > need Java2Wsdl? > > > > > > on 26/1/03 11:42 AM, Naresh Bhatia at > > > [EMAIL PROTECTED] wrote: > > > > > > > > > Does Java2Wsdl support WSDL generation from > EJBs? > > I > > > tried it but I am > > > getting the following exception: > > > > > > WSDLException: faultCode=OTHER_ERROR: Can't find > > > prefix for > > > 'http://ejb.javax'. > > > Namespace prefixes must be set on the > > > Definition object using the > > > addNamespace(...) method.: > > > > > > My ant build script is as follows (compile.path > > > includes J2EE jars, thus the > > > javax.ejb package): > > > > > > <taskdef name="java2wsdl" > > > > > > classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"> > > > <classpath> > > > <path refid="axis.path"/> > > > </classpath> > > > </taskdef> > > > > > > <target name="build-web-service"> > > > <java2wsdl > > > classname="MyEjb" > > > implclass="MyEjbBean" > > > namespace="http://MyEjb" > > > > > > > > > location="http://camnbhati:7001/soap/services/MyService" > > > extraClasses="" > > > output="${build.dir}/MyService.wsdl"> > > > <classpath> > > > <path refid="compile.path"/> > > > <pathelement location="${build.dir}"/> > > > </classpath> > > > </java2wsdl> > > > </target> > > > > > > Here's are the exception details from java2WSD: > > > > > > [java2wsdl] Java2WSDL MyEjb > > > [java2wsdl] WSDLException: > faultCode=OTHER_ERROR: > > > Can't find prefix for > > > 'http://ejb.javax'. > > > Namespace prefixes must be set on the > > > Definition object using the > === message truncated === ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 622 5639 [EMAIL PROTECTED]