How to Extract the Information from a SOAP context in thread safe manner
posted 2 years ago
Hi, I am new to web service development. I am facing an issue and I am wondering if someone can help me to solve this issue as I don’t have have much knowledge in web services. The issue is: I am extracting the RequestID from the SOAP message context and setting into properties file and then using getter I am using it into processing the response of the web services. Now the RequestID I working fine for the single threaded environment but for multithreaded environment I am getting “unique constraints” error message.
Can you please suggest me instead of setting the RequestID into properties file is there any other alternative way we can process the RequestID in the response.