Re: Problem with latest from svn

2007-04-15 Thread tog
-incubator-RC-20070413.190734-16.tar.gz Cheers, - Dan On 4/13/07, tog [EMAIL PROTECTED] wrote: Hi, I am using rev 528592 and got the following problem (it's quite new): 13 avr. 2007 20:20:02 org.apache.cxf.bus.spring.BusApplicationContextgetConfigResources INFO: Could not find

Re: Problem with latest from svn

2007-04-17 Thread tog
(); } System.out.println(result[0]); } } On 4/17/07, tog [EMAIL PROTECTED] wrote: Hi There is no problem in sending you this test case. Nevertheless trying the last from svn I got the following error: Caught: java.lang.NoSuchMethodError: org.apache.cxf.phase.PhaseInterceptorChain.add(Ljava/util/List;)V

Proxy settings

2007-04-30 Thread tog
Hi, I am preparing a patch for being able to use cxf with proxies. I was stuck till recently by a weird problem after playing and forging the POST request that cxf is using, I found that my proxy was not supporting chunking. Is there a way to turn this feature off ? Cheers Guillaume

Re: Proxy settings

2007-04-30 Thread tog
tog wrote: Hi, I am preparing a patch for being able to use cxf with proxies. I was stuck till recently by a weird problem after playing and forging the POST request that cxf is using, I found that my proxy was not supporting chunking. Is there a way to turn this feature off ? Cheers

Re: Proxy settings

2007-04-30 Thread tog
httpConduit.setProxyAuthorization(policy); Cheers, -Polar tog wrote: Hi Polar, Thanks for the answer, it's better. Now I have the problem that the request looks like this: POST http://www.webservicex.net/CurrencyConvertor.asmx HTTP/1.1 Content-Type: text/xml Authorization: Basic

Re: Proxy settings

2007-04-30 Thread tog
Polar Thanks very much, my problem is solved. I will then provide a small patch to URIResolver so that proxies are fully supported. Cheers Guillaume On 4/30/07, Polar Humenn [EMAIL PROTECTED] wrote: Hi, Code correct below: tog wrote: I have this in my code, isn't it the same

Re: Proxy settings

2007-04-30 Thread tog
Ok, that's fine with me. Btw, are all these features documented somewhere ? is there as well a good book covering the WS-* features (-Policy, Security, ...) Cheers Guillaume On 4/30/07, Daniel Kulp [EMAIL PROTECTED] wrote: Guillaume, On Monday 30 April 2007 10:49, tog wrote: I have

Re: ClassCastException, using restful http binding

2007-05-23 Thread tog
. Is this not recommended? -Brice On 5/23/07, Willem Jiang [EMAIL PROTECTED] wrote: Hi tog, Can you fill a jira and attached the workspace with it. Or you can send a mail to directly. I will have a look at it. I just fixed the same ClassCastException in the CXFServlet, it was related

Re: ClassCastException, using restful http binding

2007-05-23 Thread tog
Hi, OK this is working on Linux ! In fact I was missing - spring-web-2.0.4.jar - spring-core-2.0.4.jar - spring-context-2.0.4.jar - spring-beans-2.0.4.jar - cxf-rt-bindings-xml-2.0-incubator-SNAPSHOT.jar In fact I find it difficult to know which jar dependencies are required - even having a

Re: XmlSchemaComplexType exception

2007-05-24 Thread tog
. Is that the difference expected between @XmlRootElement and @XmlElement ? Cheers Tog On 5/24/07, tog [EMAIL PROTECTED] wrote: Hi Jim, Ok but I was kind of obliged to process like this - see [1] since I am using groovy which generates additional properties / fields / methods (non business one) to my bean

Re: XmlSchemaComplexType exception

2007-05-25 Thread tog
PROTECTED] wrote: Hi Tog, My next commit will meet your requirement. You can define class without @XmlRootElement for input parameter class of rest binding. Cheers Freeman tog wrote: Hi Jim, Ok but I was kind of obliged to process like this - see [1] since I am using groovy which

Aegis binding

2007-05-29 Thread tog
Hiya I would like to know if there have been some changes regarding the Aegis binding recently (within a month or so) since I now get the following exception: Thanks Guillaume [EMAIL PROTECTED]:~/projects/groovy/cplx_groovyws/client$ groovy Client.groovy log4j:WARN No appenders could be

EditGrid CXF

