Thursday, October 27, 2011

Ex7. Dynamic Web Service Client Examples

Batch RealTimeTransaction Type with Generic/Dynamic Web Service Client For JCAF
In this article, I will cover three different examples regarding Generic Web Service Clients.
1. Generic Web Service Client Collaborations over HTTP with HTTP Adapter
- Example shows how to invoke Generic Web Service Server though Generic Web Service Client.
2. Java API for Generic Web Service Client over HTTP

With this API, we will create two different SOAP messages and directly invoke Generic Web Service Server.
- One has 6 records in SOAP message and the other has 50,000 records in SOAP message.
3. Batch Script Utility with Java API for Generic Web Service Client over HTTP
-In general, to handle Big SOAP message for Web Service, it recommends MTOM (Message Transmission Optimization Mechanism) standard. Repository-Based JCAPS doesn’t support this standard. If you use MTOM, the soap message will be encoded based on BASE64 and will be attached over HTTP. BASE64 encoding always increases message by a third. So if you send 116 MB SOAP message through MTOM, actual message size will be 154 MB.
-Through this example, we will test 116 MB SOAP Message through Web Service Utility script without using MTOM.

Refer to the below article for Generic Web Service Client Examples.

No comments:

Post a Comment