Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Concurrency issues in JAX-WS for methods with @WebMethod(exclude=true)

HarshaSKFeb 10 2016 — edited Feb 24 2016

Hi All,

I am using JDeveloper 11.1.1.7.0 and Weblogic 10.3.

I have created a working web service using SOAP. In the service, my web method is actually creating a PDF file with 'n' pages. I have created another method splitFiles with @WebMethod(exclude=true) which will break down the 'n' page document into 'n' documents. I have made the call to splitFiles from my web method. Up till this, it is working.


The problem comes when i am firing multiple requests concurrently to the service from a web proxy I created. The web method is supporting parallel execution, but the execution becomes sequential when the process enters splitFiles  method. As a result of this, my entire service does not support concurrent requests. What could be the reason for this sequential execution?


Is it because

1) I am doing file operations in this method?

2) Non Web Methods do not support concurrency?


Please let know the possible reasons for this issue.


Thanks in advance.

Comments

807816
There is some coverage of this in my Blueprint on Virtualisation and Solaris Cluster [Virtualisation and Solaris Cluster,|http://wikis.sun.com/display/BluePrints/Using+Solaris+Cluster+and+Sun+Cluster+Geographic+Edition] IIRC. (This paper is due an update though!)

Hopefully others will chime in with their experiences of the products.

Tim
---

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 23 2016
Added on Feb 10 2016
16 comments
3,410 views