com.jmrosengard.xmlbroker.soapipr
Class RespMsg

java.lang.Object
  |
  +--com.jmrosengard.xmlbroker.soapipr.Message
        |
        +--com.jmrosengard.xmlbroker.soapipr.RespMsg

public class RespMsg
extends Message

Generates the method-specific part of a SOAP response


Field Summary
private  java.lang.String methodName
           
private  java.io.PrintWriter outbuf
           
private  java.util.ArrayList params
           
private  java.lang.String serviceNs
           
private  java.lang.String serviceNsUri
           
 
Fields inherited from class com.jmrosengard.xmlbroker.soapipr.Message
body, doc, meth, outBuf, param, root, SOAP_ENC_URI, SOAP_ENV_NS_URI, XB_NS_URI_BASE, XML_NS_URI
 
Constructor Summary
RespMsg(java.io.PrintWriter outbuf, java.lang.String methodName, PortKey pk)
           
 
Method Summary
protected  void doContent()
          Hook method (See Template Pattern in [Gamma,E.
static void main(java.lang.String[] a)
          Only for testing
 void setParams(java.util.ArrayList params)
          Set the list of parameters (e.g.
 
Methods inherited from class com.jmrosengard.xmlbroker.soapipr.Message
build, serialise
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

outbuf

private java.io.PrintWriter outbuf

methodName

private java.lang.String methodName

params

private java.util.ArrayList params

serviceNs

private java.lang.String serviceNs

serviceNsUri

private java.lang.String serviceNsUri
Constructor Detail

RespMsg

public RespMsg(java.io.PrintWriter outbuf,
               java.lang.String methodName,
               PortKey pk)
Method Detail

doContent

protected void doContent()
Hook method (See Template Pattern in [Gamma,E. & al. 1995]) that generates the actual SOAP response message content.
Overrides:
doContent in class Message

setParams

public void setParams(java.util.ArrayList params)
Set the list of parameters (e.g. `out' parameters)

main

public static void main(java.lang.String[] a)
                 throws SoapReqException
Only for testing