Rest services response into ![CDATA[ boundaries.

2007-09-28 Thread Vincenzo Vitale
Hi All, I'm exposing a rest services (using annotation) and the return value is a string with html code inside. The result value is escaped but I would like to have it between ![CDATA[, like it's done with the equivalent Soap service. Is it possible? Thanks, Vincenzo.

Re: contract-first with only xsd

2007-09-28 Thread Eric Miles
Dan, I do not do any schema validation so I can't help you on this one. Someone more experienced with JAXB and CXF is going to have to respond. Eric On Thu, 2007-09-27 at 18:40 +0200, Daniel Dienhardt wrote: Thanks for that nice example, I tried to enable schema validation, but it did not

RE: Loading schemas at startup

2007-09-28 Thread Verachten Bruno
Hi, Is there a stack trace on that?I'm wondering if it has anything to do with Spring at all. It might just be WSDL/schema parsing stuff which would not have anything to do with the spring validation. Ok. Here is a part of the stack trace : org.xml.sax.SAXParseException:

Re: WebServiceContext is null

2007-09-28 Thread Dave Kallstrom
Here are the relevent parts of my cxf.xml config file. jaxws:endpoint id=CollectiveServices implementor=#serviceBean address=/CollectiveServices jaxws:serviceFactory bean class= org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean property name=dataBinding

Re: having problem with cxf 2.0.2 using client webservice

2007-09-28 Thread mule1
Sorry - Please read HelloWorldNew as HelloWorld in my configuration/code in my previous post - To test, I had created two interfaces - one HelloWorld and other HelloWorldNew -- View this message in context:

Security Configuration Help

2007-09-28 Thread Mayank Mishra
Hi all, I am trying to understand WSS4J module. I had an overview look at the code and examples. I have some queries regarding WSS4J: 1. Is there any place where I can find all the security configuration properties that I can work with? I had a look at examples and got some of

Re: Servlet container question ?

2007-09-28 Thread tog
Thanks This is working fine now ... I got a cxf groovy service running inside tomcat now. Is there a way to get rid of the spring configuration ? Should I write my own servlet as a mix of the groovy servlet and cxf servlet ? Thanks Guillaume On 9/27/07, Jeff.Yu [EMAIL PROTECTED] wrote: Hi,

exception handeling in jsp

2007-09-28 Thread girish sonber
i got cxf 2.1 from http://download.eclipse.org/stp/downloads/drops/I-I200707260606-200707260606/ but i am seeing that the given link for the cxf is not working now. and when i see in apache 's site there is not 2.1 version available. please find the attatched copy of my samle and anyone let

Re: having problem with cxf 2.0.2 using client webservice

2007-09-28 Thread mule1
Hello Wellem, I really don't have anything extra on sever side. To make testing this problem simple, I added the HelloWorld sample code in my server side code and it just seems that the client code when trying to use it when deployed on web application gives the error. The configuration on

Aegis or Jaxb and annotations in wsdl

2007-09-28 Thread Benson Margulies
What are the abilities of Aegis (on the one hand) and JAXB (on the other) to take documentation from somewheres and have it appear in WSDL annotations?

Re: WebServiceContext is null

2007-09-28 Thread Mustafa Egilmezbilek
Hi, I am using tx:annotation-driven/ in my spring.xml . What's the workaround for this case ? Thanks, Karakoyun On 9/28/07, Willem Jiang [EMAIL PROTECTED] wrote: Hi , How do you set up your endpoint implementor? I know there is an issue that if your implementor is came from a Spring

Re: WebServiceContext is null

2007-09-28 Thread Willem Jiang
Hi , Currently I do not find a way to work around and I can't put much time on it now :(. You can monitor the JIRA , and you can still work on you code by removing the tx:annotaiton-driven. This is a common issue of CXF , we will resolved it soon :) Willem. Mustafa Egilmezbilek wrote: Hi,

Logging small puzzle

2007-09-28 Thread Benson Margulies
I've got a log4j config file as follows. Anyone have a guess as to why I keep seeing CXF 'INFO' level messages? # Set root logger level to ERROR and its only appender to A1. # log4j.rootLogger=ERROR, A1 # A1 is set to be a ConsoleAppender.

Re: having problem with cxf 2.0.2 using client webservice

2007-09-28 Thread Willem Jiang
Hi , I think I found the key of this issue. It is you bean.xml's definition. If you want to define the value of simple:[EMAIL PROTECTED] with a spring bean's reference, you need to use the prefix '#' for the bean's name, and they should be in the same application context. If you take the

Re: Logging small puzzle

2007-09-28 Thread Freeman Fang
Hi Benson, By default, cxf will use java.until.Logger. If you want to use log4j in cxf, you also need invoke LogUtils.setLoggerClass(Log4jLogger.class); at very first place to make sure Log4j logger is registered. You can get more details about how it works from

Local transport

2007-09-28 Thread Benson Margulies
Could someone please post a recipe for combing the local transport with jaxws?

Re: Logging small puzzle

2007-09-28 Thread Willem Jiang
Hi Beanson , Do you run the CXF programe with the last version in the trunk? DanK did some update of logging , I do not know if all the log are go to use log4j. Willem. Benson Margulies wrote: I've got a log4j config file as follows. Anyone have a guess as to why I keep seeing CXF 'INFO'

RE: Logging small puzzle

2007-09-28 Thread Benson Margulies
I always thought that log4j would commandeer java.util.Logger, but I was obviously wrong. Thanks. -Original Message- From: Freeman Fang [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 10:43 PM To: cxf-user@incubator.apache.org Subject: Re: Logging small puzzle Hi

Re: Servlet container question ?

2007-09-28 Thread Jeff.Yu
Hi, Do you mean you want to publish the endpoint without spring configuration? If you want to do this, you need to write your servlet to publish the endpoint programmatically. Thanks Jeff tog wrote: Thanks This is working fine now ... I got a cxf groovy service running inside tomcat now.

Re: Local transport

2007-09-28 Thread Willem Jiang
Hi Benson , You can find the examples from AbstractJaxWsTest[1] for the unit test. And you can also find the spring configuration files form servers.xml[2]. [1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/AbstractJaxWsTest.java

Re: Servlet container question ?

2007-09-28 Thread Freeman Fang
Hi Guillaume, I just recall we programmatically publish endpoint in CXFServlet at very first version, but now we all delegate to spring to do it. You can refer to