Posts

weblogic.socket.MaxMessageSizeExceededException in OSB11g

Problem : Whenever we have a long running two-way OSB-DB API call...it takes much time to complete. It will show us the weblogic.socket.MaxMessageSizeExceededException in sbconsole debug console. Cause : weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3' Solution : 1. Go to servers--->protocols--->general--->max message size--->change the value to sufficient memory (Do this for both the admin and the osb/soa) Note: Do it for all the OSB/SOA nodes in the cluster 2. Go to servers--->configuration--->server start--->arguments--->-Dweblogic.MaxMessageSize = 20000000 3. Restart all the servers. Hope this will help you to resolve this issue.

SOAP fault in SOA

A SOAP fault is an error in a SOAP (Simple Object Access Protocol) communication resulting from incorrect message format, header-processing problems, or incompatibility between applications. When a SOAP fault occurs, a special message is generated that contains data indicating where the error originated and what caused it. This data is called a fault element. A message that includes a fault element is known as a fault message. A fault message can be generated by any node , and is transmitted to the first upstream node (the node immediately preceding it in the message path). SOAP allows computer programs to communicate over a network even if they use different operating platforms. It employs the World Wide Web's HTTP (Hypertext Transfer Protocol)and XML (Extensible Markup Language) as the mechanisms for information exchange.

setTitle for instances in SOA11g

Image
Implement the below setTitle feature by following the detailed flow. It is good practice to name composite instance. If you name your composite instance the you can uniquely identify the instance. To give composite instance a name you simple need to add one java embedding activity inside BPEL and add one function inside that java embedding activity. Here are the steps that you can follow to name a composite instance. 1) Create a sample Addition Synch BPEL which will add two numbers. 2) Create a string variable and name it "Title". 3) Add assign activity after receive activity and assign name to Title variable. concat("Inputs: ",bpws:getVariableData('inputVariable','payload','/client:process/client:input1'),", ",bpws:getVariableData('inputVariable','payload','/client:process/client:input2')) 4) Add java embedding activity after assign activity. In that activity add below function