Package com.sun.xml.ws.test.client
Interface XmlResource
-
- All Known Implementing Classes:
AbstractXmlResource,InlineXmlResource,ReferencedXmlResource
public interface XmlResourceXML Resource to be injected to the client. Defiend by <xml-resource> element in test descriptor.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectasSOAP11Message()Reads it as SAAJ SOAPMessage in SOAP 1.1 and return it.javax.xml.transform.stream.StreamSourceasStreamSource()Returns this XML as aStreamSource.java.lang.StringasString()Returns this XML as a String literal.
-
-
-
Method Detail
-
asStreamSource
javax.xml.transform.stream.StreamSource asStreamSource() throws java.lang.ExceptionReturns this XML as aStreamSource.- Throws:
java.lang.Exception
-
asString
java.lang.String asString() throws java.lang.ExceptionReturns this XML as a String literal.- Throws:
java.lang.Exception
-
asSOAP11Message
java.lang.Object asSOAP11Message() throws java.lang.ExceptionReads it as SAAJ SOAPMessage in SOAP 1.1 and return it.- Throws:
java.lang.Exception
-
-