You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by lu...@valtech.se on 2000/09/27 14:02:07 UTC
How to use deployment descriptor with ibm's java-implementation
I just starting to understand the soap4j (now belonging to apache).
In the distribution (soap-2.0) downloaded a service has to be registered
with the ServiceManager. This is done with a deployment descriptor (dd).
This works fine with the dd's suppplied (sample Address, Calculator and
Stock). However the syntax of the dd's is pretty much uncomprehensible for
me :-) . Below is the one for the Address sample :
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:AddressFetcher">
<isd:provider type="java"
scope="Application"
methods="getAddressFromName addEntry getAllListings
putListings">
<isd:java class="samples.addressbook.AddressBook" static="false"/>
</isd:provider>
<isd:mappings>
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:xml-soap-address-demo" qname="x:address"
javaType="samples.addressbook.Address"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:xml-soap-address-demo" qname="x:phone"
javaType="samples.addressbook.PhoneNumber"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
</isd:mappings>
</isd:service>
I find no documentation for how this is constructed in the release. The url
given (http://xml.apache.org/xml-soap/deployment) does not exist ...
So my question is, what is the purpose of this dd, what is its syntax (i.e.
dtd) and how do I use it ?
THANKS !!
Lukas