20,9 → 20,12 |
import javax.jws.WebService; |
import net.brutex.xservices.types.FileSetResource; |
import net.brutex.xservices.types.HostConnection; |
import net.brutex.xservices.types.HostinfoType; |
import net.brutex.xservices.types.MailMimeType; |
import net.brutex.xservices.types.ReturnCode; |
import net.brutex.xservices.util.BrutexNamespaces; |
|
import org.apache.cxf.aegis.type.java5.XmlElement; |
import org.apache.cxf.annotations.WSDLDocumentation; |
import org.apache.cxf.annotations.WSDLDocumentationCollection; |
|
43,8 → 46,8 |
*/ |
@WebMethod(operationName = "getHostinfo") |
@WSDLDocumentation(value = "Get information about a host.") |
public ReturnCode getHostinfo( |
@WebParam(name = "hostname") String hostname); |
public HostinfoType getHostinfo( |
@WebParam(name = "hostname") @XmlElement(minOccurs="1", nillable=false ) String hostname); |
|
/** |
* |
132,4 → 135,12 |
@WSDLDocumentation(value = "Get XService information.") |
public ReturnCode getInfo(); |
|
/** |
* Generate a UUID |
* @return new UUID |
*/ |
@WebMethod(operationName = "generateUUID") |
@WSDLDocumentation(value = "Generate a UUID.") |
public String generateUUID(); |
|
} |