Re: problem with xml element for response with common service for SOAP and XML

2007-11-27 Thread mule1
I have been trying to debug this, and not sure where the issue is. I can see that the last interceptor message on the server side - MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(Message) does have correct message in the MessageContentList, but somehow the MessageContentList

Re: Specifying a JAXB search path

2007-11-27 Thread Jim Ma
Hi , CXF only adds the classes that is needed to JaxbContext by reflecting and analyzing method paramter types. It can not use a search path to discover and load these classes . If you want to load extra class into JaxbContext , you can write a jaxb.index file to specify them. For example,

RE: Empty string namespace mapping with JSON and HTTP Post

2007-11-27 Thread Liu, Jervis
> -Original Message- > From: mgibble [mailto:[EMAIL PROTECTED] > Sent: 2007年11月28日 4:29 > To: cxf-user@incubator.apache.org > Subject: Empty string namespace mapping with JSON and HTTP Post > > > I am using the restful_http_binding sample and I have changed the following > lines: > >

Re: odd injection error in running sample jms project

2007-11-27 Thread Jeff Yu
This issue is related to JAXB, there is a JIRA for this issue[1], but I don't think it would cause sample fail, notice this error, it is FINE level.. it is not an error, just a debug information. 1. https://issues.apache.org/jira/browse/CXF-914 Thanks Jeff Christian Schneider wrote: Duplicate

RE: differences between Interceptors and Handlers

2007-11-27 Thread Liu, Jervis
CXF interceptor API is the core of CXF runtime to process message flows, internally JAX-WS handlers are implemented as CXF interceptors. If you want to stick to the spec, you would avoid using CXF interceptors directly if possible. However there are circumstances that CXF interceptors give you m

Re: Relative WSDL Location

2007-11-27 Thread James Mao
This thread may help you http://www.nabble.com/jaxws%3Aendpoint-wsdlLocation-attributeform-for-class-path-reference--tf3684247.html#a10298620 James Is there a way to specify a relative location for the wsdl using the wsdlLocation attribute? Example: @WebService(endpointInterface="org.tes

Re: New Servlet

2007-11-27 Thread Willem Jiang
Hi Guillaume You can find the samples in the Servlet systest[1] (Spring or Non-Spring). [1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/servlet Cheers, Willem. tog wrote: Hiya, Is there somewhere an example of the on spring servlet usage

New Servlet

2007-11-27 Thread tog
Hiya, Is there somewhere an example of the on spring servlet usage ? Cheers Guillaume

Re: odd injection error in running sample jms project

2007-11-27 Thread Christian Schneider
Duplicate class definition sounds like you perhaps have more than one cxf lib in the classpath. If you use maven to configure the dependencies you should try maven -X install. This shows which libs maven loads. But this is only a guess I never saw this error before. Best regards Christian ah

odd injection error in running sample jms project

2007-11-27 Thread ahwulf
In trying to run the ServerJMS sample application, I can't get past this odd error. First I had to remove the spring from the cxf distribution, I was getting an endless configuration loop. I switched to spring 2.0.7 which fixed that issue. Now I get this error over and over. Any ideas? The samp

Re: JMS performance

2007-11-27 Thread Christian Schneider
Hi, I have tested a simple soap/jms service with activemq in standard setup (journaled jdbc persistence). 1000 request/responses in 30 secs => about 33/s Then I changed the setup of activqmq to do only in memory storing of messages. 1000 request/reponses in 5 secs => 200/s I think this is q

RE: CFX and Spring 2.5

2007-11-27 Thread Sica, David (David)
I'm using CXF 2.0.3 with Spring 2.5 and so far it seems to work fine. David -Original Message- From: woostreet [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 11:01 AM To: cxf-user@incubator.apache.org Subject: CFX and Spring 2.5 Does CFX work with Spring 2.5? Has anyone go

problem with xml element for response with common service for SOAP and XML

2007-11-27 Thread mule1
Hello, I am little bit stuck and need to get this working for a release and not sure what I am doing wrong to expose same service class for both SOAP and XML messaging. I am having problem with some annotations for XmlElement for an Array property on my response object class. If I annotate the Ar

Empty string namespace mapping with JSON and HTTP Post

2007-11-27 Thread mgibble
I am using the restful_http_binding sample and I have changed the following lines: // Set up the JSON StAX implementation Map nstojns = new HashMap(); nstojns.put("http://customer.acme.com";, "acme"); to: // Set up the JSON StAX implementation Map nstojns

Relative WSDL Location

2007-11-27 Thread gtaylor
Is there a way to specify a relative location for the wsdl using the wsdlLocation attribute? Example: @WebService(endpointInterface="org.test.something.wsdl.person.PersonService", portName = "PersonPort", serviceName = "PersonService",

CFX and Spring 2.5

2007-11-27 Thread woostreet
Does CFX work with Spring 2.5? Has anyone got it to work. Spring 2.5 is fantastic and CFX should supported it. -- View this message in context: http://www.nabble.com/CFX-and-Spring-2.5-tf4883397.html#a13976214 Sent from the cxf-user mailing list archive at Nabble.com.

differences between Interceptors and Handlers

2007-11-27 Thread Davide Gesino
what is the differences between a CXF interceptor and a JAX-WS LogicalHandler (an implementation of javax.xml.ws.handler.LogicalHandler)??? I guess the functionality is the same, but the usage is different. Can I use an approach in which I have both a series of intercetpors (configured with Spring

Specifying a JAXB search path

2007-11-27 Thread yesitspeter
My team has had difficulty with CXF being able to discover the entire set of classes needed for serialization/deserialization using JAXB. We specify this rather easily with XFire and have great success with that solution. We wish to migrate to CXF however we see no clearly documented method of a

RE: SVN configuration

2007-11-27 Thread Benson Margulies
I use a command-line to co and then let eclipse discover it. Use the setup.eclipse maven target. > -Original Message- > From: Davide Gesino [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 27, 2007 9:21 AM > To: cxf-user@incubator.apache.org > Subject: SVN configuration > > > I coul

SVN configuration

2007-11-27 Thread Davide Gesino
I could not find a way to check out anonymously CXF sources (using netbeans, eclipse and by commad line). here do I have to put the props described here http://incubator.apache.org/cxf/source-repository.html?? Have someone succesfully configured an IDE remote repository location on eclipse or netb

RE: Are namespace prefixes normative in jaxb?

2007-11-27 Thread Benson Margulies
You need to control element form. The best way I can see to control element form is to avoid Doc/Lit/Wrapped. Use Doc/Lit/Bare, and then have a package-info.java with an @XmlSchema annotation that asks for elementFormDefault=UNQUALIFIED. The only other way I can see is to set namespace="" for each

RE: Are namespace prefixes normative in jaxb?

2007-11-27 Thread mule1
Hello, I have the same problem - the client doesn't want any namespace in response and I can't figure out how to control the namespace on response. Is there any workaround for this currently? Also, is there a issue number for this? Also can you have mentioned " I've used annotations to control al

Re: Questions about CXF WS-RM sample

2007-11-27 Thread Freeman Fang
Hi Glen, IIRC, for ws-rm, the client will wait the ack message sent back from server in some certain time, so if client doesn't get the ack message, client assume the message sent out is lost, so do the resend, and the same thing happened on the resend message. Best Regards Freeman On Nov 27, 2

Re: restful_http_binding and WebServiceContext

2007-11-27 Thread Davide Gesino
or maybe in a RESTful WS the context is not injected at all, due to the nature of REST. Davide Gesino wrote: > > Hi, > > It's quite strange, the context should be injected... I think the only way > to obtain the WebServiceContext is through DI, I have not found a way to > obtai ntha same progra

Re: restful_http_binding and WebServiceContext

2007-11-27 Thread Davide Gesino
Hi, It's quite strange, the context should be injected... I think the only way to obtain the WebServiceContext is through DI, I have not found a way to obtai ntha same programmatically. Did you provide getters and setters for the WebServiceContext? May depend on that. Davide Michael Nelson-5

Re: Throwing faults from within an Interceptor

2007-11-27 Thread Christian Vest Hansen
Alright, I see what's going on now. My interceptor throws exceptions based entierly on the contents of some soap headers, but hopefully the performance of failing calls wont be as critical as successful operations, so it shouldn't matter if I change the phase that my interceptor operates on. (two

Re: disable-address-updates breaks ServiceName?wsdl url

2007-11-27 Thread Christian Vest Hansen
So I should only use the base-address parameter. I tried this but the only working value for base-address, in my instance, seems to be http://localhost:8080/ldapservice/services - which I think is exactly what CXF would have chosen had I not provided a base-address parameter, and therefor not entir

RE: Custom Fault in Interceptor

2007-11-27 Thread Liu, Jervis
See this email thread: http://www.nabble.com/Throwing-faults-from-within-an-Interceptor-tf4860623.html > -Original Message- > From: Mustafa Egilmezbilek [mailto:[EMAIL PROTECTED] > Sent: 2007年11月27日 17:20 > To: cxf-user@incubator.apache.org > Subject: Custom Fault in Interceptor > > Hel

Re: jaxb xml element mapping via configuration file

2007-11-27 Thread Tom Fennelly
Take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=JAXBIntroductions mule1 wrote: Hello, Is it possible to do jaxb xml element mapping in the configuration file instead of using the annotations such as @XmlElement etc?

RE: Throwing faults from within an Interceptor

2007-11-27 Thread Liu, Jervis
Ok, I saw the problem. The BindingOperationInfo is not available yet when your SSOInterceptor got invoked. See the Interceptor chain below: > receive [AttachmentInInterceptor] > post-stream [StaxInInterceptor] > read [ReadHeadersInterceptor, SoapActionInInterceptor] > pre-protocol [MustUn

Re: disable-address-updates breaks ServiceName?wsdl url

2007-11-27 Thread Willem Jiang
I just find the base-address parameters that you set is start with https, cxf_servlet do not support this configuration. After I went through the servlet control code, I found the key of your issue. If you set the disable-address-updates parameter to be true, servlet control will not updat

Custom Fault in Interceptor

2007-11-27 Thread Mustafa Egilmezbilek
Hello, Is it possible to generate a custom fault in an interceptor and informing client about the fault ? In other words we have a security interceptor where we check rights for the services, if there is no right for the called service we want to generate a fault with a meaningful message and send

Re: Throwing faults from within an Interceptor

2007-11-27 Thread Christian Vest Hansen
Following is a log-snip at level FINE. The SSOInterceptor is my fault-trowing interceptor that throws an OperationNotAllowedFault wrapped in a CXF Fault object. I notice now that the WebFaultOutInterceptor generates an NPE at line 111 in its handleMessage(): http://fisheye6.cenqua.com/browse/celti