2007-08-03 Thread tog
Hiya Has somebody tried to use EditGrid webservice with cxf ? I am using the dynamic client factory and get the following fault. Is there something bad trying this ? Cheers Tog Found JAXB 2.1 3 août 2007 22:30:24 org.apache.cxf.endpoint.dynamic.DynamicClientFactoryaddSchemas INFO: Loading

RPC style web service (was EditGrid CXF)

2007-08-06 Thread tog
Hiya Is that possible to use RPC style web service with the dynamic client. I tried to use EditGrid without success so far. Any thoughts ? Cheers Tog

Transferring files using CXF

2007-09-02 Thread tog
Hi I would like to evaluate file transfer performances using web services (and especially cxf) using different file size and would like to compare this to ftp, ... What are the different ways of doing this using CXF ? Has anyone done similar test and could report results ? Is anyone willing to

Aegis and JAXB-WS

2007-09-05 Thread tog
Hiya I have a server based on the Aegis binding. I connect to that server using the dynamic client (JAXB). I get the following exception during the compilation phase of the schema. Is that a problem already known and similar to the one reported by Benson ? I also attached the wsdl. Cheers

newbie to MTOM with Aegis

2007-09-05 Thread tog
Hiya I tried to enabled MTOM using Aegis binding. I have a method having this signature ... byte[] getFile(String name) Accordingly to the doc, I added: sf = new ServerFactoryBean(); MapString,Object props = new HashMapString, Object(); props.put(mtom-enabled,

Re: Aegis and JAXB-WS

2007-09-05 Thread tog
) https://issues.apache.org/jira/browse/CXF-959 I deployed a new snapshot last night, could you give that a try? Dan On Wednesday 05 September 2007, tog wrote: Hiya I have a server based on the Aegis binding. I connect to that server using the dynamic client (JAXB). I get

Re: newbie to MTOM with Aegis

2007-09-07 Thread tog
Hi Freeman, The stacktrace shows Object[] invoke(BindingOperationInfo oi, Object... params) is invoked, but not the Object[] invoke(BindingOperationInfo oi, Object[] params, MapString, Object context,

Re: newbie to MTOM with Aegis

2007-09-07 Thread tog
:182) at client.run(client.groovy:5) Freeman tog wrote: Hiya I tried to enabled MTOM using Aegis binding. I have a method having this signature ... byte[] getFile(String name) Accordingly to the doc, I added: sf = new ServerFactoryBean

Re: newbie to MTOM with Aegis

2007-09-10 Thread tog
, Object[] params, MapString, Object context) but not invoke(BindingOperationInfo oi, Object... params) if you debug in. Best Regards Freeman tog wrote: Hi Freeman, The stacktrace shows Object[] invoke(BindingOperationInfo oi

DefaultTypaMappingRegistry issue [was: Aegis binding and property/fiels removal]

2007-09-21 Thread tog
There seems to be an renewed interest for Aegi on the list (thanks Benson ;-) ) Can someone comment if what I want to achieve is do-able ? According to Dan D. it is. I am clueless regarding step 4 (quoted below) Thanks Guillaume -- Forwarded message -- From: tog [EMAIL PROTECTED

Re: DefaultTypaMappingRegistry issue [was: Aegis binding and property/fiels removal]

2007-09-26 Thread tog
of unloved property names?). -Original Message- From: tog [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 4:22 PM To: cxf-user@incubator.apache.org Subject: DefaultTypaMappingRegistry issue [was: Aegis binding and property/fiels removal] There seems

Re: CXF and grails...

2007-09-26 Thread tog
Hi anthony, I am the developer of GroovyWS and I am currently looking into running a service into tomcat which looks close to what you are trying to do. Could you describe a bit more what you're doing currently ? Are you using GroovyWS or directly CXF ? If you are using GroovyWS, is your service

Servlet container question ?

2007-09-27 Thread tog
Hiya, I would like to publish an aegis service in tomcat using groovyws. As a starting point, I have tried the java_first_pojo samples (2.0.2). I deployed successfully but could not access it using http://localhost:8080/services/hello_world?wsdl I then would like to avoid spring configuration

Re: CXF and grails...

2007-09-27 Thread tog
Bonjour Anthony, Now, I also tried to use GroovyWS in my grails app with no success (as a client) while I had no problem with a straight groovy app. My guess is that the problem is related to classloading, but I'm completely stuck at this point... Well using the groovyws client from a

Re: Servlet container question ?

2007-09-28 Thread tog
, Guillaume See my comments inline. Thanks Jeff tog wrote: Hiya, I would like to publish an aegis service in tomcat using groovyws. As a starting point, I have tried the java_first_pojo samples (2.0.2). I deployed successfully but could not access it using http://localhost:8080/services

Re: Servlet container question ?

2007-09-29 Thread tog
of demo.hw.server.HelloWorld, it should be the full class name. Can you check that? Thanks Jeff tog wrote: Actually My goal is to deploy a cxf groovy service possibly using the aegis service. I thought I was successful but get this error. When I do compile the script this is working file. I

Re: CXF and grails...

2007-10-01 Thread tog
Bonjour Anthony I guess I have reproduced somehow your environment. I may hae put more jars into my lib directory (actually I put all the jars required for groovyws) But grails is starting fine. What I am not sure is the environment, could you tell me which are your conf files exactly ? Do you

Re: CXF and grails...

2007-10-03 Thread tog
/CurrencyConvertor.asmx?WSDL;, this.class.classLoader) def value = proxy.ConversionRate(EUR, SGD) render One euro is ${value} Sing dollar } } Guillaume On 10/2/07, tog [EMAIL PROTECTED] wrote: Bonjour Anthony I guess I have reproduced somehow your environment. I may hae put

