Package com.sun.xml.ws.test.client
Interface XmlResource
- All Known Implementing Classes:
AbstractXmlResource,InlineXmlResource,ReferencedXmlResource
public interface XmlResource
XML Resource to be injected to the client.
Defiend by <xml-resource> element in test descriptor.
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionReads it as SAAJ SOAPMessage in SOAP 1.1 and return it.Returns this XML as aStreamSource.asString()Returns this XML as a String literal.
-
Method Details
-
asStreamSource
Returns this XML as aStreamSource.- Throws:
Exception
-
asString
Returns this XML as a String literal.- Throws:
Exception
-
asSOAP11Message
Reads it as SAAJ SOAPMessage in SOAP 1.1 and return it.- Throws:
Exception
-