Re: Switching from code-first to contract-first

2010-05-05 Thread Christian Schneider
We were in the same situation some time ago. We opted to generate new stub code from the old xfire wsdl. The problem is that the code really looks ugly as the wsdl is no good match for jaxb conventions. So it can make sense to simply leave the old xfire service as is and additionally create a

Transient Build failures on 2.2.x branch

2010-05-05 Thread Christian Schneider
I recently checked out the 2.2.x branch on Windows 7, JDK 1.6.0_20, Maven 2.2.1, emprty Maven repo. It took me about 10 calls of "mvn -Pfastinstall source:jar install" till the build succeeded. Everytime it failed with another dependency that it could not find. On the next call it found the dep

Re: Switching from code-first to contract-first

2010-05-05 Thread Glen Mazza
1.) Are you using rpc/encoded instead of doc/lit or rpc/lit? JAX-WS doesn't support rpc/encoded (unless you want to use the rather unpleasant Provider interface - http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services). 2.) What databinding framework are you using? I don't think C

Switching from code-first to contract-first

2010-05-05 Thread Jason Horne
I have an existing application that uses XFire 1.2.6 to expose web services via the "code first" model. We now need to switch to a "contract first" model, without breaking any clients that are using the existing web services. Any suggestions on how to go about doing this? I saved a copy of the

Re: Configuring CXF common filter

2010-05-05 Thread rangeli nepal
Thanks a lot. On Wed, May 5, 2010 at 4:24 PM, Sergey Beryozkin wrote: > Hi > > Yes, every endpoint needs to reference the 'authorizationFilter'; scanning > the classpath for providers is not currently supported, this would well in > cases when all the endpoints share the same set of custom provid

Re: Configuring CXF common filter

2010-05-05 Thread Sergey Beryozkin
Hi Yes, every endpoint needs to reference the 'authorizationFilter'; scanning the classpath for providers is not currently supported, this would well in cases when all the endpoints share the same set of custom providers, cheers, Sergey On Wed, May 5, 2010 at 8:44 PM, rangeli nepal wrote: > Hel

Some items in hashtable lost in WS requests/responses during high load...

2010-05-05 Thread Kent Närling
We are using our own wrapper class around a hashtable that we use as a parameter in many WS requests and as data field in many response objects: public class HashtableParameter implements Serializable { /** * Hashtable value */ private HashMap parameters = new Has

Configuring CXF common filter

2010-05-05 Thread rangeli nepal
Hello everybody, As I understand the configuration file. customized filter which is provided as So If I provide a service called myservice I will have configuration something like this:

Re: Encryption issue

2010-05-05 Thread Daniel Kulp
This seems to be a "defect". Ideally, you would just need to change the algorithmSuite in the SymetricBinding (not the bootstrap policy) of the policy from Basic256 to Basic128 and the runtime would pick that up and request a 128bit key instead of a 256bit one. That isn't there right now th

Re: Problem having interceptor work with SAAJ

2010-05-05 Thread Daniel Kulp
Most likely, you need to move your interceptor down in the chain a little, at least beyond the SoapOutInterceptor. The SoapOutInterceptor would be responsible for setting up and creating the SOAP:Envelope and Body and such, but with your interceptor running before it, the call to sm.getSOAPHe

CXF: is it possible to generate a webservice response for specified method with specified data to string?

2010-05-05 Thread test321
0 vote down star Hi, we are using cxf webservices with java server and .NET client. We generate WSDL file based on our java code, and MS Visual Studio automaticaly generate deserializers, based on WSDL. Now we need to add jms support to our app. Because we use both Java and .NET, we

Re: Always new HttpSession object is created when using WebServiceContext

2010-05-05 Thread Arif Mohd
Daniel, One more observation when i tried to print all the HTTPRequestHeaders i found that iam getting Set-Cookie header and its value is also proper(i.e, iam getting the same header value which was sent in previous HTTPRespose) but if i call getCookies() on the HTTPRequest object iam gettting n

Problem having interceptor work with SAAJ

2010-05-05 Thread Glen Mazza
Hello, using CXF 2.2.7, I'm trying to use SAAJ and a client-side interceptor to add two elements to the header of a SOAP request. I've already successfully done the same with a JAX-WS handler[1] and would like to do the same with the interceptor--although I know there are non-SAAJ ways of doing t

Re: Always new HttpSession object is created when using WebServiceContext

2010-05-05 Thread Arif Mohd
Hi Daniel, I guess the problem is with injection of WebServiceContext object by websphere, iam injecting it as follows. @javax.annotation.Resource private WebServiceContext wsc; But Websphere6.1 is not fully JEE compliant server and needs a feature pack for webse

Encryption issue

2010-05-05 Thread Ashishz
Hello Guys, I am using apache cxf for web service and using WS-SecureConverstationToken for security. But when I try to use it with normal jce which comes by default with jdk, I get the exception. Caused by: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default p

Re: Always new HttpSession object is created when using WebServiceContext

2010-05-05 Thread Arif Mohd
It is the basic of any webcontainer to return session object based on JSESSIONID, any body did tried deploying stateful webservice using cxf on websphere ? dkulp wrote: > > On Tuesday 04 May 2010 4:57:02 am Arif Mohd wrote: >> Can any one let me know what am i doing wrong here ? > > I really h

DOSGI - ZooKeeper Discovery configuration

2010-05-05 Thread Julien Vey
Hi again, I have searched a little in the source code but I haven't been able to find an answer. When using zookeeper discovery with D-OSGI, I configure zookeeper using a file org.apache.cxf.dosgi.discovery.zookeeper.cfg in a "load" directory and put in it zookeeper.host and zookeeper.port pro

DOSGI problem when "Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml]"

2010-05-05 Thread Julien Vey
Hi all I have a "problem" that requires your help. When I try with D-OSGI (in a basic configuration) to expose a remote service, sometimes, it blocks for a few seconds to this : /Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml] /then it works fine but the time spent h