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
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,
> -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:
>
>
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
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
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
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
Hiya,
Is there somewhere an example of the on spring servlet usage ?
Cheers
Guillaume
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
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
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
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
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
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
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",
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.
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
33 matches
Mail list logo