Can some body point me to an example of document style Web Service using AXIS?
From my experience, this is an excellent way to understand the workings:
1. handwrite a simple WSDL (see below)
2. java org.apache.axis.wsdl.WSDL2Java --verbose \
--server-side \
--skeletonDeploy true \
wsdl-fileLook at the generated code and deployment descriptors
Tamas
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="com.mammogrid.portal"
targetNamespace="http://mytarget/"
elementFormDefault="qualified"
xmlns:tns="http://mytarget/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<wsdl:types>
<xsd:schema targetNamespace="http://mytarget/"
elementFormDefault="qualified"
>
<xsd:element name="echo_in_type" type="xsd:string"/>
<xsd:element name="echo_out_type" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="echo_Request">
<wsdl:part name="echo_in" element="tns:echo_in_type"/>
</wsdl:message>
<wsdl:message name="echo_Response">
<wsdl:part name="echo_out" element="tns:echo_out_type"/>
</wsdl:message>
<wsdl:portType name="myporttype">
<wsdl:operation name="echo" parameterOrder="">
<wsdl:input message="tns:echo_Request"/>
<wsdl:output message="tns:echo_Response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="mybinding" type="tns:myporttype">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="echo">
<soap:operation style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="myservice">
<wsdl:port name="myport" binding="tns:mybinding">
<soap:address
location="http://localhost:8080/axis/services/myservice"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
-------------------------------------------------------------------
-- Tamas Hauer ETT Division, CERN
[EMAIL PROTECTED] Geneve 23 Switzerland 1211
http://cern.ch/Tamas.Hauer Tel:(41)-227679894 Fax:(41)-227678930