|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.osci.messagetypes.OSCIMessage
eu.osci.messagetypes.OSCIRequestParent
eu.osci.messagetypes.OSCIRequest
eu.osci.messagetypes.ReceptionReceipt
public class ReceptionReceipt
Class to create and send ReceptionReceipt messages.
Copyright © 2010 Freie Hansestadt Bremen.
Created by bremen online services Entwicklungs- und Betriebsgesellschaft mbH & Co. KG.
This library (Starter Kit) can be used by anybody according to the Bremer Lizenz für freie
Softwarebibliotheken. The license terms can be viewed at www.osci.de or can be ordered at the
OSCI-Leitstelle (Die Senatorin für Finanzen, Freie Hansestadt Bremen, Postfach 10 15 40, 28015 Bremen).
Field Summary |
---|
Fields inherited from class eu.osci.messagetypes.OSCIMessage |
---|
text |
Constructor Summary | |
---|---|
ReceptionReceipt(EndpointLocator endpointLocator,
javax.xml.ws.WebServiceFeature... _features)
Constructor for a ReceptionReceipt with an endpointLocator parameter and all necessary information. |
|
ReceptionReceipt(java.net.URL _wsdlURL,
javax.xml.namespace.QName _serviceQName,
javax.xml.namespace.QName _portQName,
javax.xml.ws.WebServiceFeature... _features)
Constructor with the necessary parameters. |
Method Summary | |
---|---|
org.w3c.dom.Document |
createReceptionReceiptDocument(com.sun.xml.ws.api.message.HeaderList headerList)
This method creates a ReceptionReceipt object with the given parameter out of the SOAP message (HeaderList). |
org.w3c.dom.Document |
createReceptionReceiptDocument(OSCIRequest msg)
This method creates a ReceptionReceipt object with the given parameter out of the OSCI message. |
static eu.osci.ws._2008._05.transport.ReceptionReceiptType |
createReceptionReceiptObject(com.sun.xml.ws.api.message.HeaderList headerList)
This method creates a ReceptionReceipt object with the given parameter out of the SOAP message (HeaderList). |
static eu.osci.ws._2008._05.transport.ReceptionReceiptType |
createReceptionReceiptObject(OSCIRequest msg)
This method creates a ReceptionReceipt object with the given OSCI message. |
OSCIResponse |
sendMessage()
Sends the configured OSCI message with the underlying DOM document. |
Methods inherited from class eu.osci.messagetypes.OSCIRequestParent |
---|
getFaultTo, getFetchIteratorID, getFrom, getReplyTo, getTypeOfBusinessScenario, setFaultTo, setFrom, setTypeOfBusinessScenario |
Methods inherited from class eu.osci.messagetypes.OSCIMessage |
---|
getAction, getAdditionalHeaderList, getBindingProvider, getMessageId, getTo, setAction, setAdditionalHeaderList, setMessageId, setTo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReceptionReceipt(EndpointLocator endpointLocator, javax.xml.ws.WebServiceFeature... _features)
endpointLocator
- The configured EndpointLocator object._features
- To add other features for the endpoint (see Metro Api-Doc).public ReceptionReceipt(java.net.URL _wsdlURL, javax.xml.namespace.QName _serviceQName, javax.xml.namespace.QName _portQName, javax.xml.ws.WebServiceFeature... _features)
_wsdlURL
- The URL to the WSDL._serviceQName
- The service that will be used._portQName
- The port name that will be used_features
- To add other features for the endpoint (see Metro Api-Doc).Method Detail |
---|
public org.w3c.dom.Document createReceptionReceiptDocument(com.sun.xml.ws.api.message.HeaderList headerList) throws javax.xml.datatype.DatatypeConfigurationException, javax.xml.bind.JAXBException, javax.xml.parsers.ParserConfigurationException
headerList
- Header list of the OSCI message that will be received.
javax.xml.datatype.DatatypeConfigurationException
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
public static eu.osci.ws._2008._05.transport.ReceptionReceiptType createReceptionReceiptObject(com.sun.xml.ws.api.message.HeaderList headerList) throws javax.xml.datatype.DatatypeConfigurationException, javax.xml.bind.JAXBException, javax.xml.parsers.ParserConfigurationException
headerList
- Header list of the OSCI message that will be received.
javax.xml.datatype.DatatypeConfigurationException
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
public static eu.osci.ws._2008._05.transport.ReceptionReceiptType createReceptionReceiptObject(OSCIRequest msg) throws javax.xml.datatype.DatatypeConfigurationException, javax.xml.parsers.ParserConfigurationException, javax.xml.bind.JAXBException
msg
- The OSCI message that will be received.
javax.xml.datatype.DatatypeConfigurationException
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document createReceptionReceiptDocument(OSCIRequest msg) throws javax.xml.datatype.DatatypeConfigurationException, javax.xml.parsers.ParserConfigurationException, javax.xml.bind.JAXBException
msg
- The OSCI message that will be received.
javax.xml.datatype.DatatypeConfigurationException
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
public OSCIResponse sendMessage() throws javax.xml.bind.JAXBException, OSCIException, javax.xml.transform.TransformerException
javax.xml.bind.JAXBException
- In case of parsing or serialisation errors.
OSCIException
- In case of OSCI SOAP faults.
javax.xml.transform.TransformerException
|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |