My REST calls need to deal with locale. What's the recommended way to obtain a
locale setting from the client?
Thanks,
Two options I can think of:
1.) Wireshark--scroll down to the bottom of that debugging page. But
you're doubting that that SOAP message is even getting on the wire, so
this may not help you much.
2.) Eclipse debugging--that will allow you to trace through and figure
out what that SOAP message er
I can't see why you couldn't. Try it. Here's my MTOM example (albeit
not using Provider):
http://www.jroller.com/gmazza/date/20071102#NWSstep6
Glen
2008-06-12 Bharath Thippireddy wrote:
> We are trying to use the CXF MTOM support for file xml import/export.We
> use use the Provider based impl
We do not seem to be able to configure SOAP message logging for a CXF
client. What are we missing?
We have used http://cwiki.apache.org/CXF20DOC/debugging.html as a guide.
We have tried to put this in the client code, but nothing got printed:
PrintWriter pw = new PrintWriter(Syste
FYI
I just tried it with SNAPSHOT apache-cxf-2.1.1-20080605.204511-10 and it
has the same problem.
The working (order) code can be found below, if the position of getOrderItem
and getOrder is swapped getOrderItem is resolved to getOrder instead.
@Path("/customerservice/order/")
public class
It's now resolved, it was a matter of getting the order right.
Cheers, thanks for the help.
Sergey Beryozkin wrote:
>
> Can you post a sample of how you're extending it please ?
>
> Cheers, Sergey
>
> -Original Message-
> From: tttsh [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2008 0
Hi Ben,
it is true that you will want to adapt the service to the domain object
change. But you have to do it in a way that you can first create a new
service version that includes the change while in the same time still
offering the old version. So your clients can adapt one after the other.
Thanks Dan and Christian for the responses.
Christian: So from your email, I gather that use some sort of dto instead of
the actual domain object. However, let's say the the domain object changes
due to some user requirements, now won't my dto also change beacause I may
have to send extra data (ag
Hi Ben,
if you plan to use your domain object in a public service you should be
carefull. Directly using the object means you will be quite constrained
in changing it later. It is quite normal for a domain object to change
when your users needs change. With a object that is published in a
ser
We are trying to use the CXF MTOM support for file xml import/export.We
use use the Provider based implementaiton for our webservices, which deals
with the
message at a SOAP level.Can we still use the data handlers inside the
invoke method of the Provider to deal with the attachments?
If not w
In that case, it might be best to do what we do for jetty and just
subclass the AbstractHTTPTransportFactory as a starting point. The
AbstractHTTPTransportFactory will handle all the client side stuff
using the HTTPUrlConnection stuff in the JDK. Thus, you only need to
worry about the
With JAXB binding files, you can assign pre-generated "impl" types to
the schema types.
See:
http://svn.apache.org/repos/asf/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr-wsdl.xjb
for an example.
Dan
On Jun 12, 2008, at 11:30 AM, Ben Berner wrote:
I have generated my
On Jun 12, 2008, at 11:51 AM, Wolf, Chris (IT) wrote:
Dan,
I just ran a live StAX factory configuration test; my web app is
configured as
follows:
javax.xml.stream.XMLEventFactory:
com.sun.xml.stream.events.ZephyrEventFactory
javax.xml.stream.XMLInputFactory:
com.sun.xml.stream.ZephyrParser
Dan,
I just ran a live StAX factory configuration test; my web app is
configured as
follows:
javax.xml.stream.XMLEventFactory:
com.sun.xml.stream.events.ZephyrEventFactory
javax.xml.stream.XMLInputFactory: com.sun.xml.stream.ZephyrParserFactory
javax.xml.stream.XMLOutputFactory:
com.sun.xml.str
Hi Brad
If you can afford returning a Response in a signature then that would be the
easiest way to have
custom response headers set.
I'm wondering does @ProduceMime("contextTypeValue") has an effect ? It should, the only problem is that on the trunk the parameters
are ignored (to be fixed shor
I have generated my domain classes (with middlegen tool for hibernate) and
there is a operation in my wsdl document that returns a domain object (e.g.
Employee), so I have to define that domain object as a port-type
(...)in the wsdl document. Now when I
run wsdl2java, won't this overwrite my pre-e
Hi all,
could anyone tell me how to get the standard HTTP objects
HttpServletRequest and HttpServletResponset in a JAX-RS service
method?
I'm particularly interested in being able to set the content-type
header on my response.
Thanks,
Brad.
What do I have to do to get it working? I did not have this issue with
the 2.1 snapshot from April. I verified that the wstx-asl-3.2.4.jar is
in the build path and in WEB-INF/lib.
My JAXP settings are as follows:
javax.xml.parsers.DocumentBuilderFactory:
org.apache.xerces.jaxp.DocumentBuilderF
Yes, I am looking for SOAP/HTTP wherein HTTP implementation is over MINA
[owing to some other product specific considerations. Even for me, things
are getting clearer with time ;-)]
I had a look at the link, but it seems it's more so for the transport
implementation from scratch.
But from your ma
problem in email has also a solution - to add service attribute to jaxws
bean definition
e.g.
http://blablba/createActivateContract/";
/>
Adrian C <[EMAIL PROTECTED]>
06/12/2008 13:38
Bitte antworten an
users@cxf.apache.org
An
users@cxf.apache.org
Kopie
Thema
Re: JaxWsProx
after playing around with this I found that if I turned off ws-addressing
then I had no SOAPAction set either - which let me to this post
http://www.nabble.com/empty-soap-action-using-JAXWS-JAXB---Virus-checked--tp17100357p17100357.html
work around is to set the endpoint also in the JaxWsProxyF
I seem to be having a problem with JaxWsProxyFactoryBean and wsa:soapaction.
When I turn on WSA in my consumer CXF seems to generate the incorrect
wsa:soapaction if I set the serviceName & wsdlLoction. It seems to
concatenate the request namespace, the service name and the name of the
rootelement
I had another look at this again this morning. If I just use jabx by itself
(i.e. marhsall with a JAXBContext - this is one that I newInstance up) then
the validation works as expected, however with cxf validation fails on valid
messages.
Of course as you say when I set the wsdlLocation then thi
Can you post a sample of how you're extending it please ?
Cheers, Sergey
-Original Message-
From: tttsh [mailto:[EMAIL PROTECTED]
Sent: 12 June 2008 08:11
To: users@cxf.apache.org
Subject: Re: jax-rs strange behaviour resolving end-points
Also extending on the sample project jax-rs/ba
Hi
Brady's patch has been applied to fix this intermittent problem...
Cheers, Sergey
-Original Message-
From: tttsh [mailto:[EMAIL PROTECTED]
Sent: 12 June 2008 03:47
To: users@cxf.apache.org
Subject: jax-rs strange behaviour resolving end-points
I found a strange behaviour with the
that's not my case. Wsdl location is in each of them correct - spring
configuration is generated and in many cases I was also testing if schema
validation works. And also on console i can see that it's initializing
them from wsdl (not from class).
Maybe i should try to defragment disk and then r
Also extending on the sample project jax-rs/basic it can not support the
same resource using sub-resource such that:
to return a list in customerservice with @GET:
http://domain/customerservice/order/
to return a order instance in customerservice with @GET("{orderid}")
http://domain/customerser
27 matches
Mail list logo