Re: Unmarshalling error

2007-05-13 Thread Freeman Fang
). getSample().get(0).getChannelData().get(0).getChannelNamespace()); and the result is what I want traffic 1 0400-01-01T00:00:00 11 journeyTime Thanks very much Freeman Freeman Fang wrote: Hi Richard, We do support choice in wsdl now. I test your wsdl with latest cxf. It works perfectly

Re: AW: Custom serializer / deserializer in cxf?

2007-05-15 Thread Freeman Fang
Aegis databinding and using the Type/TypeMapping concept so I can include my own Serializer/Deserialzer, correct? Thanks in advance from Munich, Andreas -Ursprüngliche Nachricht- Von: Freeman Fang [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Mai 2007 04:03 An: cxf-user

Re: helloworld sample simpleType restriction not working

2007-05-24 Thread Freeman Fang
Hi Feng, Brice is correct, generated stub can't do the schema validation. But if you run client from ant client, you will see we do this schema validation since by this way, we pass in wsdl to the client, so the client can build service model from wsdl, which include the schema restriction.

Re: XmlSchemaComplexType exception

2007-05-25 Thread Freeman Fang
this is an issue or unsupported. Jaxb need this annotation to generate the appropriate schema. [1] JAXB spec 8.7.2 [2] http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html Cheers Jim Freeman Fang wrote: Hi Tog, Class defined as method input para need @XmlRootElement

Re: Aegis binding

2007-05-29 Thread Freeman Fang
Hi Tog, Would you please fill a jira issue and append your test case. I saw this ClassCastException several times in different mailthread these days. We need fix it up. Thanks very much Freeman tog wrote: Hiya I would like to know if there have been some changes regarding the Aegis binding

Re: Problem matching URI templates with RESTful binding

2007-05-31 Thread Freeman Fang
Hi Adrian, It's weird, I can't reproduce your problem. Your code seems correct to me. What's your Contacts.java and Contact.java looks like. Please send me your entire testcase if possible. Thanks very much Freeman Trenaman, Adrian wrote: Hi there, Does anyone know if there's some

Re: Aegis binding

2007-05-31 Thread Freeman Fang
Thanks Tog, I will fix it ASAP. Cheers Freeman tog wrote: Hi Freeman, Here it is https://issues.apache.org/jira/browse/CXF-697 The test case is included. Cheers Tog On 5/30/07, Freeman Fang [EMAIL PROTECTED] wrote: Hi Tog, Would you please fill a jira issue and append your test case. I

Re: Skipping some layers in the interceptor chain

2007-06-05 Thread Freeman Fang
Hi Richard, Comment inline Shaw, Richard A wrote: If I use the dispatch interface does CXF still pass it through the binding and transport layers ? It only skip mashall/unmashall for binding layer, but can not skip the transport layer, anyway, you need deliver message to remote process

Re: Logging SOAP Messages

2007-06-15 Thread Freeman Fang
Hi Krystian, When you publish your server, you can add log intercepor for your endponint. Some thing like Object implementor = new RemedyTsExtractImpl(); String address = http://localhost:1;; EndpointImpl e = (EndpointImpl)Endpoint.publish(address,

Re: Logging SOAP Messages

2007-06-15 Thread Freeman Fang
that using eg Spring configuration file? To publish endpoints I use XML Spring configuration file which I put inside my WAR. On 6/15/2007 12:28 PM,User Freeman Fang wrote: Hi Krystian, When you publish your server, you can add log intercepor for your endponint. Some thing like

Re: cannot implement service using ProviderDataSource

2007-06-20 Thread Freeman Fang
Hi Conrad, I will take care of this issue. Cheers Freeman Conrad O'Dea wrote: Howdy, I'm trying to create a service with ProviderDataSource which is published using XML/HTTP. I can publish the endpoint without problem but invoking on the service does not work. My Provider is declared as

Re: service ok, client not...

2007-06-24 Thread Freeman Fang
Hi Jan, Would you please check cxf-rt-transports-http-2.1-incubator-SNAPSHOT.jar and cxf-rt-transports-http-jetty-2.1-incubator-SNAPSHOT.jar is on your client side classpath? And Would you please provide the client side classpath ? Thanks very much Freeman Jan Kriesten wrote: hi! i'm

Re: service ok, client not...

2007-06-25 Thread Freeman Fang
Hi Jan, Would you please fill a jira for us to track this issue and append your test code? Thanks very much Freeman Jan Kriesten wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi freeman, I notice you still use 2.0-incubator-RC, we fix several bugs since that version. i

Re: soap callbacks

2007-06-25 Thread Freeman Fang
Hi Jan, Yes, you can register client side EPR(endpoint reference) to server for callback. Actually, we have a sample callback in the kit to show how typical callback works. You can get concrete idea from this sample. Thanks very much Freeman Jan Kriesten wrote: hi, i'm not yet that

Re: marshalling error

2007-06-27 Thread Freeman Fang
Hi Jan, Since Authentication is an interface, so your real message response should have an object(let's say it's instance of AuthenticationImpl) which implement Authentication, right? You need add AuthenticationImpl(which is an extra class for jaxb since we cann't get this class when build

Re: Question regarding WSDL2Java

2007-06-27 Thread Freeman Fang
Hi Ken, It's intended result for list type by JAXB. You can add item in list but can not set a totally new list. You should see comment like p * For example, to add a new item, do as follows: * pre *getChoice().add(newItem); * /pre Thanks very much Freeman Ken Gallo wrote:

Re: validation error; missing schema

2007-07-09 Thread Freeman Fang
Hi Christian, Would you please append your spring configuration file? CXF spring schema namespace changed recently You can get more details about this topic from cxf-dev mailing list which title is Schema namespaces and public URIs And build kit from latest trunk to see how latest samples use

Re: How dependent is CXF with Spring?

2007-07-09 Thread Freeman Fang
Hi Joshua, I believe you can use cxf without spring, at least without being aware of using spring(By default, we ship spring bean configuration file with cxf module and used when init bus, you are no need to write any spring bean definition). And all spring based configuration can be

Re: wsdl2java: velocity engin write errors (NPE)

2007-07-11 Thread Freeman Fang
Hi Christian, Maybe you need create a jira issue and append your attachment on jira website. You attachment is filtered again in this email. :-) Best Regards Freeman Christian Vest Hansen wrote: It *is* in the same directory and I *did* attach the schema... I dunno why it didn't get through

Re: http://schemas.xmlsoap.org/soap/http

2007-07-13 Thread Freeman Fang
Hi Marc, For setup the CXF servlet in a junit test, you can get more details from trunk/systests/src/test/java/org/apache/cxf/systest/servlet/SpringServletTest.java and it's superclass trunk/systests/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java Best Regards Freeman

Re: http://schemas.xmlsoap.org/soap/http

2007-07-13 Thread Freeman Fang
=/ ref bean=handlerMapping / /entry /map /property /bean Thanks, Marc Original-Nachricht Datum: Fri, 13 Jul 2007 14:47:33 +0800 Von: Freeman Fang [EMAIL PROTECTED] An: cxf-user

Re:

2007-07-13 Thread Freeman Fang
like xfire? Regards, Marc Original-Nachricht Datum: Fri, 13 Jul 2007 17:47:03 +0800 Von: Freeman Fang [EMAIL PROTECTED] An: cxf-user@incubator.apache.org Betreff: Re: Hi Marc, The redunadant declaration of address and implementing class is unnecessary, actually

Re: http://schemas.xmlsoap.org/soap/http

2007-07-13 Thread Freeman Fang
the webapp folder / web.xml? I would like to define the hole behaviour of the server in the test itself without a reference other files. Regards, Marc Original-Nachricht Datum: Fri, 13 Jul 2007 16:18:58 +0800 Von: Freeman Fang [EMAIL PROTECTED] An: cxf-user

Re:

2007-07-13 Thread Freeman Fang
Hi Marc, You can do it like beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:jaxws=http://cxf.apache.org/jaxws; xsi:schemaLocation= http://www.springframework.org/schema/beans

Re: How to enable mtom on the embedded server?

2007-07-17 Thread Freeman Fang
Hi Samuel, javax.xml.ws.soap.SOAPBinding is class from jax-ws api, so you need make your service jaxws compatible add jaxws BindingType annotation into your TestServiceImpl @BindingType (value = SoapBinding.SOAP11HTTP_MTOM_BINDING) And use JaxWsServerFactoryBean instead of ServerFactoryBean to

Re: java2wsdl rejects class that is acceptable to the aegis universe

2007-07-17 Thread Freeman Fang
Hi Benson, Would you please append your java class? From the exception, it seems your class method are bare mode so that java2wsdl load jaxb to process your method parameter type class, but unfortunately, this type class has two properties with same name, which is illegal for jaxb. As you

Re: java2wsdl rejects class that is acceptable to the aegis universe

2007-07-18 Thread Freeman Fang
=urn:com.basistech.rnm.index.ws) public class NameIndexServiceImpl extends NameIndexServiceCommon implements NameIndexService { -Original Message- From: Freeman Fang [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 11:35 PM To: cxf-user@incubator.apache.org Subject: Re: java2wsdl rejects class

Re: Back to a really basic question: using CXF+Spring to deploy a JAX-WS+Aegis service behind a servlet container.

2007-07-19 Thread Freeman Fang
Hi Benson, FYI, I just know Willem update this wiki page today. So what I see may not same as you saw. Best Regards Freeman Freeman Fang wrote: Hi Benson, I think you should follow spring_http sample. The doc from wiki might out of date, but the working demo is more believable. :-) Btw

Re: No conduit initiator was found when calling a WebService from a CXF WebService

2007-07-24 Thread Freeman Fang
Hi Matthias, Ensure that cxf-rt-transports-http-2.1-incubator-SNAPSHOT.jar and cxf-rt-transports-http-jetty-2.1-incubator-SNAPSHOT.jar is on your servlet container classpath. Best Regards Freeman [EMAIL PROTECTED] wrote: Hello I developed a simple CXF Web Service which is deployed as a

Re: Configuring interceptors using annotations

2007-07-25 Thread Freeman Fang
Hi Jeff, Would you please re-upload this patch ensure that Grant license to ASF for inclusion in ASF works is selected? Thanks Freeman Jeff.Yu wrote: Hi, I've submitted a patch for this JIRA, can someone help me review it and apply it if it is ok. Thanks Jeff Yu Zarar Siddiqi wrote:

Re: Configuring interceptors using annotations

2007-07-25 Thread Freeman Fang
Thanks Jeff I will take care of this patch Freeman Jeff.Yu wrote: Hi, Freeman Thanks, I've re-uploaded it. Thanks Jeff Yu Freeman Fang wrote: Hi Jeff, Would you please re-upload this patch ensure that Grant license to ASF for inclusion in ASF works is selected? Thanks Freeman Jeff.Yu

Re: setting client temporary directory for MTOM attachments in CXF

2007-08-12 Thread Freeman Fang
Hi Jeff, I will take care of this patch Thanks Freeman Jeff.Yu wrote: Hi, I've just provided another patch for this issue, (the original patch broke the test, now I pass it against all tests), I've also added a unit test method for it. can someone help me review it. Thanks Jeff Willem

Re: Enforce complex type definition in WSDL

2007-08-21 Thread Freeman Fang
Hi Holger, I guess what you really need is an addtional class(Product) which is not defined in your SEI signature, if in this case, the discussion and solution for CXF-340 may be helpful. https://issues.apache.org/jira/browse/CXF-340 Best Regards Freeman Holger Stolzenberg wrote: Hi

Re: SOAP Attachment question/problem

2007-08-29 Thread Freeman Fang
Hi Pawel, You can refer to the system test ClientServerSwaTest to get more details about how cxf support SWA. http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java?view=log Cheers Freeman Daniel Kulp wrote: We do support

Re: newbie to MTOM with Aegis

2007-09-07 Thread Freeman Fang
Comment inline tog wrote: Thanks freeman for the answer, You can do it with jaxb databing which is little tricky, by means of adding jaxb annotation @XmlMimeType(application/octet-stream) on DataHandler you can get more details from

Re: newbie to MTOM with Aegis

2007-09-09 Thread Freeman Fang
Hi Guillaume, Try to use Object[] response = client.invoke(op, (Object[])objs, context) but not client.invoke(op, (Object[])objs, context, null) Since in Client.java, there is no api for client.invoke(op, (Object[])objs, context, null), so if you use client.invoke(op, (Object[])objs, context,

Re: newbie to MTOM with Aegis

2007-09-10 Thread Freeman Fang
, Freeman Fang [EMAIL PROTECTED] wrote: Hi Guillaume, Try to use Object[] response = client.invoke(op, (Object[])objs, context) but not client.invoke(op, (Object[])objs, context, null) Since in Client.java, there is no api for client.invoke(op, (Object[])objs, context, null), so if you use

Re: Invoking a service based on service URL, not WSL URL

2007-09-13 Thread Freeman Fang
Hi Guy, Please refer to http://www.nabble.com/Client-question-tf4357978.html#a12419843, several options to set address dynamically on client side. Best Regards Freeman Guy Pardon wrote: Hi, How can I invoke a service whose address is only known at runtime (i.e., whose address is not in

Re: CXF exception in running web service

2007-09-17 Thread Freeman Fang
Hi Ramanand, The error shows you are using incorrect saaj-api version. Would you please check the saaj-api version on your classpath, it should be 1.3. Btw, which version of cxf you are using? Best Regards Freeman Singh, Ramanand wrote: I am running into a problem with the following

Re: CXF exception in running web service

2007-09-17 Thread Freeman Fang
hClient.java:40) Regards, Ramanand Singh Architecture Team GEICO IBU Service 301.986.2791 -Original Message- From: Freeman Fang [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 4:56 AM To: cxf-user@incubator.apache.org Subject: Re: CXF exception in running web service Hi

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

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

Re: class not found error on 2.0.2 when trying to use log4j

2007-09-30 Thread Freeman Fang
Just try the latest trunk. We get it fixed after 2.0.2 release Best Regards Freeman bmargulies wrote: [junit] Testcase: testEchoNoException(com.basistech.rnm.index.ws.EchoTest): Caused an ERROR [junit] null [junit] java.lang.ExceptionInInitializerError [junit]

RE: class not found error on 2.0.2 when trying to use log4j

2007-09-30 Thread Freeman Fang
because it can't find some pieces of spring 2.0.6 in the maven repos. -Original Message- From: Freeman Fang [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 9:35 PM To: cxf-user@incubator.apache.org Subject: Re: class not found error on 2.0.2 when trying to use log4j Just

Re: Logging small puzzle

2007-10-03 Thread Freeman Fang
, Freeman Fang [EMAIL PROTECTED]: 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

Re: Questions about CXF WS-RM sample

2007-11-27 Thread Freeman Fang
Hi Glen, IIRC, for ws-rm, the client will wait the ack message sent back from server in some certain time, so if client doesn't get the ack message, client assume the message sent out is lost, so do the resend, and the same thing happened on the resend message. Best Regards Freeman On Nov 27,

Re: jsr181 annotations?

2007-12-18 Thread Freeman Fang
Hi, Try add dependency groupIdorg.apache.geronimo.specs/groupId artifactIdgeronimo-ws-metadata_2.0_spec/artifactId version1.1.1/version /dependency in your pom This dependency should have jsr181 Freeman On Dec 18, 2007

Re: mvn archetype:create -DarchetypeGroupId=org.apache.cxf -DarchetypeArtifactId=cxf-http-basic

2007-12-18 Thread Freeman Fang
Hi, Sure for create jira for -DgroupId issue. About the test, I think we have some basic test for servicemix archetype, [1] for more details [1] http://svn.apache.org/repos/asf/servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ Best Regards

Re: Client side plain SOAP invocation

2008-02-13 Thread Freeman Fang
Hi, Yeah, what you need is dispatch/provider, you can find the example from the cxf kit. Freeman On Feb 13, 2008 9:04 PM, silithus [EMAIL PROTECTED] wrote: Hello, I was wondering if Cxf provides client side plain XML/SOAP invocation capabilities. Ideal case would be to pass SOAP

Re: WSDL First Development Cycle - specifically wsdl:port address question

2008-04-01 Thread Freeman Fang
Hi, I think you can configure endpoint address by spring, you can change it in spring configure file according to different development cycle phase. [1] for more details [1]http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html Freeman bdm wrote: I'm looking for suggestions for a best

Re: SoapWithAttachments

2008-04-03 Thread Freeman Fang
Hi Vijay, We have mtom demo in the kit, which shows how SOAP message with an attachment and XML-binary Optimized Packaging(mtom) work. Regards Freeman Vijay Allam wrote: I have a third part webservice that returns an attachment. How do I get the attachment with CXF client. Any example code

Re: [CXF] Deployment errors

2008-04-03 Thread Freeman Fang
Hi, Looks like the url is incorrect. According to your configuration, the correct one should be http://localhost:8080/your-war-name/ordine?wsdl Regards Freeman Cencio wrote: Hi, i'm still unable to retrieve the wsdl from my service... i post all my info: web.xml: web-app

Re: Can‘t find how to access the webserv ice when deployed into tomcat

2008-04-15 Thread Freeman Fang
Hi, Which url you are using to access the the service? It should be http://localhost:8080/your-war-name/services/HelloWorld according to your configuration. And use http://localhost:8080/your-war-name/services/HelloWorld?wsdl to access the wsdl I assume your tomcat server use 8080 port. Regards

Re: Can‘t find how to access the webserv ice when deployed into tomcat

2008-04-16 Thread Freeman Fang
://localhost:8080/your-war-name/services/HelloWorld?wsdl* Thanks best regards Jackey 在08-4-16,Mick Knutson [EMAIL PROTECTED] 写道: Just try http://localhost:8080/your-war-name/services/ You should get a list of all services deployed. 2008/4/15 Freeman Fang [EMAIL PROTECTED]: Hi, Which url

Re: CXF Spring client: getting the message´s XML payload

2008-04-16 Thread Freeman Fang
Hi Juanjo, I think you have several options option1. You can write an Interceptor which should be invoked after receive xml stream from the underlying transport, take a look at LoggingInInterceptor, your interceptor could be very similar with it. the key part in the interceptor looks like

Re: CXF, WS-Policy and Spring

2008-04-16 Thread Freeman Fang
Hi Gerhard, I'm not expert of ws-policy, but add spring configure to jaxws:endpoint per as below just works for me jaxws:features wsp:Policy wsrm:RMAssertion wsrm:InactivityTimeout Milliseconds=60/ wsrm:AcknowledgementInterval Milliseconds=200 / /wsrm:RMAssertion

Re: CXF, WS-Policy and Spring

2008-04-16 Thread Freeman Fang
) is not supported at this stage so that's why I was suggesting to put them into an explicit WSDL document and then link to that wsdl document from a jaxws:endpoint definition Cheers, Sergey From: Freeman Fang [EMAIL PROTECTED] To: cxf-user@incubator.apache.org Sent: Wednesday, April 16, 2008 2:50 PM

Re: problem serializing class hierarchy

2008-04-20 Thread Freeman Fang
Hi Rafael, Take a look at CXF-340-Support adding extra classes to JAXB context, which address your issue. [1] for more details [1]http://issues.apache.org/jira/browse/CXF-340 Regards Freeman Rafael Ribeiro wrote: Hi all, I have an webmethod that returns an arbitrary class. The problem