On Tuesday 25 February 2003 03:14 am, jK.MkIII wrote: > Neal Sanche wrote: > >Hi All, > > > >I've been trying to make a small test web service with JBoss > > 3.2.0RC1 and am running into a problem. I've created a .wsr and > > added it to my ear with a web-service.xml that contains the > > following service section: > > > > <service name="TestService" provider="Handler"> > > <parameter name="handlerClass" > >value="org.jboss.net.axis.server.EJBProvider"/> > > <parameter name="beanJndiName" > >value="tvtracker/TestSessionLocal"/> > > <parameter name="allowedMethods" value="*"/> > > <requestFlow name="TestRequest"> > > <handler > >type="java:org.jboss.net.axis.server.TransactionRequestHandler"/> > > </requestFlow> > > <responseFlow name="TestResponse"> > > <handler > >type="java:org.jboss.net.axis.server.SerialisationResponseHandler" > >/> <handler > >type="java:org.jboss.net.axis.server.TransactionResponseHandler"/> > > </responseFlow> > > </service> > > Hi, > > I am trying to get my Robocop/repository/Repository bean to be > visible for SOAP clients but so far I haven't been able to make > webservices visible, axis servlet doesn't list them or anything. > > I am using 3.2RC1 and I am running out of ideas, or have already > run out of them several days ago :( I attached my web-service.xml, > for which I used stuff in this post as example. Those type mappings > are from our previous prototype that didn't use EJBs, just simple > java classes. > > Does there exist any usable documentation for Jboss.net? I haven't > been able to find anything, just couple examples how to make > webservices ...but they were for jboss 4.0 or 3.0.4 and I couldn't > make things work following them. > > So if anyone could help me I would be very thankfull, and propably > guys I should demo our system tomorrow too :P > > I have bean deployed to Robocop/repository/Repository, it has local > interfaces and 4 methods that I would like to turn into > webservices. Beans are deployed in EAR and then I have this xml > file and classes for those types listed in typemappings in WSR. > JBoss says it deployed package Roborepo.wsr but I can't find > anything about services said anywhere. > > Should I put WSR into EAR? If so what should I remember to check? > Does it work same way if WSR is in deploy dir next to EAR? > > Is there something wrong in my xml file? > > Anything?
I'm still somewhat mystified myself about how web services work, but every example I've seen adds the .WSR to the .EAR file, and then adds a <module><java>your.wsr</java></module> to the application.xml file. I believe this type of configuration may give clues to the classloaders about where to find the classes involved, but am unsure about that. Just following the examples that I've seen so far. More definitely needs to be written for people to follow this stuff, I agree. Perhaps when I've figured out the details, I'll post something up on my website explaining it to any interested parties. The main thing that I've noticed so far, is that when a service is first deployed, it won't be listed by the AxisServlet, but if you try and access that service through it's ?wsdl address, and build a client for the service (I've tried using Microsoft .NET to create a simple client which worked very well for testing) the service is actually there and usable. But prior to that first access, the AxisServlet will throw and exception when it tries to generate the list of available services. I'm currently using JBoss 3.2.0RC2 which contains Axis 1.0. Cheers. -Neal ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
