).
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
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
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.
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
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
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
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
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
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,
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
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
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
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
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
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
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:
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
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
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
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
=/
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
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
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
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
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
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
=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
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
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
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:
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
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
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
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
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
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,
, 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
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
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
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
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
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
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]
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
, 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
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,
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
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
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
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
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
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
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
://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
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
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
) 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
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
58 matches
Mail list logo