[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-03 Thread jorgemoralespou_2
I've seen the FAQ and the Jira request, and now my question is, how are users using JBossWS as a client for, for example, acting as a proxy? I hope there is a large users community that can share experience with us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread [EMAIL PROTECTED]
Take a look what our FAQ says. There's also JBWS-2324. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180201#4180201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180201 ___

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jorgemoralespou_2
I have thought on initially creating a pool of ports, to eache endpoint I must use, and use these instances from pool, this way preventing concurrency, but I'm not sure if this is efficient, or even, really needed. I wanted to know prior to develop, because it`s a lot of work, since I have lots

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jopersson
(hope real experts can comment on this) For being on the safe side you shold not use concurrent calls on the port from your client app.. Instead collect your client calls and run them in sequence to the server endpoint...my personal opinion. View the original post : http://www.jboss.com/index.

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jorgemoralespou_2
We have done this: |// Static initialization of webservice client |static protected SendSms stub; | |static{ | QName qname = new QName( | "http://www.csapi.org/wsdl/parlayx/sms/send/v2_2/service";, | "SendSms"); | SendSmsService service =

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jopersson
Bundled WSDL file in META-INF in client and loads it with classloader works fine and reduces network traffic. URL wsdlURL = Resources.findFileAsURL(wsdlURLFileName); String namespaceURI = Resources.getProperty("namespaceURI"); String localpart = Resources.getProperty("localpart"); service = new M