Modifier and Type | Method and Description |
---|---|
SOAPHeaderElement |
addHeader(String name,
String prefix) |
Soap.SoapMessageBuilder |
addNamespace(String prefix,
String ns) |
Soap.SoapMessageBuilder |
addToBody(Document document) |
javax.ws.rs.core.Response |
build() |
org.apache.http.client.methods.HttpPost |
buildHttpPost(URI uri)
Build method for testing, generates an appache httpcomponents HttpPost
|
SOAPMessage |
call(String url)
Performs a synchronous call, sending the current message to the given url
|
Name |
createName(String name) |
byte[] |
getBytes() |
SOAPMessage |
getMessage() |
public Soap.SoapMessageBuilder addToBody(Document document)
public Soap.SoapMessageBuilder addNamespace(String prefix, String ns)
public SOAPHeaderElement addHeader(String name, String prefix)
public byte[] getBytes()
public javax.ws.rs.core.Response build()
public org.apache.http.client.methods.HttpPost buildHttpPost(URI uri)
uri
- the URI to which to POST the soap messagepublic SOAPMessage call(String url) throws SOAPException
url
- a SOAP endpoint urlSOAPException
- Raised if there's a problem performing the SOAP callpublic SOAPMessage getMessage()
Copyright © 2021 JBoss by Red Hat. All rights reserved.