how to ignore soap:address in wsdl for client?

2010-10-26 Thread Weihua JIANG
Hi all, I want to publish a jax-ws service at some runtime-specified machine. And at client side, use the stub class generated by wsdl2java to dynamically connect to this service. So, at server side, I publish service at https://localhost:8082/Command. And at client side, I use

Re: How to use custom SSLServerSocketFactory to publish endpoints?

2010-10-24 Thread Weihua JIANG
ad of http engine.setTlsServerParameters(new TLSServerParameters()); engine.setConnector(connector); Thanks Weihua 2010/10/25 Weihua JIANG : > Hi Daniel, > > I tried your solution, but failed. It seems the server is not created > at all. I can't connect to it either by browser or by

Re: CXF-2992 Hang at client response handling

2010-10-24 Thread Weihua JIANG
Any one has any idea about this problem? Thanks Weihua 2010/10/21 Weihua JIANG : > Hi all, > > I am using CXF 2.3.0 and after some time running, some of my client > threads hang at > HashMap.put(K, V) line: 374 > HashMap.putAll(Map) line: 524 > ClientImpl.processRes

Re: How to use custom SSLServerSocketFactory to publish endpoints?

2010-10-24 Thread Weihua JIANG
;https://localhost:8082/Greeter";); sf.getServiceFactory().setInvoker(new BeanInvoker(new GreeterImpl())); org.apache.cxf.endpoint.Server server = sf.create(); 2010/10/22 Daniel Kulp : > On Thursday 21 October 2010 8:03:35 pm Weihua JIANG wrote: >> Thank you Daniel.

Re: How to use custom SSLServerSocketFactory to publish endpoints?

2010-10-21 Thread Weihua JIANG
eihua 2010/10/22 Daniel Kulp : > On Thursday 21 October 2010 4:31:49 am Weihua JIANG wrote: >> Hi all, >> >> I want to use Not-Yet-Commons-SSL to handle SSL certificates. So, I >> prefer to use its SSLServerSocketFactory implementation for CXF >> endpoint publish.

how to disable CXF logging

2010-10-21 Thread Weihua JIANG
We use CXF for JAX-WS. In our project, we handled exceptions thrown by CXF (e.g. can't connect to server). So, the exceptions are expected and correctly handled. We also use SLF4J to perform logging for our project. However, no matter the exceptions are handled or not, CXF will write the stack tra

CXF-2992 Hang at client response handling

2010-10-21 Thread Weihua JIANG
Hi all, I am using CXF 2.3.0 and after some time running, some of my client threads hang at HashMap.put(K, V) line: 374 HashMap.putAll(Map) line: 524 ClientImpl.processResult(Message, Exchange, BindingOperationInfo, Map) line: 593 ClientImpl.onMessage(Message) line: 749 HTTPConduit$WrappedOutputSt

How to use custom SSLServerSocketFactory to publish endpoints?

2010-10-21 Thread Weihua JIANG
Hi all, I want to use Not-Yet-Commons-SSL to handle SSL certificates on server side. So, I prefer to use its SSLServerSocketFactory implementation for CXF endpoint publish. However, I can't find any document or sample on how to write code. Can anyone help me on this? Thanks Weihua

How to use custom SSLServerSocketFactory to publish endpoints?

2010-10-21 Thread Weihua JIANG
Hi all, I want to use Not-Yet-Commons-SSL to handle SSL certificates. So, I prefer to use its SSLServerSocketFactory implementation for CXF endpoint publish. However, I can't find any document or sample on how to write code. Can anyone help me on this? Thanks Weihua

CXF-2992 Hang at client response handling

2010-10-21 Thread Weihua JIANG
Hi all, I am using CXF 2.3.0 and after some time running, some of my client threads hang at HashMap.put(K, V) line: 374 HashMap.putAll(Map) line: 524 ClientImpl.processResult(Message, Exchange, BindingOperationInfo, Map) line: 593 ClientImpl.onMessage(Message) line: 749 HTTPConduit$WrappedOutputSt