A very basic fixture that can send a SOAP message, no validation of the sent message, can be used to test the response of your testobject to invalid input.
More...
|
static final Logger | LOG = LoggerFactory.getLogger(SimpleSoapFixture.class) |
|
A very basic fixture that can send a SOAP message, no validation of the sent message, can be used to test the response of your testobject to invalid input.
Created by pascal on 22/06/16.
Definition at line 27 of file SimpleSoapFixture.java.
◆ SimpleSoapFixture()
nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.SimpleSoapFixture |
( |
| ) |
|
◆ closeSoapConnection()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.closeSoapConnection |
( |
| ) |
throws SOAPException |
|
private |
◆ disablelogMessagesToSystemOut()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.disablelogMessagesToSystemOut |
( |
| ) |
|
◆ enablelogMessagesToSystemOut()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.enablelogMessagesToSystemOut |
( |
| ) |
|
◆ getResponseXmlString()
String nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.getResponseXmlString |
( |
| ) |
|
◆ getResponseXmlStringCleaned()
String nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.getResponseXmlStringCleaned |
( |
| ) |
|
Cleans - unescapes - the xml reponse and returns it.
- Returns
- string xml
Definition at line 165 of file SimpleSoapFixture.java.
◆ loadSoapMessageFromFile()
boolean nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.loadSoapMessageFromFile |
( |
String |
fileName, |
|
|
String |
encoding |
|
) |
| throws IOException, SOAPException |
Load soap message from file boolean.
- Parameters
-
fileName | the file name |
encoding | the encoding |
- Returns
- the boolean
- Exceptions
-
IOException | the io exception |
SOAPException | the soap exception |
Definition at line 105 of file SimpleSoapFixture.java.
◆ loadSoapMessageFromString() [1/2]
boolean nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.loadSoapMessageFromString |
( |
String |
xml | ) |
throws IOException |
Load soap message from string boolean.
- Parameters
-
- Returns
- the boolean
- Exceptions
-
IOException | the io exception |
Definition at line 70 of file SimpleSoapFixture.java.
◆ loadSoapMessageFromString() [2/2]
boolean nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.loadSoapMessageFromString |
( |
String |
xml, |
|
|
String |
encoding |
|
) |
| throws IOException |
Load soap message from string boolean.
- Parameters
-
xml | the xml |
encoding | the encoding |
- Returns
- the boolean
- Exceptions
-
IOException | the io exception |
Definition at line 83 of file SimpleSoapFixture.java.
◆ logErrorToSystemOut()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.logErrorToSystemOut |
( |
Exception |
e | ) |
|
|
private |
◆ logRequestToSystemOut()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.logRequestToSystemOut |
( |
| ) |
throws IOException, SOAPException |
|
private |
◆ logResponseToSystemOut()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.logResponseToSystemOut |
( |
| ) |
throws IOException, SOAPException |
|
private |
◆ readFromInputStream()
String nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.readFromInputStream |
( |
InputStream |
inputStream | ) |
throws IOException |
|
private |
◆ sendSoapMessage()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.sendSoapMessage |
( |
String |
url | ) |
throws SOAPException, IOException |
Send soap message.
- Parameters
-
- Exceptions
-
SOAPException | the soap exception |
IOException | the io exception |
Definition at line 121 of file SimpleSoapFixture.java.
◆ storeResponseAsString()
void nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.storeResponseAsString |
( |
| ) |
|
|
private |
◆ tidyXml()
static String nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.tidyXml |
( |
String |
xml | ) |
|
|
static |
◆ enableSystemOutLog
boolean nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.enableSystemOutLog = false |
|
private |
◆ LOG
final Logger nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.LOG = LoggerFactory.getLogger(SimpleSoapFixture.class) |
|
staticprivate |
◆ request
SOAPMessage nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.request |
|
private |
◆ responseXmlString
String nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.responseXmlString |
|
private |
◆ soapConnection
SOAPConnection nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.soapConnection |
|
private |
◆ soapResponse
SOAPMessage nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.soapResponse |
|
private |
◆ TIDY_XML
final boolean nl.psek.fitnesse.fixtures.webservice.SimpleSoapFixture.TIDY_XML = true |
|
static |
The documentation for this class was generated from the following file: