SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 141 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
call.setTargetObjectURI ("urn:ejbhello");
call.setMethodName ("hello");
Vector params = new Vector ();
params.addElement (new Parameter("phrase", String.class,
"what's your name?", null));
call.setParams (params);
Response resp = call.invoke (url, "" );
Parameter result = resp.getReturnValue();
Binding??”The Conventional Way
[ 94 ]
The run ant target will execute the client code.








To run the client, type:
ant run
What Just Happened
If everything went fine, you would see something similar to the result as shown in
the following screenshot:
Chapter 4
[ 95 ]
The SoapTest has actually created a SOAP request and routed it to the service
binding within SOAP run time. The format of this SOAP request is as follows:
POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:8080
Content-Type: text/xml; charset=utf-8
Content-Length: 458
SOAPAction: ""


Pages:
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6