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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to