The axis user's guide states there are four valid signatures for message style
services:
public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope resp);
Orcalce support method s ignatures for Document Style Web Services
Table 6-1 shows the supported method signatures for Document Style Web Services. The Oracle Application Server Web Services runtime verifier rejects Document Style Web Services that do not conform to the method signatures listed in Table 6-1.
The Element
input parameter and Element
return value shown in the method signatures in Table 6-1 must conform to the Document Object Model (DOM) as specified by the W3C (org.w3c.dom.Element)
.
Table 6-1 Supported Method Signatures for Document Style Java Web Services
Method Signature | Description |
---|---|
public Element op_Name(Element e_name) | The method op_Name is a Document Style Web Service operation implemented as a Java method that takes an Element e_name as an input parameter and returns an Element . |
public Element get_Name() | The method get_Name is a Document Style Web Service operation implemented as a Java method that takes no input parameters and returns an Element . |
public void set_Name(Element e_name) | The method set_Name is a Document Style Web Service operation implemented as a Java method that takes an Element e_name as an input parameter and returns nothing. |