OK I have: <service name="acidDoc" provider="java:MSG" style="document"> <parameter name="allowedMethods" value="*"/> <parameter name="className" value="au.com.moveit.webservices.messaging.Importer"/> </service>
in my server-config.wsdd after I deploy my service and http://localhost:8080/axis/services/acidDoc?wsdl includes: <wsdl:binding name="acidDocSoapBinding" type="impl:Importer"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="importXML"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="importXMLRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/acidDoc" use="encoded"/> </wsdl:input> <wsdl:output name="importXMLResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/acidDoc" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> Which looks like an rpc binding. Perhaps I'll go digging in the source tomorrow and see if I can figure out if this is a bug. Peter Kelley On Tue, 2002-10-08 at 18:32, Peter Kelley wrote: > The only server-config.wsdd I can find in the distribution is in > /samples/jms/server-config.wsdd so I must have either missed the docs > that tell me how to create one or there wasn't one shipped with the > distribution I have (1.0 deployed in subdirectory xml-axis-10). > > Would it be possible to post a sample file here so that I can add it to > the webapp ? > > Thanks. > > Peter Kelley > > On Tue, 2002-10-08 at 18:01, Murray Spork wrote: > > Peter Kelley wrote: > > > Hmmmm, > > > > > > I still get the WSDL that includes a binding style of rpc if I try that. > > > Can you check your generated WSDL to see if yours is the same ? Our > > > customer definitely wants to use document so even if it works I still > > > have a problem. > > > > Have a look at your wsdd file: > > <tomcat>/webapps/axis/WEB-INF/server-config.wsdd > > > > Make sure the service element includes the style="document" and > > provider="java:MSG" attributes: > > > > <service name="acidDoc" provider="java:MSG" style="document"> > > > > if not then manually add them - I don't know why but sometimes the > > deployment doesn't work the way it should so you have to manually fix > > the wsdd file. > > > > hth. > > -- > > 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/ > > > >
