Peter Kelley wrote: > I'm new to web services and I'm having a few issues trying to get a > document based service deployed using AXIS. > > 1. I have the wsdd: > > <?xml version="1.0" encoding="UTF-8"?> > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > <service name="acidDoc" style="message"> > <parameter name="className" > value="au.com.moveit.webservices.messaging.Importer"/> > <parameter name="allowedMethods" value="*"/> > </service> > </deployment>
This is the way I've done the service element in the past: <service name="MyService" provider="java:MSG" style="document"> [...] > 2. As I want to get a hold of the XML being sent I have a method defined > as: > > public Document importXML(Document data) throws MoveitException > > Is this the best way to do this ? I saw some discussion earlier about > the other forms: > > public Element [] method(Element [] bodies); > public SOAPBodyElement [] method (SOAPBodyElement [] bodies); > > being better or working or something. Does anyone have any experiences > to share ? If you figure out how to get the first signature working I'd be interested to know how (i.e. see some sample source) I've got the 2nd one working before - see http://marc.theaimsgroup.com/?l=axis-user&m=102308386012021&w=2 http://marc.theaimsgroup.com/?l=axis-user&m=102312986516078&w=2 (warning - this code worked with Axis rc2 but I haven't tested it with 1.0) cheers, -- Murray Spork Centre for Information Technology Innovation (CITI) The Redcone Project Queensland University of Technology, Brisbane, Australia Phone: +61-7-3864-9488 Email: [EMAIL PROTECTED] Web: http://redcone.gbst.com/
