View Javadoc
1   package org.metricshub.winrm.service;
2   
3   import jakarta.jws.WebMethod;
4   import jakarta.jws.WebParam;
5   import jakarta.jws.WebResult;
6   import jakarta.jws.WebService;
7   import jakarta.jws.soap.SOAPBinding;
8   import jakarta.xml.bind.annotation.XmlSeeAlso;
9   import jakarta.xml.ws.Action;
10  
11  /**
12   * This class was generated by Apache CXF 4.1.1
13   * 2025-04-03T12:15:40.586Z
14   * Generated source version: 4.1.1
15   *
16   */
17  @WebService(targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", name = "WinRMWebService")
18  @XmlSeeAlso({org.metricshub.winrm.service.enumeration.ObjectFactory.class, org.metricshub.winrm.service.transfer.ObjectFactory.class, org.metricshub.winrm.service.wsman.ObjectFactory.class, org.metricshub.winrm.service.shell.ObjectFactory.class, org.xmlsoap.schemas.ws._2004._08.addressing.ObjectFactory.class})
19  @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
20  public interface WinRMWebService {
21  
22      @WebMethod(operationName = "Delete", action = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete")
23      @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete", output = "http://schemas.xmlsoap.org/ws/2004/09/transfer/DeleteResponse")
24      public void delete(
25  
26          @WebParam(partName = "parameters", name = "Delete", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd")
27          org.metricshub.winrm.service.wsman.Delete parameters,
28          @WebParam(partName = "ResourceURI", name = "ResourceURI", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
29          java.lang.String resourceURI,
30          @WebParam(partName = "MaxEnvelopeSize", name = "MaxEnvelopeSize", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
31          int maxEnvelopeSize,
32          @WebParam(partName = "OperationTimeout", name = "OperationTimeout", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
33          java.lang.String operationTimeout,
34          @WebParam(partName = "Locale", name = "Locale", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
35          org.metricshub.winrm.service.wsman.Locale locale,
36          @WebParam(partName = "SelectorSet", name = "SelectorSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
37          org.metricshub.winrm.service.wsman.SelectorSetType selectorSet
38      );
39  
40      @WebMethod(operationName = "Signal", action = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Signal")
41      @Action(input = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Signal", output = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/SignalResponse")
42      @WebResult(name = "SignalResponse", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", partName = "SignalResponse")
43      public org.metricshub.winrm.service.wsman.SignalResponse signal(
44  
45          @WebParam(partName = "Signal", name = "Signal", targetNamespace = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell")
46          org.metricshub.winrm.service.wsman.Signal signal,
47          @WebParam(partName = "ResourceURI", name = "ResourceURI", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
48          java.lang.String resourceURI,
49          @WebParam(partName = "MaxEnvelopeSize", name = "MaxEnvelopeSize", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
50          int maxEnvelopeSize,
51          @WebParam(partName = "OperationTimeout", name = "OperationTimeout", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
52          java.lang.String operationTimeout,
53          @WebParam(partName = "Locale", name = "Locale", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
54          org.metricshub.winrm.service.wsman.Locale locale,
55          @WebParam(partName = "SelectorSet", name = "SelectorSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
56          org.metricshub.winrm.service.wsman.SelectorSetType selectorSet
57      );
58  
59      @WebMethod(operationName = "Pull", action = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull")
60      @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull", output = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse")
61      @WebResult(name = "PullResponse", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/enumeration", partName = "Body")
62      public org.metricshub.winrm.service.enumeration.PullResponse pull(
63  
64          @WebParam(partName = "Body", name = "Pull", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/enumeration")
65          org.metricshub.winrm.service.enumeration.Pull body
66      );
67  
68      @WebMethod(operationName = "Command", action = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Command")
69      @Action(input = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Command", output = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/CommandResponse")
70      @WebResult(name = "CommandResponse", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", partName = "Result")
71      public org.metricshub.winrm.service.wsman.CommandResponse command(
72  
73          @WebParam(partName = "Body", name = "CommandLine", targetNamespace = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell")
74          org.metricshub.winrm.service.shell.CommandLine body,
75          @WebParam(partName = "ResourceURI", name = "ResourceURI", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
76          java.lang.String resourceURI,
77          @WebParam(partName = "MaxEnvelopeSize", name = "MaxEnvelopeSize", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
78          int maxEnvelopeSize,
79          @WebParam(partName = "OperationTimeout", name = "OperationTimeout", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
80          java.lang.String operationTimeout,
81          @WebParam(partName = "Locale", name = "Locale", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
82          org.metricshub.winrm.service.wsman.Locale locale,
83          @WebParam(partName = "SelectorSet", name = "SelectorSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
84          org.metricshub.winrm.service.wsman.SelectorSetType selectorSet,
85          @WebParam(partName = "OptionSet", name = "OptionSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
86          org.metricshub.winrm.service.wsman.OptionSetType optionSet
87      );
88  
89      @WebMethod(operationName = "Enumerate", action = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate")
90      @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate", output = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse")
91      @WebResult(name = "EnumerateResponse", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/enumeration", partName = "Body")
92      public org.metricshub.winrm.service.enumeration.EnumerateResponse enumerate(
93  
94          @WebParam(partName = "Body", name = "Enumerate", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/enumeration")
95          org.metricshub.winrm.service.enumeration.Enumerate body
96      );
97  
98      @WebMethod(operationName = "Create", action = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Create")
99      @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Create", output = "http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse")
100     @WebResult(name = "ResourceCreated", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/transfer", partName = "ResourceCreated")
101     public org.metricshub.winrm.service.transfer.ResourceCreated create(
102 
103         @WebParam(partName = "Shell", name = "Shell", targetNamespace = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell")
104         org.metricshub.winrm.service.shell.Shell shell,
105         @WebParam(partName = "ResourceURI", name = "ResourceURI", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
106         java.lang.String resourceURI,
107         @WebParam(partName = "MaxEnvelopeSize", name = "MaxEnvelopeSize", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
108         int maxEnvelopeSize,
109         @WebParam(partName = "OperationTimeout", name = "OperationTimeout", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
110         java.lang.String operationTimeout,
111         @WebParam(partName = "Locale", name = "Locale", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
112         org.metricshub.winrm.service.wsman.Locale locale,
113         @WebParam(partName = "OptionSet", name = "OptionSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
114         org.metricshub.winrm.service.wsman.OptionSetType optionSet
115     );
116 
117     @WebMethod(operationName = "Receive", action = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Receive")
118     @Action(input = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Receive", output = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/ReceiveResponse")
119     @WebResult(name = "ReceiveResponse", targetNamespace = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell", partName = "ReceiveResponse")
120     public org.metricshub.winrm.service.shell.ReceiveResponse receive(
121 
122         @WebParam(partName = "Receive", name = "Receive", targetNamespace = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell")
123         org.metricshub.winrm.service.shell.Receive receive,
124         @WebParam(partName = "ResourceURI", name = "ResourceURI", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
125         java.lang.String resourceURI,
126         @WebParam(partName = "MaxEnvelopeSize", name = "MaxEnvelopeSize", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
127         int maxEnvelopeSize,
128         @WebParam(partName = "OperationTimeout", name = "OperationTimeout", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
129         java.lang.String operationTimeout,
130         @WebParam(partName = "Locale", name = "Locale", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
131         org.metricshub.winrm.service.wsman.Locale locale,
132         @WebParam(partName = "SelectorSet", name = "SelectorSet", targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", header = true)
133         org.metricshub.winrm.service.wsman.SelectorSetType selectorSet
134     );
135 }