1 | |
package org.kuali.student.common.dictionary.service; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import javax.jws.WebMethod; |
6 | |
import javax.jws.WebParam; |
7 | |
import javax.jws.WebService; |
8 | |
import javax.jws.soap.SOAPBinding; |
9 | |
import javax.xml.ws.RequestWrapper; |
10 | |
import javax.xml.ws.ResponseWrapper; |
11 | |
|
12 | |
import org.kuali.student.common.dictionary.dto.ObjectStructureDefinition; |
13 | |
|
14 | |
@WebService(name = "DictionaryService", targetNamespace = "http://student.kuali.org/wsdl/dictionary") |
15 | |
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
16 | |
public interface DictionaryService { |
17 | |
@WebMethod |
18 | |
@RequestWrapper(className="org.kuali.student.common.dictionary.service.jaxws.GetObjectTypes", targetNamespace="http://student.kuali.org/wsdl/dictionary") |
19 | |
@ResponseWrapper(className="org.kuali.student.common.dictionary.service.jaxws.GetObjectTypesResponse", targetNamespace="http://student.kuali.org/wsdl/dictionary") |
20 | |
public List<String> getObjectTypes(); |
21 | |
|
22 | |
@WebMethod |
23 | |
@RequestWrapper(className="org.kuali.student.common.dictionary.service.jaxws.GetObjectStructure", targetNamespace="http://student.kuali.org/wsdl/dictionary") |
24 | |
@ResponseWrapper(className="org.kuali.student.common.dictionary.service.jaxws.GetObjectStructureResponse", targetNamespace="http://student.kuali.org/wsdl/dictionary") |
25 | |
public ObjectStructureDefinition getObjectStructure(@WebParam(name = "objectTypeKey") String objectTypeKey); |
26 | |
} |