This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to Extract the Information from a SOAP context in thread safe manner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to Extract the Information from a SOAP context in thread safe manner" Watch "How to Extract the Information from a SOAP context in thread safe manner" New topic
Author

How to Extract the Information from a SOAP context in thread safe manner

Sam Saha
Ranch Hand

Joined: Jan 23, 2010
Posts: 104
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.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

You might need to provide more details in to the context for example what library/API you are using?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
jQuery in Action, 2nd edition
 
subject: How to Extract the Information from a SOAP context in thread safe manner
 
Similar Threads
Problem with the missing namespace
Axis2 SAAJ API conflict with Java6 SAAJ - UnknownHostException on call()
How does the browser and web service communicate using SOAP?
java.text.ParseException in Web service
is SOA just mean use web service?