Hi All,
I created and registered an ExceptionMapper implementation as follows:
public class RuntimeExceptionMapper implements
ExceptionMapper{
private static Logger logger =
Logger.getLogger(RuntimeExceptionMapper.class);
public Response toResponse(RuntimeException fault) {
lo
Hi Sergey,
Just tested the recent release 2.2.3. I was able to retrieve the
generated wadl using _wadl. Some comments:
1. The resources tags could use a new line after the closing tag for
readability. Just a nice to have.
2. Example:
Class 1 is annotated with @Path("/Service")
Class 2 is an
Hello everyone, I have an issue about the static file mapping.
The Application_**.properties can't be found in out demo. but it works well
when I bring it out into tomcat.
2009-8-7 13:59:08 org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor
processRequest
Warning: .No root resource matching req
Hi Sergey,
By default, pluralized XMLRootElement name attribute will be used as a
wrapper, namespace-prefixed if needed, if no name attribute is there then a
lower-case pluralized class name will be used.
Just tested the latest release 2.2.3. The rest services handle the
collections. Just a co
Hello
I am trying to build a service that combines types are in two different
name spaces: urn:oasis:names:tc:SPML:2:0 and
urn:oasis:names:tc:SPML:2:0:password. However, some of the complex types
refer to the same types. As I have things setup up right now with the
annotations, the wsdl that
Does your project have a dependency on the soap binding somehow? (cxf-rt-
binding-soap)? Doing the extended soap header processing requires the soap-
binding to be available.
Also, run with "mvn -X" to turn on the logging to make sure those flags are
properly being passed into wsdl2java.
Those instructions don't actually mention importing the xmime schema
into your schema.
On Thu, Aug 6, 2009 at 4:55 PM, Adnan Memon wrote:
> http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html ... if you
> haven't looked at it.
> -
> Adnan
>
> On Thu, Aug 6, 2009 at 10:57 AM, conficio
http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html ... if you
haven't looked at it.
-
Adnan
On Thu, Aug 6, 2009 at 10:57 AM, conficio wrote:
>
> Never mind,
> my query yesterday for this question did not bring up things, but reading
> more of the recent posts got me the answer anyw
Hi,
I am trying to pass the -exsh true arg for wsdl2java using the maven plugin
But it doesn't seem to work as expected. When I run wsdl2java from command
line, it generates the soapheader (header=true) parameter in the service port
but when I use the plugin by passing in like this it doesn't
For all who will find this topic in search engines: resolved, see explanation
here: http://issues.apache.org/jira/browse/CXF-2382
04.08.09, 22:32, "Benson Margulies" :
> I'll look into this.
> On Tue, Aug 4, 2009 at 10:41 AM, wrote:
> > Hi! I am using cxf 2.2 with aegis. Here is a part of my sp
Never mind,
my query yesterday for this question did not bring up things, but reading
more of the recent posts got me the answer anyway.
Thanks Dan for fixing this in 2.0.12
conficio wrote:
>
> I want to send rather large reports that are generated on a server as an
> attachment. From the Inte
I want to send rather large reports that are generated on a server as an
attachment. From the Interface it looks like the DataHandler does some
streaming of the attachment.
Is that true streaming, so that there is not more than a certain buffer size
held in the cxf library? Or is the document bu
Thanks guys
for a very informative discussion. It saves me a lot of digging in the code
and still having the feeling I might have missed something.
Kaj
--
View this message in context:
http://www.nabble.com/Asynchronous-Invocation-and-connection-keep-alive-on-the-TCP-level-tp24835434p24849984.h
On Thu August 6 2009 11:21:03 am Eric Johnson wrote:
> See http://fusesf.fusesource.org/docs/2.2/bind_trans/HTTPDecoupled.html for
> a discussion of decoupled endpoints.
>
> http://iona.com/support/docs/artix/5.5/jaxrpc_pguide/references12.html
> talks about using a WSDL callback pattern. The code
See http://fusesf.fusesource.org/docs/2.2/bind_trans/HTTPDecoupled.html for a
discussion of decoupled endpoints.
http://iona.com/support/docs/artix/5.5/jaxrpc_pguide/references12.html talks
about using a WSDL callback pattern. The code examples are all from JAX-RPC,
but it should be an OK start
Do you have example or documentation of a "decoupled response endpoint"
or the callbacks-tyle mecanism you wrote about ?
I can find anything on the CXF Wiki ...
Manuel
-Message d'origine-
De : Eoghan Glynn [mailto:eogl...@gmail.com]
Envoyé : jeudi 6 août 2009 16:04
À : users@cxf.apache.
I have a web service that doesn't do much more than translate a common api
into one of two different legacy api's. I'd like to serve the WSDL's from
Mule (2.2.1)... When I startup the server it hangs and I see this in the log
file.
08/06/09
10:03:27:599|main|INFO|org.mule.component.DefaultJavaC
Wouldn't it be possible to store the unsent reponse in a cache.
On a response receive timeout, the client could resent the request
and the service could send back the response without executing
the work again (the web service could assert that it is the same
initial message with the WS-Adressing m
On Thu August 6 2009 10:03:57 am Eoghan Glynn wrote:
> Andrew is correct.
>
> JAX-WS async is purely a convenience mechanism to allow the application
> avoid creating a separate thread to manage the invocation direction.
>
> What you really need to avoid is tying up the client->server connection fo
Yes, the source and destination roles are reversed for the response. That's
really what I meant when I talked about WS-RM treating "the request message
stream and response message stream as being entirely separate from a
reliability point of view".
So an unacknowledged response would be resent, ju
Andrew is correct.
JAX-WS async is purely a convenience mechanism to allow the application
avoid creating a separate thread to manage the invocation direction.
What you really need to avoid is tying up the client->server connection for
the duration of the long-running invocation.
This could be a
2009/8/5 conficio :
> My question is: Does the asynchronous Web service some active polling across
> the TCP connection to keep it alive? Is that the solution I'm looking for,
> Asynchronous invocation?
I'm happy to be corrected if wrong, but I believe the actual TCP
conversation is basically the
I was aware of that but I was thinking that the same mecanism
would apply for the web service while sending back the response ...
In that case (for the response), the RM Source is the webservice
and the RM Destination is the client, we should have some kind
of retry mecanism until the reponse hav
Hi
Returning JAXBElement will work in JAX-RS as it is required by the spec,
provided it's possible for a user to have explicit JAXBElements in method
signatures (for ex, return types).
JAX-RS JAXBElementProvider can actually be told to wrap a given object in a
JAXBElement, but so far this opti
24 matches
Mail list logo