2.0.3 release ?

2007-11-13 Thread tog
Hiya, I would like to know when is due the 2.0.3 release ? I would prefer to stick to official release rather than SNAPSHOT for GroovyWS. Thanks Guillaume

New Servlet

2007-11-27 Thread tog
Hiya, Is there somewhere an example of the on spring servlet usage ? Cheers Guillaume

Using https ...

2007-11-28 Thread tog
I would like to use https support for a code first approach ... In order to do this I have looked at http://cwiki.apache.org/CXF20DOC/standalone-http-transport.html, here my question is to know whether or not thiese destinntions are customizable by API ? Let's call this aproach 0 On a second

Re: Using https ...

2007-11-28 Thread tog
Ew. That's some awfully stale wiki. You can't configure a server endpoint for SSL using a destination any more. See https://svn.apache.org/repos/asf/incubator/cxf/tags/cxf-2.0.3- incubator/distribution/src/main/release/samples/wsdl_first_https/ CherryServer.cxf for what your

Re: Using https ...

2007-11-28 Thread tog
for HTTP/S. Your 2 refers to configuring keys and certificates for WS-Security -- and in particular, message protection. So no, the 2 are quite different. Is that what you were asking? On Nov 28, 2007, at 3:51 PM, tog wrote: 2- same as one using certificates. Could you clarify what you

cxf jetty https server

2007-11-28 Thread tog
Hi, I want to configure the jetty http server programmatically so that it can use https. I am currently publishing my service using: sf = new ServerFactoryBean(); sf.getServiceFactory().getServiceConfigurations().add(0, new GroovyConfiguration());

Re: Acessing a WS with CXF by using a DynamicClient...

2007-11-30 Thread tog
Btw, conceptually it is the same: one is embedded in the other. Am I wrong ? On Dec 1, 2007 8:29 AM, Glen Mazza [EMAIL PROTECTED] wrote: Am Donnerstag, den 29.11.2007, 14:46 -0800 schrieb Alexandre Gazola: Hello guys, I´m starting to develop with webservices... I would like to start with

Re: perl (SOAPLite) interoperability with CXF

2007-11-30 Thread tog
to talk to the particular service. I have tested it for a number of Doc/Lit services. See rt/javascript in the source tree. I don't know \anything/ about groovy, so I can't address whether groovy could use it. --benson -Original Message- From: tog [mailto:[EMAIL PROTECTED] Sent

Re: perl (SOAPLite) interoperability with CXF

2007-11-30 Thread tog
Benson, A naive question: what is doing the javascript generator ? Would that make sense for groovy ? Cheers Guillaume On Dec 1, 2007 8:40 AM, Benson Margulies [EMAIL PROTECTED] wrote: Kuro, You could build a perl generator for CXF like the Javascript generator I've nearly finished.

org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-11-30 Thread tog
wrong :-) Here is the cryptic exception I got -- hope it will make sense to one of you ! Doing something similar for the Microsoft Terra webservice just works fine. Any help appreciated Thanks Tog PS: for those interested here is my code: import groovyx.net.ws.WSClient; def proxy = new WSClient

