Re: A simple tutorial using CXF and JPA on NetBeans 6.1

2008-04-19 Thread Jeff Yu
it to our wiki articles page[1], it may take a couple of hours to show up though--thanks! Glen [1] http://incubator.apache.org/cxf/resources-and-articles.html http://wiki.netbeans.org/ApacheCXFonNetBeans This may be useful for beginners. Cheers, Arul -- Cheers, Jeff Yu

Re: JCA demo raises java.lang.UnsupportedOperation when deployed in JBOSS

2008-01-23 Thread Jeff Yu
This ERROR is not a problem, because cxf uses the java.util.logger as default, but jboss uses the log4j, so the log level is a bit of different. you can config the log by using log4j one's in the cxf, and then the ERROR would go away. On Jan 24, 2008 12:42 AM, YI (William) ZHU [EMAIL

Re: How to deploy a CXF WAR file onto JBoss 4.0.5

2008-01-09 Thread Jeff Yu
From the stack that you provided, I don't see any error in it. The ERROR [STDERR] is not an error, it seems missing log4j jar?? what else error did you get? you also can refer to http://cwiki.apache.org/CXF20DOC/appserverguide.html as your information. Thanks Jeff Xiangmin Li wrote: I

Re: webservice client does not work on weblogic 9.2

2008-01-04 Thread Jeff Yu
/prefer-application-packages I can't figure out why the saaj package is not found. Is there anything else to check ? thanks, MJ Jeff Yu-4 wrote: Please check the saaj version in classpath, CXF shipped saaj-impl-1.3.jar and saaj-api-1.3.jar. It might be conflict with the weblogic one. Or you

Re: webservice client does not work on weblogic 9.2

2008-01-03 Thread Jeff Yu
Hi Please check the saaj version in classpath, CXF shipped saaj-impl-1.3.jar and saaj-api-1.3.jar. It might be conflict with the weblogic one. Or you can check out the http://cwiki.apache.org/CXF20DOC/appserverguide.html to see how to integrate with Weblogic. HTH Jeff mjmjmj wrote: I

Re: help requested for cxf issue

2007-12-25 Thread Jeff Yu
I think it is caused by the jar version conflict, I can see that spring-2.0.1.jar spring-core-2.0.4.jar, which I believe the spring-2.0.1.jar should be an all-in-one jar that already include the spring-core. could you try to remove the spring-*-2.0.4 or update spring-2.0.1 to 2.0.4. HTH

Re: sample failure: restfull_http_binding

2007-12-17 Thread Jeff Yu
I'd like to provide a patch for this issue.. Thanks Jeff Liu, Jervis wrote: Another Javascript problem. I hate Javascript. https://issues.apache.org/jira/browse/CXF-1308 Thanks, Jervis -Original Message- From: YI (William) ZHU [mailto:[EMAIL PROTECTED] Sent: 2007年12月18日 3:03

Re: JBI implementation needed

2007-11-30 Thread Jeff Yu
Hmm you should remove following jars from your library or classpath if you don't want to use the JBI, otherwise, you need JBI impl, such as Servicemix. cxf-integration-jbi-2.1-incubator-SNAPSHOT.jar cxf-rt-bindings-jbi-2.1-incubator-SNAPSHOT.jar

Re: error upgrading to 2.0.3 with cxf.xml

2007-11-30 Thread Jeff Yu
It seems to me more than being caused by spring version, am not sure which spring version are you used in your classpath.. AFAIK, cxf-2.0.3 shipped with spring 2.0.6.. Thanks Jeff On Dec 1, 2007 12:17 AM, mule1 [EMAIL PROTECTED] wrote: I am really stuck with this upgrade problem from 2.0.2 to

Re: odd injection error in running sample jms project

2007-11-27 Thread Jeff Yu
This issue is related to JAXB, there is a JIRA for this issue[1], but I don't think it would cause sample fail, notice this error, it is FINE level.. it is not an error, just a debug information. 1. https://issues.apache.org/jira/browse/CXF-914 Thanks Jeff Christian Schneider wrote:

Re: How to export non-annotated service in spring

2007-11-21 Thread Jeff Yu
You will have 2 filters, one for spring mvc, the other for the webservices that you want to expose: like : servlet servlet-nameims/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet

Re: service ok, client not...

2007-11-20 Thread Jeff Yu
-classestrue/prefer-web-inf-classes? Thank you Corneliu Jeff Yu wrote: In the weblogic-application.xml: add one more line: package-namecom.ctc.wstx.stax.*/package-name to let weblogic use your own package instead of weblogic's. One more thing, if you have ear, war... the ear's weblogic-application

Re: service ok, client not...

2007-11-19 Thread Jeff Yu
Hi, Use the isolated child-first algorithm classloader should resolve this issue. See below two links. 1. http://cwiki.apache.org/CXF20DOC/appserverguide.html#AppServerGuide-WebLogic 2. http://edocs.bea.com/wls/docs92/programming/classloading.html Thanks Jeff Corneliu wrote: Hello I am

Re: Difference between cxf.xml and cxf-servlet.xml?

2007-11-15 Thread Jeff Yu
java_first_spring_support sample beans.xml, it doesn't need to have a cxf-servlet.xml in the WEB-INF folder. In fact, the cxf-servlet.xml just replace the http transport ID to the servlet. ( in this case, the cxf-servlet.xml in the cxf-rt-transports-http module). The reason why the

Re: Transactional web service using CXF, Spring and JPA

2007-11-05 Thread Jeff Yu
Hi, You need to delegate the transaction to spring, not the cxf. like: jaxws:endpoint id=myService implementorClass=net.java.dev.service.MyServiceImpl implementor=#myService address=/theService /jaxws:endpoint bean id=myService class=net.java.dev.service.MyServiceImpl

