Re: How to treat the situation when we want to return null from the SEI method

2011-12-16 Thread Miguel Martins Feitosa Filho
Ok... Miguel On Fri, Dec 16, 2011 at 5:26 AM, Sergey Beryozkin wrote: > Hi > > Are you recommending to get all the XML responses from JAX-RS methods > wrapped up, and similarly unwrapped on the input ? > We don't really do that in case of JAX-RS, I think it will only intr

Re: How to treat the situation when we want to return null from the SEI method

2011-12-15 Thread Miguel Martins Feitosa Filho
ation has some interesting examples of these marshalling issues: http://jaxb.java.net/tutorial/section_6_2_7_8-Annotations-for-Mixed-Content-XmlElementRef-XmlMixed.html#Annotations%20for%20Mixed%20Content:%20XmlElementRef,%20XmlMixed Thanks, Miguel *Service Endpoint Interface For REST calls the R

Re: wsdl2java and javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED marshalling issue...

2011-12-12 Thread Miguel Martins Feitosa Filho
n wsdl2java with -xjc-npa asap and get back to the list. Thank you for your help and prompt answer. Miguel On Mon, Dec 12, 2011 at 2:12 PM, Daniel Kulp wrote: > > >> I called >> >> wsdl2java.bat 'http://myappurl:/soap?wsdl' > > > If you grab that

Re: How to treat the situation when we want to return null from the SEI method

2011-12-12 Thread Miguel Martins Feitosa Filho
; Cheers, Sergey > > > On 12/12/11 16:10, Miguel Martins Feitosa Filho wrote: >> >> Hello CXF Users, >> >> If a SEI has annotations of the form: >>        @GET >>        @Path(" thepath ") >>        @WebResult(name = "methodResponseData

How to treat the situation when we want to return null from the SEI method

2011-12-12 Thread Miguel Martins Feitosa Filho
and still have the CXF client return a null method response 2) Is the idea to use an empty xml tag to represent null a bad one such as ? Is there a better way to handle this problem? Thank you, Miguel Feitosa

wsdl2java and javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED marshalling issue...

2011-12-12 Thread Miguel Martins Feitosa Filho
me for their project. The more sophisticated WebService users will call his wsdl2java or svcutil (.net users) or other wsdl consumer and some may simply parse the xml/json using standard parsers while still others will write code to read the xml directly. This of course depending on their needs and level of sophistication with WebServices. Thanks! Miguel

Re: Is it possible to get Unqualified REST in SEI that is annotated with @WebService and @Get ?

2011-12-07 Thread Miguel Martins Feitosa Filho
ation. In future, if for example we encounter a situation were it is useful/necessary for the application to show a namespace it is nice that XML has this possibility and it is also nice to be able to turn it off when it is not necessary. Again, thank you for your very quick answers! Miguel

Is it possible to get Unqualified REST in SEI that is annotated with @WebService and @Get ?

2011-12-06 Thread Miguel Martins Feitosa Filho
the time penalty for doing this extra step is neglible and our users are happy because they get the expected xml but this seems a clumsy solution. Thank you for any light on this subject. Miguel

Re: Caching results using interceptor

2011-12-02 Thread Miguel Martins Feitosa Filho
Hi, Some ideas that may possibly help. Sorry in advance 'cause I don't know enough to give you a precise response. Another idea to consider would be to add a simple web proxy (squid maybe before your service in the network) and that could probably handle the cache problem in a much more eficient

Re: causes exception due to immutable Map being used in JAXBElementProvider

2011-12-01 Thread Miguel Martins Feitosa Filho
Ok... Thank you for your prompt answer and for the pointer. I understand that it is better for the SEI to return class ArrayOfBooks { public List getBooks() } than it is for the SEI to return List both with the appropriate annotations Miguel On Thu, Dec 1, 2011 at 5:11 AM, Sergey

causes exception due to immutable Map being used in JAXBElementProvider

2011-11-30 Thread Miguel Feitosa
se there are other prefixes to add it seems that the map should be of another type Thank you, Miguel M Feitosa Jr.

java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProxy

2011-06-25 Thread Miguel Bonilla
I am trying to integrate a Java Application into a J2EE proyect using a JSP and a Servlet. I run the proyect as Java Application (in Eclipse J2EE) and works perfectly, but I run the JSP in server and fails. This is the bug report: java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProx

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread Miguel
yes, I modified the tutorial to return a data Object. I have just seen the error. It was a problem of the implementation, a code line resulted null and this was the value returned. Ohh, I m really sorry for the inconveniences. thank you very much David. best regards, Miguel On Thu, 2009-09

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread Miguel
thank you very much for the quick answer, in my case the data object contains setters and getters (you can see it below this lines) and I get a null pointer error: java.lang.NullPointerException at org.coderthoughts.auction.client.Activator.printServiceInfo(Activator.java:35) at o