Re: Dynamic client issue with Strikeiron webservice

2007-12-03 Thread tog
verify with 2.0.4, that would be great. Dan On Monday 03 December 2007, Glen Mazza wrote: Am Dienstag, den 04.12.2007, 01:29 +0800 schrieb tog: Here is an example that give an exception with the StrikeIron free webservice (you just need to register) when using the dynamic client

Re: Dynamic client issue with Strikeiron webservice

2007-12-04 Thread tog
between those two ? Is there a way for me, to query the client and get which form I have to call ? Cheers Guillaume On Dec 4, 2007 8:53 AM, tog [EMAIL PROTECTED] wrote: Dan, I will have a look at it now. Cheers Guillaume On Dec 4, 2007 7:59 AM, Daniel Kulp [EMAIL PROTECTED] wrote

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-04 Thread tog
Hi Dan and Glen, Object[] response = client.invoke(GetTeamInfoByCity, obj); to something like: BindingOperationInfo bop = ... lookup operation from service model Object[] response = client.invoke(bop, ID, PASS, New England); then it SHOULD work. The trick is getting the bop.I

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-05 Thread tog
= client.invoke(GetTeamInfoByCity, true, ID, PASS, New England); Dan On Tuesday 04 December 2007, tog wrote: Hi Dan and Glen, Object[] response = client.invoke(GetTeamInfoByCity, obj); to something like: BindingOperationInfo bop = ... lookup operation from service model

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-05 Thread tog
for it few days ago , so the exception will go way when you get the latest snapshot. BTW, This exception only happened when your are useing CXFBusFactory instead of SpringBusFactory. Willem. tog wrote: Hi Dan, This is ok, I looked at your code, I was doing similar things in my GroovyWS

SOAPAction

2007-12-07 Thread tog
Hi, Is there a way to force CXF to generate WSDL having the SOAPAction set with the name of the Operation i.e. change wsdl:operation name=sayHi soap:operation soapAction= style=document / to be wsdl:operation name=sayHi soap:operation soapAction=sayHi style=document / Thanks Guillaume

Re: Dynamic client basic auth

2007-12-08 Thread tog
the same question apply for the wsdl2java. I did not see anything for setting up username/passwd in the options On Dec 9, 2007 1:13 AM, tog [EMAIL PROTECTED] wrote: Hi I need basic auth to retrieve a wsdl. I currently use the dynamic client. All the constructors take directly a string

Re: Dynamic client basic auth

2007-12-09 Thread tog
wget.Once it is local and the AuthorizationPolicy has been set up,the subsequent calls are working fine Guillaume On Dec 9, 2007 5:22 PM, tog [EMAIL PROTECTED] wrote: Hum I can believe this ... What I am looking for is a way to set up the Authorization header in the HTTP request (prior to get

Re: Dynamic client basic auth

2007-12-09 Thread tog
-DproxyPort=PORT Willem. tog wrote: Hum I can believe this ... What I am looking for is a way to set up the Authorization header in the HTTP request (prior to get the wsdl). I know how to set-up the Proxy-Authorization header and I found AuthorizationPolicy

Re: dynamic client fails to create service

2007-12-09 Thread tog
Hi Benjamin, Would help if you can send the wsdl ;-) Cheers Guillaume On Dec 9, 2007 1:42 PM, Benjamin Coiffe [EMAIL PROTECTED] wrote: Hi, The Dymamic client factory fails to create a client for the WSDL I have attached to this email. It is because of the complex type and the

Re: SOAPAction

2007-12-10 Thread tog
Hi James, I would be happy to contribute. Can you tell me where I should start looking at ? Cheers Guillqume On Dec 10, 2007 11:09 AM, James Mao [EMAIL PROTECTED] wrote: I don't think that we have such an option, you can file a jira, patches are always welcome ;) Regards, James Hi,

New GroovyWS release (0.2.0)

