Firstly remember that you're probably not comparing apples to oranges.
The default in JMS is to use persistence; that means the messages are
all written to disk before they are sent (on both the request and
probably response) which is gonna add hugely to the latency as each
thread is gonna be spend
Here you go. It looks like below (roughly):
import java.io.IOException;
import java.io.OutputStream;
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
import org.apache.cxf.binding.soap.SoapMessage;
import org.
Hi ,
Take easy , it is information level message , the "ERROR [STDERR]"
message header
is cause by the java.util.log is directed to error message output stream
which is holden by log4j.
I highly recommend you to try out the cxf 2.0.3 in which we did some
enhancement on the logger system.
Wi
> -Original Message-
> From: Christian Vest Hansen [mailto:[EMAIL PROTECTED]
> Sent: 2007年11月26日 18:36
> To: cxf-user@incubator.apache.org
> Subject: Re: Throwing faults from within an Interceptor
>
> Hello Jervis.
>
> > Make sure the exception thrown from your interceptor is declared a
Can I see your whole web.xml and endpoint configuration file (bean.xml
or cxf-servlet.xml)?
I think there must be something wrong with them.
BTW,
Can you get the wsdl by removing the disable-address-updates and
base-addresses parameters in your web.xml?
Willem.
Christian Vest Hansen wrote:
Hello,
I've been going through CXF's Reliable Messaging sample[1] and had a
couple of questions about it.
The WS_RM sample involves a client[2] that sends four messages to the
service[3]. The client has a MessageLossSimulator[4] interceptor that
intentionally causes the 2nd and 4th messages to b
Yep, that was it, works fine now, thanks!
-Original Message-
From: Beryozkin, Sergey [mailto:[EMAIL PROTECTED]
Sent: Monday, November 26, 2007 3:40 PM
To: cxf-user@incubator.apache.org
Subject: RE: Error with wsdl2java from maven
Most likely what this means is that the module you're bui
Hello,
Is it possible to do jaxb xml element mapping in the configuration file
instead of using the annotations such as @XmlElement etc?
--
View this message in context:
http://www.nabble.com/jaxb-xml-element-mapping-via-configuration-file-tf4878381.html#a13960372
Sent from the cxf-user mailing
Hi all,
I've got my JSON endpoints up with CXF which is great. I now want to
write a java client that can hit the JSON endpoint and turn the JSON
response into the corresponding java objects. What is the best
approach for doing this? Does anyone have any experience with this?
Thanks for the help!
Look at the schema for elementFormDefault and/or specific form=
modifiers. Code first? RPC or Doc?
> -Original Message-
> From: Kaleb Walton [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 26, 2007 2:11 PM
> To: cxf-user@incubator.apache.org
> Subject: Missing namespace prefix on arg0
Most likely what this means is that the module you're building has some
dependencies which pull in older Xerces impls, Say xerces 2.6.2...
What you can do is to remove a content of xerces section in your mvn
repo, except for the latest 2.8.1 one and then do
mvn -o install
in the module which fails
Has anybody encountered the following error type when using wsdl2java
from maven?
The error:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO]
org.apache.xerc
This may be due to my lack of expertise with XML / WSDLs in general but I
am confused as to why the tag below does not include the ns1: prefix
as the rest of the tags do. If I add the ns1: prefix to (to make it
) CXF does not digest the request properly. Is there any way to
apply a namespace to
Hi Ulhas,
I am using default temp. queue. Earlier when working with XFire we had
tried static reply queue. But are just gearing up with CXF.
I was interested in relative performance of http / jms. We have been
given performance requirements for our project. While http meets just
as it is, jms is
Dear Andrew,
Thanks a lot for your cooperation you did your best, and you was helpful coz
even if the problem wasn't solved but at least I could fined something to say
to my Boss ;-)
Dear Saleh,
Thanks for your reply , I'll try it and feed you back..
- Original Message -
From: "Sale
Hi Mayank,
I don't think anyone has done the benchmark on the cost of
request/response on JMS transport.
Are you using static reply queue or using default temp. queue for response?
Regards,
Ulhas Bhole
Mayank Thakore wrote:
Hi,
I wrote a simple WSDL based web service.
In HTTP I am gettin
Andrew Dinn wrote:
>
> Hi Eman,
>
> Your config files look ok. I'm afraid I don't really understand what is
> going wrong in that case.
>
> Regarding your destroy code I have two comments. Firstly, I was
> suggesting you destroy the cxf *servlet*, not (just) the cxf bus. Also,
> there is n
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF. In CustomerServiceImpl.java,
I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't set when methods are invo
==>Hi!
Jonathan Huang wrote:
>
> Hi, Tophebboy
> Have you try to build your project after refactoring your SEI??
>
> ==>Yes
>
> Have you add Jax-ws related annotaions to the modified SEI??
>
> ==> Yes
>
> When you right click the "Project", does the operation "Generate
> W
Hello,
I am not clear exactly what you said. I looked at the SAAJOutInterceptor,
but didn't clearly understand how I can get the message content - either
bytes or something that I can use to tranform with an xslt transfomer. If
possible, can you provide me some sample lines of code? Thanks.
--
V
No, I'd say that they are different. This person is getting a web
message sent out with a missing namespace. In my case, the response that
goes out is completely empty.
> -Original Message-
> From: Jim Ma [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 25, 2007 9:27 PM
> To: cxf-user@
I tried this, but I can't seem to hit home on any of these base-addresses:
http://localhost:8080/myapp
http://localhost:8080/myapp/
http://localhost:8080/myapp/services
http://localhost:8080/myapp/services/
Regardless, my point was that I still wanted to access the wsdl at the
same url, just witho
Hello Jervis.
> Make sure the exception thrown from your interceptor is declared as an
> exception on the operation being invoked
It is. It is declared to be thrown in the WSDL and on my implementation methods.
> was the MyFault class generated by wsdltojava? does it have the WebFault
> annota
Hi Eman,
Your config files look ok. I'm afraid I don't really understand what is
going wrong in that case.
Regarding your destroy code I have two comments. Firstly, I was
suggesting you destroy the cxf *servlet*, not (just) the cxf bus. Also,
there is no guarantee that the default bus at the
Hi, it is possible to throw a checked Exception from CXF interceptors. Make
sure the exception thrown from your interceptor is declared as an exception on
the operation being invoked, otherwise this exception will not be recognized as
a checked Exception. Also was the MyFault class generated by
Hi, Tophebboy
Have you try to build your project after refactoring your SEI??
Have you add Jax-ws related annotaions to the modified SEI??
When you right click the "Project", does the operation "Generate WSDL"
appear in the popup menu??
Tophebboy wrote:
>
> Hi!
> I'm using Eclip
26 matches
Mail list logo