Wednesday 4 April 2018

Location of Weblogic.jar and jrf.jar in Weblogic server.

Weblogic.jar:
C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar

jrf.jar
C:\Oracle\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar

Friday 30 March 2018

Enable MTOM in SOAPUI

MTOM/XOP : Message Transmission Optimization Mechanism/XML-binary Optimized Packaging (MTOM/XOP) 

If you have a requirement where the web service has to send and receive large number of documents (images, word documents, pdf etc) to an enterprise system over internet, then using MTOM will save you the bandwidth. You gain efficient network transmission  by using MTOM.

Enabling MTOM in SOAP UI
1. Set Enable MTOM to true in Request Properties
2. Attach a file and link the file in the SOAP payload by using the cid: notation
3. Invoke the payload and confirm upload.

Get attachment from SOAP UI response
1.Observe the attachment within the Response payload via XOP include reference
2. Retrieve the attachment by clicking the highlighted button.
References:
https://blogs.oracle.com/vijaya/web-service-mtom
http://www.mkyong.com/webservices/jax-ws/jax-ws-attachment-with-mtom/
https://www.ibm.com/developerworks/library/ws-devaxis2part3/