Re: Basic problem with running CXF samples

2007-10-31 Thread Jeff Yu
Follow those sample's README, do it as same as described, it should work fine. otherwise, post the exception stack that you had, so that we can help you analysis the problem, right? Regards Jeff [EMAIL PROTECTED] wrote: I'm using the CXF binary distribution apache-cxf-2.0.2-incubator. I

Re: Running java_first_pojo sample in a Servlet container

2007-10-25 Thread Jeff Yu
Hi, please remove the below fragment from your web.xml, and then restart it, it should work fine. context-param param-namecontextConfigLocation/param-name param-valueWEB-INF/services.xml/param-value /context-param listener listener-class

Re: [FIXED] RE: CXF + Spring : Bean outside WebApp have empty properties

2007-10-25 Thread Jeff Yu
Hi, Instead of putting jars in the endorsed folder, could you try to put the below jboss-app.xml in your $ear/META-INF to see if it works. jboss-app.xml: ?xml version=1.0 encoding=UTF-8? jboss-app loader-repository org.apache.cxf:loader=your ear name (such as spring_http.ear)

Re: can't generate war file from ant build

2007-10-23 Thread Jeff Yu
dara kok wrote: Hi, I build my wsdl file using eclipse and generate java code from this wsdl file using wsdl2java -impl -ant -server after filling in business logic to the generated implementation file, i can build the code using the command: ant the strange thing is: I can't build war file

Re: maven repo for cxf jars

2007-10-19 Thread Jeff Yu
Hi, Try this: dependency groupIdorg.apache.cxf/groupId artifactIdcxf-rt-core/artifactId version${cxf.version}/version /dependency dependency groupIdorg.apache.cxf/groupId artifactIdcxf-rt-bindings-soap/artifactId version${cxf.version}/version

Re: deploying CXF Web service in JBoss

2007-10-18 Thread Jeff Yu
Hi, When I see the ClassCastException, the ClassLoader issue would pop up in my mind.. ;-), I stuck with the classloader issues these days. Can you show how you deploy the cxf libraries? put the required jars in the war, and then deploy the war to JBoss with scoping classloader? I am

Re: deploying CXF Web service in JBoss

2007-10-18 Thread Jeff Yu
where can i locate it? On 10/18/07, Jeff Yu [EMAIL PROTECTED] wrote: Hi, When I see the ClassCastException, the ClassLoader issue would pop up in my mind.. ;-), I stuck with the classloader issues these days. Can you show how you deploy the cxf libraries? put the required jars in the war

Re: Disable access to wsdl in Servlet transport

2007-10-17 Thread Jeff Yu
know if that can be done. Glen Am Mittwoch, den 17.10.2007, 11:11 +0800 schrieb Jeff Yu: Hi, There is an easy way that I came up is to use a filter in web.xml to restrict the access. Say there are three services: A,B,C , we want to restrict the B,C service. we can pulish the services

Re: error when accessing Webservice client within JBoss

2007-10-17 Thread Jeff Yu
Hi, It seems error from your web app code, since it says: java.lang.UnsupportedOperationException: s etProperty must be overridden by all subclasses of SOAPMessage can you show more codes... Thanks Jeff shaminda perera wrote: Hi all, This is the scenario. I created a WSDL and the

Re: simple-frontend.html

2007-10-17 Thread Jeff Yu
example uses... -Jonathan Jeff Yu wrote: At the bottom of simple-frontend.html, there is a tip talked about this, see this JIRA for detail: https://issues.apache.org/jira/browse/CXF-897 I updated it Others title to Well-Known issue for easily to get people's attention. Thanks Jeff Jonathan

Re: simple-frontend.html

2007-10-16 Thread Jeff Yu
At the bottom of simple-frontend.html, there is a tip talked about this, see this JIRA for detail: https://issues.apache.org/jira/browse/CXF-897 I updated it Others title to Well-Known issue for easily to get people's attention. Thanks Jeff Jonathan Slate wrote: Just wanted to ask about an

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-14 Thread Jeff Yu
#AppServerGuide-Websphere Thanks Jeff Jeff Yu wrote: Hi, Willem I checked the wsdl4j.jar, but it works fine with cxf-2.0 M1, which used the same version wsdl4j.jar as cxf-2.0 RC... Any way, I will put it under endorsed folder and give it another shot next week Thanks Jeff Jiang, Ning (Willem

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-12 Thread Jeff Yu
in the endorse directory. Willem. -Original Message- From: Jeff Yu [mailto:[EMAIL PROTECTED] Sent: Fri 10/12/2007 18:33 To: cxf-user@incubator.apache.org Subject: Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5 Hi Well, tried it again today, but without success, now I got exception

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-11 Thread Jeff Yu
Hi, I am trying to deploy the java_first_spring_support sample war to the WebSphere 6.1.0.0, I am using the WebSphere console to install the Application, and it started successfully. However, when I want to access the wsdl, it shows the Error 500, and I look up the log file, it shows

Re: deploy CXF web service in JBoss

2007-10-11 Thread Jeff Yu
Just simply put the war in the JBoss deploy folder, and then it would be working fine. -Jeff shaminda perera wrote: Hi all I need some help in deploying a CXF Web service in JBoss application server . Any pointers? Thanks

Re: for xml over http communication, server method arg value is null

2007-10-10 Thread Jeff Yu
I guess you need to see Dan K's comment on this JIRA[1], it should be related to it. -Jeff [1] https://issues.apache.org/jira/browse/CXF-897 mule1 wrote: Hello, I am having a problem where in my service created just for testing - HelloWorldImpl, my method sayHi(String text) keeps having text