Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 126 → Rev 127

/xservices/trunk/src/java/net/brutex/xservices/ws/XmlService.java
21,7 → 21,9
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlElement;
 
import net.brutex.xservices.types.AttributeType;
import net.brutex.xservices.types.NamespaceListType;
import net.brutex.xservices.types.StringSplitType;
import net.brutex.xservices.types.ant.FileResource;
 
import org.apache.cxf.annotations.WSDLDocumentation;
43,6 → 45,7
@WSDLDocumentation("Insert an XML fragment into an XML document given as string.")
public abstract String insertNodes(
@WebParam(name="sourcexml") String source,
@WebParam(name="encoding") String encoding,
@WebParam(name="namespaceList") NamespaceListType paramNamespaceListType,
@WebParam(name="xpath") @XmlElement(required=true) String paramString1,
@WebParam(name="xmldata") String paramString2)
60,7 → 63,8
@WebMethod(operationName="replaceNodes")
@WSDLDocumentation("Replaces matched XML nodes with an XML document given as string.")
public abstract String replaceNodes(
@WebParam(name="sourcexml") String source,
@WebParam(name="sourcexml") String source,
@WebParam(name="encoding") String encoding,
@WebParam(name="namespaceList") NamespaceListType paramNamespaceListType,
@WebParam(name="xpath") @XmlElement(required=true) String paramString1,
@WebParam(name="xmldata") String paramString2)
79,5 → 83,24
@WSDLDocumentation("Wraps a String into a CDATA element")
public abstract String wrapInCDATA(@WebParam(name="data") @XmlElement(required=true) String data)
throws XServicesFault;
@WebMethod(operationName="selectXPath")
@WSDLDocumentation("Select from xml document given as string using an XPath expression.")
public abstract StringSplitType selectXPath(
@WebParam(name="sourcexml") @XmlElement(required=true) String source,
@WebParam(name="encoding") String encoding,
@WebParam(name="namespaceList") NamespaceListType paramNamespaceListType,
@WebParam(name="xpath") @XmlElement(required=true) String paramString1)
throws XServicesFault;
@WebMethod(operationName="setAttribute")
@WSDLDocumentation("Set an attribute.")
public abstract String setAttribute(
@WebParam(name="sourcexml") @XmlElement(required=true) String source,
@WebParam(name="encoding") String encoding,
@WebParam(name="namespaceList") NamespaceListType paramNamespaceListType,
@WebParam(name="xpath") @XmlElement(required=true) String paramString1,
@WebParam(name="attribute") @XmlElement(nillable=false, required=true) AttributeType attr)
throws XServicesFault;
 
}