Within a deployment descriptor, why is that you can only have one "provider" node under the same id?

What can I do if I want different classes to service different methods under the same id, like this:

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"; id="urn:myid" type="message">
<isd:provider type="java"
scope="Application"
methods="SubmitReq CancelReq">
<isd:java class="com.company.SOAPService1"/>
</isd:provider>
<isd:provider type="java"
scope="Application"
methods="DeliverReq DeliveryReportReq ReadReplyReq">
<isd:java class="com.company.SOAPService2"/>
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>


Reply via email to