[jboss-user] [JBoss Web Services] - JBossWS fetches the WSDL 4 times for every WS call

Alan Feng do-not-reply at jboss.com
Fri Sep 24 13:11:34 EDT 2010


Alan Feng [http://community.jboss.org/people/alllle] created the discussion

"JBossWS fetches the WSDL 4 times for every WS call"

To view the discussion, visit: http://community.jboss.org/message/563620#563620

--------------------------------------------------------------
I generated the client JAX-WS stub code to consume a remote SOAP service. When invoking the service, I noticed JBossWS seems to make lots of HTTP GET calls to retrieve the WSDL files.

What I did was calling getPort() to get the service object, then invoke the operation repeatedly on this service object. What I found out is:
- For the first call: there are 4 HTTP GET to retrieve the same WSDL before the actual SOAP POST.
- Each subsequent call: there is 1 HTTP GET to retrieve the same WSDL before the actual SOAP POST.


These excessive HTTP GET for the same WSDL certainly seems less optimal. Performance is degraged 300% for the first call and 100% for each subsequent call. Does anyone know how to tune this behavior so it only retrieves the WSDL once per service object? Has this been reported before?

BTW, I'm using JBossWS Native 3.1.1
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563620#563620]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100924/360dfd99/attachment-0001.html 


More information about the jboss-user mailing list