Hi,
I have a problem with JAXRSServerFactoryBean.
I have a tiny RESTful webservice :
@POST
@Path("/computation")
@Consumes(MediaType.TEXT_XML)
@Produces(MediaType.TEXT_XML)
@Override
public Response compute(Request request) {
// do stuff and then respond
}
It
Hi,
You just want to extract something from the soap body,right?
First of all, something inside soap body isn't the soapAction item we
generally used.
Anyway, you can take a look at an interceptor[1] we've used in
servicemix-cxf-bc test code as an example, this interceptor basically
dump an
Hey all,
i'm very new to cxf. I'm working on a replatform at work from a home-grown
soap service to cxf. My question is:
I'm writing a test case, and want to check, on the server-side, what the
sent soap body looks like. That is, i'd like to reconcile that against what
the client added to the
Hi All:
Is there a release schedule for CXF 2.4.1?
Are there plans for moving CXF to Jetty 8 when it is released? Would that be in
the 2.x branch or a 3.x release? I think Jetty 8 may require Java 6.
Thank you,
Gary
Thanks Daniel.
You are right.
Thank you very much.
Now I can deal with it by a custom spring-bus. and hoping CXF could support
such feature in future;
- Original Message -
From: "Daniel Kulp"
To:
Cc: "ext2"
Sent: Wednesday, June 01, 2011 2:48 AM
Subject: Re: A Raw XML Client's MEP
I've been trying to get the new 2.4.0 release to work in a project that I'm
using that uses WS-Security and WS-SecurityPolicy in a WSDL-First SOAP
service, and I am getting a signature verification failure:
Caused by: org.apache.ws.security.WSSecurityException: The signature or
> decryption was in
You could use an OASIS catalog to make it available if you like.
On Tue, May 31, 2011 at 7:07 PM, David Sills wrote:
> Benson:
>
> Oh, yes, I knew I'd have to hand-craft the schema. That wasn't a problem - it
> already exists and is available. However, enabling schema validation had a
> side ef
Benson:
Oh, yes, I knew I'd have to hand-craft the schema. That wasn't a problem - it
already exists and is available. However, enabling schema validation had a side
effect I didn't foresee. The package "schema" for my classes was, of course,
not available (since it doesn't exist, technically,
You might be able to use both Axis1 and CXF, or Axis1 and the JAX-WS
Reference Implementation built into the JDK.
Glen
On 05/31/2011 10:18 AM, Damon wrote:
> this is not settle down yet, they might be thirdparty webservices provided
> by other company.
> i have to find out these possible issues
Well, technically you can use the JAX-WS Dispatch mechanism along with
SAAJ to make/receive rpc/encoded calls:
http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services,
but it's a clumsy way to code.
Glen
On 05/31/2011 09:47 AM, Freeman Fang wrote:
> Hi,
>
> Cxf doesn't support rpc/en
Given the frequency though, I'd guess the client object isn't being reused.
These are meant to be long lived objects, with much better performance if they
get reused. Used too frequently there may be some CGLIB related memory
increase since it has to recompile a new Class instance for each use
On Monday, May 30, 2011 11:47:41 AM Talal (Anthony) Rabaa wrote:
> Good Morning,
>
> I have a service that, when run internally has no issues. However
> recently our client has informed us of log messages popping up in
> catalina.out that may be related to Tomcat crashing. I did some
> searching
A patch is definitely something we'd consider, but we'd need to test it a bit
to see what impact it may have on the JAX-WS TCK's and such.It has a bunch
of specific tests for the MEPS that a change such as this may run into.
The best option MAY be to introduce a configuration flag or simi
> Transfer-Encoding: chunked
> Date: Fri, 27 May 2011 20:39:16 GMT
> Server: WebSphere Application Server/6.1
> *
> *
> *20f* II01 No se encontraron resultados para la búsqueda realizada *0*
>
> Bold characters are strangers in the response
The "Transfer-Encoding: chunked" is the key thing.
On Monday, May 30, 2011 10:19:26 AM Ivan Risso wrote:
> Hi, I developed a Web Service with via CXF wsdl2java. If consumption
> from soapui wrong.
>
> The user with a development test done. Net and he says he does not
> is working because the response is not the tag
>
>
> It's obligation to respo
David,
There's some more underbrush that I see the need to clear away.
Strictly speaking, a WSDL specifies the operations of a service. In
specifying those operations, it specifies the types of the operands.
The language in which it specifies those types is W3C XML Schema.
A WSDL (and embedded o
Benson:
It would seem that I sort-of did follow you (assuming I follow you now), though
my email wasn't quite fast enough (or my brain wasn't, take your pick).
However, I'm a little perplexed about why it is that using a schema type that
guarantees data validation would be a bad idea. I'm not c
Benson:
Oh, maybe I see what you mean. Are you suggesting that the purpose of XML
Schema and WSDL are orthogonal: that schemas are there for data
definition/validation and WSDL is really concerned with data transport, so
importing a schema into the WSDL isn't really going to work the way I naiv
Let me be clear about what I'm discouraging versus merely describing.
Once upon a time, SOAP had these two models: RPC and Document. The
idea was that RPC would be used a mapping for procedure calls, and
Document was about passing XML documents around.
As things have evolved, however, the RPC for
Benson:
I take your point that perhaps I'm asking more than the tools can do, but am
left wondering why you might discourage the use of reusable elements within a
web service. Is it not typically done? I was thinking that it would simplify
data validation - by the time you made it through a sch
David,
I think you are mixing apples and coconuts a bit here.
The schema in a WSDL is XSD. What you are looking at it the process of
auto-generating XSD from Java with annotations, apparently with JAX-B.
JAX-B supports only a subset of XSD. Many restrictions and other
refinements that you can ex
Hi guys,
Thanks a lot for support.
I've found where the problem was. I forgot to specify domain in the username,
so it looked like this: MyUser. After fixing this issue and changing username
to MyDomain\MyUser I was able to make requests through the NTLM proxy.
Best Regards,
Sergey Zhemzhitsk
On Monday, May 30, 2011 1:27:15 PM Blue Diamond wrote:
> Hi Sergey,
>
> Thanks for your quick response. This is how I am starting a JAXRS endpoint
> & engaging interceptors:
>
> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
> factory.setServiceBean(this);
> factory.setAddress(url
On Tuesday, May 31, 2011 9:53:54 AM Damon wrote:
> Hi,
>
> sorry i didn't make myself clear.
> Using axis1 is mainly for old webservices writen in axis1
> But i have to consider using axis1 to consume upcoming new webservices
> which are provided by CXF
I don't believe that should be a huge issue
I'm having some trouble understanding exactly how to relate XSD types I
already have to WSDL, where I want to reuse them. If someone could point
me in a good direction, I'd be very grateful.
I have, for instance, a schema in which I define:
(a standard SSN but not all 0s o
Do we also have to set AuthorizationPolicy with the type 'Negotiate'
for this case ?
Christian, what do you think ?
Cheers, Sergey
2011/5/31 Zhemzhitsky Sergey :
> It seems that if username is set cxf tries to use basic authentication, at
> least there is the following code in the
> org.apache.
Sorry Sergey, i don't have any sample codes. Since the whole thing not start
yet, i'm just doing the preparing work
At 2011-05-31 22:22:27,"Sergey Beryozkin" wrote:
>Can you post a sample envelope which is expected by Axis1 and the one
>which is sent by CXF ?
>I'm wondering if we can get a tra
Hi Freeman,
I'm using JDK 1.6.0_24 on both hosts.
By the way my proxy host requires NTLMv2 authentication.
Best Regards,
Sergey Zhemzhitsky
-Original Message-
From: Freeman Fang [mailto:freeman.f...@gmail.com]
Sent: Tuesday, May 31, 2011 5:42 PM
To: users@cxf.apache.org
Subject: Re:
Can you post a sample envelope which is expected by Axis1 and the one
which is sent by CXF ?
I'm wondering if we can get a transform feature for making CXF produce
rpc-encoded calls
Cheers, Sergey
2011/5/31 Damon :
> this is not settle down yet, they might be thirdparty webservices provided
> b
this is not settle down yet, they might be thirdparty webservices provided by
other company.
i have to find out these possible issues first, any possible known issues for
axis1 client consuming CXF ws
At 2011-05-31 21:58:10,"Benson Margulies" wrote:
>rpc/literal?
>
>2011/5/31 Damon :
>> Hi
rpc/literal?
2011/5/31 Damon :
> Hi,
>
> sorry i didn't make myself clear.
> Using axis1 is mainly for old webservices writen in axis1
> But i have to consider using axis1 to consume upcoming new webservices which
> are provided by CXF
>
>
>
>
> At 2011-05-31 21:47:03,"Freeman Fang" wrote:
>
>>H
Hi,
sorry i didn't make myself clear.
Using axis1 is mainly for old webservices writen in axis1
But i have to consider using axis1 to consume upcoming new webservices which
are provided by CXF
At 2011-05-31 21:47:03,"Freeman Fang" wrote:
>Hi,
>
>Cxf doesn't support rpc/encoded, so if you ch
Thanks for replying.
Does it mean axis1 will be my only choice in this senario?
At 2011-05-31 21:43:33,"Benson Margulies" wrote:
>CXF does not support RPC/encoded. Someone started on it but never
>finished the job.
>
>That places a rather stringent limitation.
>
>
>2011/5/31 Damon :
>> Hi all
Hi,
Cxf doesn't support rpc/encoded, so if you chose Axis1 mainly for rpc/
encoded feature, then I think there's no way you can use cxf to talk
to Axis1with rpc/encoded.
Freeman
On 2011-5-31, at 下午9:41, Damon wrote:
Hi all:
The reason i have to use Axis1 is for old services using rpc/
CXF does not support RPC/encoded. Someone started on it but never
finished the job.
That places a rather stringent limitation.
2011/5/31 Damon :
> Hi all:
> The reason i have to use Axis1 is for old services using rpc/encoded.
> Now i have to consider the interoperable problems, and CXF s
Hi,
Interesting, is there any JDK version difference between windows and
linux?
Freeman
On 2011-5-31, at 下午9:18, Zhemzhitsky Sergey wrote:
It seems that if username is set cxf tries to use basic
authentication, at least there is the following code in the
org.apache.cxf.transport.http.Htt
Hi all:
The reason i have to use Axis1 is for old services using rpc/encoded.
Now i have to consider the interoperable problems, and CXF seems like the
most popular web services framework for now, so any possible issues would
happen if i use Axis1 to consume CXF webservices?
I only fou
It seems that if username is set cxf tries to use basic authentication, at
least there is the following code in the
org.apache.cxf.transport.http.HttpConduit which set HTTP headers for basic
authentication if the username for the proxy is configured.
private void setHeadersByAuthorizationPo
Hi ext2,
I just checked the HTTPConduit code,
It checks the response code before checking the MEP, maybe you need to
try the latest CXF code.
if (responseCode >= 400 && responseCode != 500 &&
!noExceptions) {
throw new HTTPException(responseCode,
connection.getRes
Well, your catalog has no entry corresponding to:
http://www.w3.org/2006/03/addressing/ws-addr.xsd
May be you need to configure CXF to use
http://www.w3.org/2005/08/addressing/ws-addr.xsd for WSA support ?
for the catalog to have any effect ?
Or add the 'http://www.w3.org/2006/03/addressing/ws-a
Additional information:
This is the error I always get when I cut my internet connection:
org.apache.ws.commons.schema.XmlSchemaException: Unable to locate imported
document at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd', relative to
'schema7.xsd'.
I wrote it at the beginning, I do not us
I tested it. If I add a broken catalog to the build process, it fails.
So far so good.
If I change now the catalog in my meta-inf folder there is no consequence.
This seems to be the problem. the catalog will not be found. I have tried
this for one week now and it it still doesn't work. Has any b
Hi
2011/5/31 Zhemzhitsky Sergey :
> Hi there,
>
> I need to call an external RESTful service by means of cxf from my local area
> network. The request have to go through the NTLM proxy.
> On my windows machine everything works as expected and I have the external
> service called. At the same tim
Hi there,
I need to call an external RESTful service by means of cxf from my local area
network. The request have to go through the NTLM proxy.
On my windows machine everything works as expected and I have the external
service called. At the same time on the linux machine I've got HTTP response
Hi,
Using jaxws dispatch on client side is what you're looking for. Take a
look at [1] to get more details
[1]http://cxf.apache.org/docs/jax-ws-dispatch-api.html
Freeman
On 2011-5-31, at 下午5:20, Marco Zapletal wrote:
On 31.05.2011 11:07, Sergey Beryozkin wrote:
I am using CXF (with Came
On 31.05.2011 11:07, Sergey Beryozkin wrote:
I am using CXF (with Camel) in order to consume XML documents, which are
signed using XMLDSig. For validating the signature, I have to use a certain
framework, which accepts only org.w3c.dom.Nodes - which means that I have to
marshall the received do
Hi,
Yeah, jira can notify developers after a bug has been resolved, I'm
sorry I miss your last comment on that jira, will reply you on that
jira.
Freeman
On 2011-5-31, at 下午2:40, Vassilis Virvilis wrote:
Hi,
One question about #3526 that is marked as resolved. I am sending
this because
Perhaps you can do it by providing a broken catalog entry, start from
a malformed doc, this will let you know if catalog is even loaded, and
then provide a mapping pointing to a wrong location - if you'll get an
error then it will confirm
this mapping is actually processed. Debugging is another opt
Hi
On Tue, May 31, 2011 at 8:39 AM, Marco Zapletal
wrote:
> Hello,
>
>
> I am using CXF (with Camel) in order to consume XML documents, which are
> signed using XMLDSig. For validating the signature, I have to use a certain
> framework, which accepts only org.w3c.dom.Nodes - which means that I h
Sergey: Sorry to drop the ball on this one. I was using Apache Amber (OAuth
implementation in Java + CXF) and I could not get the examples from that
project's integration tests to work in CXF 2.4.0. I had to resort to using the
MultiValuedMap instead of the HttpServletRequest.
I will post a war
Hi, Daniel:
sorry for reply too late; and thanks your help very much;
I have tried, and it does work as you have said;
1) the one-way invocation can deal with 200 (success) response correctly and
return the response soap xml ;
2) But it cannot deal with 500 (fault) response correctly, and cann
Hello,
I am using CXF (with Camel) in order to consume XML documents, which are
signed using XMLDSig. For validating the signature, I have to use a
certain framework, which accepts only org.w3c.dom.Nodes - which means
that I have to marshall the received documents back to DOM.
However, JAXB
How can I verify if the build with the catalog worked correct?
Can I check the created java anyway?
How can I check if my application is searching for the
meta-inf/jax-ws-catalog file?
Thank you!
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-default-imports-tp4411959p4441
53 matches
Mail list logo