RE: Restful Service client exception

2007-08-23 Thread Liu, Jervis
Ok, I see the problem. Your service is using wrapped mode, unfortunately URIMapper did not handle Wrapped/Unwrapped operation correctly. I have filed JIRA cxf-938 for this. Thanks, Jervis > -Original Message- > From: Sric [mailto:[EMAIL PROTECTED] > Sent: 2007年8月23日 23:22 > To: cxf-user

Re: Issue in a simple Client using ClientProxyFactoryBean

2007-08-23 Thread Jacob Marcus
Thanks, that took care of it ! On 8/23/07, Willem Jiang <[EMAIL PROTECTED]> wrote: > > Hi > > The exception that you showed will be thrown when the transport > factories are not initiated properly. > > When you create the client which use the http transport, you need to > make sure the CXF core

Re: Issue in a simple Client using ClientProxyFactoryBean

2007-08-23 Thread Willem Jiang
Hi The exception that you showed will be thrown when the transport factories are not initiated properly. When you create the client which use the http transport, you need to make sure the CXF core can load the cxf-rt-transports-http-jetty module. If you are using spring to set up the ClientPr

Re: cxf-2.0.1-incubator - dependency incompatibility with hibernate

2007-08-23 Thread Willem Jiang
AFAIK, current CXF trunk has upgrade the asm to 2.2.3 for better hibernate integration. You can try out the latest version or just use asm 2.xx to go around it. Willem. gdprao wrote: Hi, I have tried the following workaround and could able to resolve this error. 1. Removed Hibernate's asm

Re: Why the HTTPS hassle

2007-08-23 Thread Willem Jiang
Hi Please see my comment in the mail. Fred Dushin wrote: On Aug 20, 2007, at 6:15 AM, Christian Vest Hansen wrote: Hi, I don't get why I must do all this configuration of cxf in order to make it access external web services over HTTPS when my web browser is able to access web sites over HTTPS

Re: CXF and Jetty - Class not found exception

2007-08-23 Thread Willem Jiang
Hi I found your fault , you misspelling the CXFServlet by CFXServlet. Your web.xml should be CXFServlet org.apache.cxf.transport.servlet.CXFServlet 1 CXFServlet /services/* Willem. green804 wrote: I am migrating from xfire to to cxf. I a

Re: [U] RE: POJO service lifecycle

2007-08-23 Thread Willem Jiang
Yes, They are same to each other and mean the spring beans' reference. CXF just pass the bean's reference to the service implementor variable. Willem. Ridgway, Jamie Mr CONT USAAC wrote: UNCLASSIFIED So did I. I solved the same problem using Does anyone know if the #im

Re: cxf-2.0.1-incubator - dependency incompatibility with hibernate

2007-08-23 Thread gdprao
Hi, I have tried the following workaround and could able to resolve this error. 1. Removed Hibernate's asm.jar,cglib-2.1.3.jar and asm-attrs.jar from classpath. 2. Placed cglib-nodep-2.1_3.jar in classpath (downloaded from http://repo1.maven.org/maven2/cglib/cglib-nodep/2.1_3/). 3. Included as

Re: cxf-2.0.1-incubator - dependency incompatibility with hibernate

2007-08-23 Thread gdprao
Hi Sotlzenberg, I am also facing the same exception after upgrading to CXF-2.0.1 with CXF asm jars which seems to be incompatible with hibernate jars. I don't have this issue when I am working with CXF-2.0 version. If I place asm jars that comes with hibernate, the Hibernate error disappears, b

Re: SOAPBinding Use.ENCODED ?

2007-08-23 Thread Chris Campbell
How does one configure or intercept and change the encoding of soap messages in cxf? Benson Margulies wrote: > CXF doesn't support Encoded. > >> -Original Message- >> From: Chris Campbell [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, August 22, 2007 5:22 PM >> To: cxf-user@incubator.apach

Issue in a simple Client using ClientProxyFactoryBean

2007-08-23 Thread Jacob Marcus
Hi all, I have the webservice up and running on the server (deployed in a war file). Trying to create a stand alone java client using the ClientProxyFactoryBean keeps giving the following error. Any pointers would be great! Thanks, Jacob Exception in thread "main" java.lang.RuntimeException: Co

Re: Namespace error

2007-08-23 Thread Daniel Kulp
Hmmm... that looks like a classpath issue somehow. Are there two versions of the Spring jars available? (ex: one in the war and another in the tomcat share/lib dir?) Dan On Wednesday 22 August 2007, Anne Racel wrote: > Hi folks - > > > > I made it past my Eclipse hurdles (still waiting

Re: Passing method parameters using PHP SoapClient failing

2007-08-23 Thread Daniel Kulp
On Thursday 23 August 2007, Kaleb Walton wrote: > Also, it looks like CXF uses Java's Logging implementation, however, I > cannot seem to get it to log anywhere. Does anyone have any quick > pointers on how to get that going? What exactly are you trying to get logged? The first step is to get the

Re: javamail - geronimo-javamail jars

2007-08-23 Thread Daniel Kulp
Shoot. You're right. The HTTPConduit takes a direct dependency on it. That's REALLY not good. I've logged an issue: https://issues.apache.org/jira/browse/CXF-936 Dan On Thursday 23 August 2007, nuka wrote: > Hello, > > I've put in place WS with CXF and I have a conflict between sun >

RE: Restful Service client exception

2007-08-23 Thread Sric
Jervis, Thanks for your reply. The interface code is as follows: package com.fm.services; import javax.jws.WebParam; import javax.jws.WebService; import javax.jws.WebResult; import org.codehaus.jra.Get; import org.codehaus.jra.HttpResourc

javamail - geronimo-javamail jars

2007-08-23 Thread nuka
Hello, I've put in place WS with CXF and I have a conflict between sun mail.jar and geronimo-javamail jar. If I drop geronimo-javamail jar I get an error Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/mail/util/StringBufferOutputStream in my WS class client.

Re: Passing method parameters using PHP SoapClient failing

2007-08-23 Thread Kaleb Walton
Whew - figured out that I needed to pass an associative array as arguments. The call I needed to make was: $client->testString(array("arg0"=>"test")); Hope that helps someone else trying to figure out how to consume these webservices via PHP (NuSOAP, SoapClient, Pear SOAP, etc.). Regards, Kaleb

Re: JSON output

2007-08-23 Thread Kaleb Walton
Thanks to both of you! |> | From: | |> >--| |Dale Peakall <[EMAIL PROTECTED]>

Passing method parameters using PHP SoapClient failing

2007-08-23 Thread Kaleb Walton
As a requirement for our customers I'm trying to get SOAP communication going using PHPs SoapClient object. Calling methods with no parameters works fine (I get results) but when I pass in parameters I get a "Fault occurred while processing" error message returned which I assume is coming somewhe

RE: CXF client applet port initialization problems

2007-08-23 Thread Christopher Moesel
Hi Doug, Unfortunately, the documentation is wrong in two respects: (1) It doesn't appear that the jaxws:endpoint element supports a nested portName element. So... for now... you won't be able to specify portName there. (2) Although it *does* support serviceName, the format for specifying the n

Re: Is there any way to customise schema namespaces with java2wsdl?

2007-08-23 Thread Adrian Trenaman
Hi Jim, Thanks for the idea - if only I could modify the class!! It's been made available to me only as a JAR, not in source format, so I don't have the possiblity of adding the familiar JAX-B annotations that would do this. One suggestion I've had from a colleague in Dublin is to create a skel

WSDL problem on WebFault while using Doc/Literal SOAP style

2007-08-23 Thread suiaing
Duplicate element defination will be genereate in the WSDL for the WebFault while using Doc/Literal SOAP style. e.g. and it is no problem in the WSDL if using rpc/Literal style by using the following annotation in the webservice interface @SOAPBinding(style= SOAPBinding.Style.RPC, use= SOAPBin

RE: cxf encryption

2007-08-23 Thread Davide Gesino
Hi Daniel, thanks for the help. I modified the code as you suggested, and I was able to send and process an encrypted message. I did not get the null pointer exception anymore (maybe because I upgraded to 2.0.1). Thanks everyone for your precious help! :-))) Davide Davide Gesino wrote: > >

Re: JSON output

2007-08-23 Thread Dale Peakall
The spring configuration will look something like this: http://apache.org/cxf/binding/http";> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">