Subversion Repositories XServices

Rev

Rev 110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 110 Rev 127
Line 19... Line 19...
19
import javax.jws.WebMethod;
19
import javax.jws.WebMethod;
20
import javax.jws.WebParam;
20
import javax.jws.WebParam;
21
import javax.jws.WebService;
21
import javax.jws.WebService;
22
import javax.xml.bind.annotation.XmlElement;
22
import javax.xml.bind.annotation.XmlElement;
Line -... Line 23...
-
 
23
 
23
 
24
import net.brutex.xservices.types.AttributeType;
-
 
25
import net.brutex.xservices.types.NamespaceListType;
24
import net.brutex.xservices.types.NamespaceListType;
26
import net.brutex.xservices.types.StringSplitType;
Line 25... Line 27...
25
import net.brutex.xservices.types.ant.FileResource;
27
import net.brutex.xservices.types.ant.FileResource;
Line 26... Line 28...
26
 
28
 
Line 41... Line 43...
41
 
43
 
42
  @WebMethod(operationName="insertNodes")
44
  @WebMethod(operationName="insertNodes")
43
  @WSDLDocumentation("Insert an XML fragment into an XML document given as string.")
45
  @WSDLDocumentation("Insert an XML fragment into an XML document given as string.")
44
  public abstract String insertNodes(
46
  public abstract String insertNodes(
-
 
47
		  @WebParam(name="sourcexml") String source, 
45
		  @WebParam(name="sourcexml") String source, 
48
		  @WebParam(name="encoding") String encoding,
46
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
49
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
47
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1, 
50
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1, 
48
		  @WebParam(name="xmldata") String paramString2)
51
		  @WebParam(name="xmldata") String paramString2)
Line 58... Line 61...
58
    throws XServicesFault;
61
    throws XServicesFault;
Line 59... Line 62...
59
  
62
  
60
  @WebMethod(operationName="replaceNodes")
63
  @WebMethod(operationName="replaceNodes")
61
  @WSDLDocumentation("Replaces matched XML nodes with an XML document given as string.")
64
  @WSDLDocumentation("Replaces matched XML nodes with an XML document given as string.")
62
  public abstract String replaceNodes(
65
  public abstract String replaceNodes(
-
 
66
		  @WebParam(name="sourcexml") String source,
63
		  @WebParam(name="sourcexml") String source, 
67
		  @WebParam(name="encoding") String encoding,
64
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
68
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
65
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1, 
69
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1, 
66
		  @WebParam(name="xmldata") String paramString2)
70
		  @WebParam(name="xmldata") String paramString2)
Line 77... Line 81...
77
  
81
  
78
  @WebMethod(operationName="wrapInCDATA")
82
  @WebMethod(operationName="wrapInCDATA")
79
  @WSDLDocumentation("Wraps a String into a CDATA element")
83
  @WSDLDocumentation("Wraps a String into a CDATA element")
80
  public abstract String wrapInCDATA(@WebParam(name="data") @XmlElement(required=true) String data)
84
  public abstract String wrapInCDATA(@WebParam(name="data") @XmlElement(required=true) String data)
-
 
85
  	throws XServicesFault;
-
 
86
  
-
 
87
  @WebMethod(operationName="selectXPath")
-
 
88
  @WSDLDocumentation("Select from xml document given as string using an XPath expression.")
-
 
89
  public abstract StringSplitType selectXPath(
-
 
90
		  @WebParam(name="sourcexml") @XmlElement(required=true) String source,
-
 
91
		  @WebParam(name="encoding") String encoding,
-
 
92
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
-
 
93
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1)
-
 
94
  	throws XServicesFault;
-
 
95
  
-
 
96
  @WebMethod(operationName="setAttribute")
-
 
97
  @WSDLDocumentation("Set an attribute.")
-
 
98
  public abstract String setAttribute(
-
 
99
		  @WebParam(name="sourcexml") @XmlElement(required=true) String source,
-
 
100
		  @WebParam(name="encoding") String encoding,
-
 
101
		  @WebParam(name="namespaceList") NamespaceListType paramNamespaceListType, 
-
 
102
		  @WebParam(name="xpath") @XmlElement(required=true) String paramString1,
-
 
103
		  @WebParam(name="attribute") @XmlElement(nillable=false, required=true) AttributeType attr)
Line 81... Line 104...
81
  	throws XServicesFault;
104
  	throws XServicesFault;