2007-12-15 Thread tog
I am pleased to announce the 0.2 version of GroovyWS. It adds: - support for thhps from the client side - support for http authentication - add the SOAPAction element in the WSDL generation on the server side This version has been tested using numerous public web services (Amazon S3,

Aegis question

2008-01-07 Thread tog
When publishing a service using aegis, the name of the output message is return when my code is doing something like: double sum(double arg0, double arg1) { return (arg0 + arg1) } I mean the wsdl is this: xsd:complexType name=addResponse xsd:sequence xsd:element

Mixing java_first_spring_support groovy_spring_support

2008-01-08 Thread tog
My goal is to deploy configure a groovy service in tomcat using spring. I started using the java_first_spring_support samples. I deployed it into tomcat and started to modify it a bit. I added the files HelloWorld.groovy HelloWorldImpl.groovy in webapps/spring_http/WEB-INF/classes. I then

Re: Mixing java_first_spring_support groovy_spring_support

2008-01-08 Thread tog
-2.7.6.jar * asm-2.2.3.jar regards Jeff tog wrote: My goal is to deploy configure a groovy service in tomcat using spring. I started using the java_first_spring_support samples. I deployed it into tomcat and started to modify it a bit. I added the files HelloWorld.groovy

Re: Aegis question

2008-01-08 Thread tog
PROTECTED] wrote: Try @WebParam http://cwiki.apache.org/CXF20DOC/how-do-i-develop-a-service.html Regards, tog wrote: When publishing a service using aegis, the name of the output message is return when my code is doing something like: double sum(double arg0, double arg1

Re: Aegis question

2008-01-08 Thread tog
return-type name=sum/ /method /mapping /mappings On Jan 8, 2008 6:52 PM, Eric Rodriguez [EMAIL PROTECTED] wrote: @WebResult(name=sum) double sum(double arg0, double arg1) { return (arg0 + arg1) } tog wrote: Thanks Eric, but what I want to change is in the schema

CXFServlet

2008-01-17 Thread tog
Me again ... Usually when I create a server I use jetty (pretty simple), I want to move to other container like tomcat. Using the CXFServlet (or the nonSpring servlet) how can I set my data binding to aegis ? ususally I do a sf.getServiceFactory().getServiceConfigurations().add(0, new

Re: CXFServlet

2008-01-30 Thread tog
PROTECTED] wrote: On Friday 18 January 2008, tog wrote: Me again ... Usually when I create a server I use jetty (pretty simple), I want to move to other container like tomcat. Using the CXFServlet (or the nonSpring servlet) how can I set my data binding to aegis ? ususally I do

Re: CXFServlet

2008-02-03 Thread tog
Thanks With the spring version, you would just use the normal Spring config to acomplish the same thing. http://cwiki.apache.org/confluence/display/CXF20DOC/Aegis+Databinding For some reason I cannot use the spring config, therefore I understand that I have to override loadbus. Having define

Re: CXFServlet

2008-02-04 Thread tog
Thanks Willem, This is a super tuesday, it works ;-) Cheers Guillaume

A class/interface with the same name is already in use. Use a class customization to resolve this conflict.

2008-02-09 Thread tog
When I try to use the following wsdl https://oxbranch.optionsxpress.com/OPXSTools/OptionChain.asmx?WSDL both with wsdl2java and the simple client I got the following error. It is true that GeneralStockQuery is both an element and a complex type. Is there a way to solve this by providing more

Building cxf

2008-02-27 Thread tog
I just downloaded the 2.04 sources. Trying to compile I get this error: [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure

2.1 AegisServiceConfiguration

2008-03-01 Thread tog
Hi Benson, This is deprecated in 2.1. What should I use to tune the operations that are/aren't published now ? Cheers Guillaume -- Best Regards Guillaume PGP KeyID:C1A0A73F FingerPrint:A4A2 73C0 E7D4 6437 8185 D05E ECF2 AD84 C1A0 A73F http://cheztog.blogspot.com

Re: 2.1 AegisServiceConfiguration

2008-03-01 Thread tog
On Sun, Mar 2, 2008 at 1:02 AM, Benson Margulies [EMAIL PROTECTED] wrote: XFireCompatibilityServiceConfiguration. The javadoc claims to say so, did it not come through? humm, no there is nothing about aegis in the javadoc ;-) I could not find it for 2.0.3 either (btw I am looking in docs/api)

Re: 2.1 AegisServiceConfiguration

2008-03-02 Thread tog
(and keep using xfire-compatible) uri's, or you can inherit from its base class. On Sat, Mar 1, 2008 at 7:34 PM, tog [EMAIL PROTECTED] wrote: On Sun, Mar 2, 2008 at 1:02 AM, Benson Margulies [EMAIL PROTECTED] wrote: XFireCompatibilityServiceConfiguration. The javadoc claims to say