We've got an API that associates from a class to an object of the class.
It's not unlike some of the insides of CXF in this regard. It depends on
generics.
T getAnnotation(ClassT classOfAnnotation)
We're trying to export this as a web service via CXF.
Mediocre alternative #1:
Is 'required' specified only in WSDL, as opposed to min-occur and
nullable, which are XSD?
From: Corey Puffalt [mailto:[EMAIL PROTECTED]
Sent: Monday, August 20, 2007 11:54 AM
To: Benson Margulies
Cc: cxf-user@incubator.apache.org
Subject: Re: Marking
I use soapscope, but it's not free.
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 4:49 PM
To: cxf-user@incubator.apache.org
Cc: Daniel Dienhardt
Subject: Re: Problems consuming rpc literal service
Daniel,
On Friday 17 August
I'm trying to add a plain old (jaxb?) service to the same app context
where I have a working Aegis service.
I'm trying to exercise the wiring in a Junit test before I try to lauch
an app server.
I don't know if the xfire packages here indicate some classpath mishap
that I've so far failed to
Please ignore this. Indeed, I was suffering from a creeping classpath
problem.
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 12, 2007 12:45 PM
To: cxf-user@incubator.apache.org
Subject: Classpath or Spring heck, I'm not sure what question
I've just used wsdl2java in CXF for the first time. My goal here is to
migrate an existing service from a C++ web service toolkit to CXF. While
I'm starting with an existing WSDL, from here I'd like to treat the
generated JAXB/JAX-WS code as normative.
So, I'd like to ensure that the usual ?wsdl
Um, can't someone automate pulling the classpath out of the manifest
jar? Or, on the other hand, keep the facts about all the dependencies in
some XML file which is XSLT's to make either the manifest or the
human-readable content?
-Original Message-
From: Daniel Kulp [mailto:[EMAIL
in the jars META-INF.
Its content is
http\://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd
Maybe you need to do the same mapping thing in the IDE's
configuration.
Willem.
Benson Margulies wrote:
http://cxf.apache.org/schemas/jaxws.xsd
This isn't a valid URL. Now, I appreciate
0[main] INFO org.springframework.web.context.ContextLoader - Root
WebApplicationContext: initialization started
47 [main] INFO
org.springframework.web.context.support.XmlWebApplicationContext -
Refreshing
[EMAIL PROTECTED]:
display name [Root WebApplicationContext]; startup date [Wed Aug
@incubator.apache.org
Subject: Re: Sudden disagreement between Spring and CXF in current
snapshot
Hi Benson,
Can you specify your spring version and CXF version ?
Currently CXF is developed and tested with spring 2.0.4.
Willem.
Benson Margulies wrote:
0[main] INFO
http://cxf.apache.org/schemas/jaxws.xsd
This isn't a valid URL. Now, I appreciate that in the spring universe
itself this is set up to pull from classpath. But what about someone
editing a bean file with an ordinary validating XML editor?
://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/frontend/jaxws
/s
rc/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java
Willem.
Benson Margulies wrote:
I'd like to build my own spring XML extension that wraps up the
complex
specification of an Aegis service endpoint
Margulies
Subject: Re: ArrayOfAnyType (ping to Dan)
Hmm List of Arrays. I'm sure I haven't tested that one.
Interesing. Definitely likely to be not working. :-(
Dan
On Monday 30 July 2007 14:58, Benson Margulies wrote:
I think that this is occurring in the same thing I
I submitted a JIRA for this, and I think that Dan fixed it.
-Original Message-
From: Dave Kallstrom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2007 10:20 AM
To: cxf-user@incubator.apache.org
Subject: Re: Aegis bindings
I figured out the problem. Once again stupidity on my
My crash happens long before it gets anywhere near actual CXF code.
-Original Message-
From: Johnson Ma [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 12:26 AM
To: cxf-user@incubator.apache.org
Subject: Re: Eclipse STP installation process
Hi
The stp europa release
Johnson,
I hate to be a grump, and I'd prefer to help you refine this thing.
Here's my vision of the local architecture:
1) A large body of POJO code, including some classes that will
eventually travel across web service interfaces. My approach has been to
use Aegis on these classes to supply
I think, but I don't know for sure, that this thing is build upon the
WST package in Europa. I've tried to use that to set up a simple web app
containing CXF services. The WST plugins are spectacularly unstable, and
poorly designed, to boot. More or less the slightest misstep, and they
corrupt
tried to enable it on my existing
project that contains a CXF service.
So I, for what it's worth, don't recommend bothering with it.
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 22, 2007 5:37 PM
To: cxf-user@incubator.apache.org
I found a bt-spring.log file in my tomcat directory. I don't know what
picked the name bt-spring: it's not a string that occurs anywhere in my
bean definitions. The ClassCastException looks pretty mysterious to me.
0[main] INFO
Please ignore this and previous versions thereof. I've just discovered
the cause of this, which is the lack of modern tomcat support in the
so-called tomcat plugin for Eclipse. I wish that wst didn't crash so
that I could use it.
-Original Message-
From: Benson Margulies [mailto:[EMAIL
the wiki, so that we can
update the wiki.
Best Regards
Freeman
Benson Margulies wrote:
Before I started discovering various issues in the migration from
xfire
to cxf, my original goal was to wrap up a service of mine for
deployment
in a servlet container. The code of my service is set up
The following isn't exactly a cxf issue. It's more of a generic problem
with servlets that I've run into many times. However, I wonder if people
in CXF-land have had some relevant experience.
Consider a software module that is implemented as a CXF service. Its
job, let us say, is to publish a
I see that the Wiki and the spring_http samples are perfectly aligned.
My confusion resulted from looking at hello_world, which is another
thing altogether. What's going on in there?
The hello sample carefully deploys a prebuilt, static, WSDL file. Why
not just let the service handle the ?wsdl
I've probably no one else to blame but myself for the fact that my first
experiment involves running under tomcat with the sysdeo tomcat plugin
instead of with a plain vanilla config. I get the following back, and no
log traffic at all. Startup is uneventful from a logging standpoint, as
well.
.
I'll do some digging and will report back with more info.
Also, it might be good to redirect this discussion to the dev list.
Cheers,
- Dan
1. http://www.apache.org/licenses/#clas
On 7/19/07, Benson Margulies [EMAIL PROTECTED] wrote:
Dear CXF team,
Basis Technology would
Before I started discovering various issues in the migration from xfire
to cxf, my original goal was to wrap up a service of mine for deployment
in a servlet container. The code of my service is set up to use Spring
to wire together various of its bits and pieces.
I'm looking at the macros
, it is acceptable to the aegis, but tool now only work
with
jaxb.
To solve this problem, tool should work with specified databinding
(jaxb, aegis), would you please add this feature request on jira?
Best Regards
Freeman
Benson Margulies wrote:
Is there something special I have to do
CXF-807 reports the lack of Aegis support.
CXF-806 whines about the brevity of the diagnosis of this class of mine
that violates JAXB.
I recommend stealing code from AbstractAegisTest. Since I use Aegis, I
can just use that class.
-Original Message-
From: Liu, Jervis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 10:40 PM
To: cxf-user@incubator.apache.org
Subject: RE: Using Local Transport for JUnit Tests
Benson,
I'm looking into this. I'll report back as soon as I figure out if a)
its
possible or b) when I have a fix for it :-)
- Dan
On 7/17/07, Benson Margulies [EMAIL PROTECTED] wrote:
Dan,
Reading the code of 2.0, I see no evidence of any client-side code
capable of taking
Since java2wsdl isn't prepared to cooperate with Aegis yet, I wonder if
I have any chance of pulling a WSDL through the local transport?
I'm about to borrow AbstractCXFTest and a subclass or two to set up test
of my own service. It occurs to me that you all could package a jar file
with the contents of org.apache.cxf.test and the generally useful pieces
of AbstractAegisTest. Spring does something like this with the 'mock'
jar, no?
I find that my exception classes are collapsing into SoapFault. What am
I missing?
java.lang.Exception: Unexpected exception,
expectedcom.basistech.rnm.index.NameIndexException but
wasorg.apache.cxf.binding.soap.SoapFault
at
be helpful on a wiki...
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 8:55 PM
To: cxf-user@incubator.apache.org
Subject: RE: Getting the HTTP server off the bus
Well, you can ignore the first paragraph. The rest of my analysis
turned
http://cwiki.apache.org/CXF20DOC/developing-a-service.html
This page states that @WebFault goes on methods. However, it looks to me
as if @WebFault only goes on exception classes. The page could also use
an example.
XFire had a whole discussion about faults, which doesn't seem to have
-Original Message-
From: Dan Diephouse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 4:10 PM
To: cxf-user@incubator.apache.org
Subject: Re: Aegis tests and exceptions ...
Hi Benson,
More tests are always welcome! Just send along a patch. Cheers,
- Dan
On 7/17/07, Benson
At some risk of redundancy:
Step 1: set up Aegis+JAX-WS environment with some exceptions on the
service interface (and of course implementation).
Step 2: observe that WSDL seems plausible.
Step 3: run unit test. The throw is
org.apache.cxf.binding.soap.SoapFault, not any of mine.
Step 4: In a
Java2wsdl (the shell script) does not react well to being run from a
cygwin shell. It ends up with the wrong path separators.
If this isn't in the queue, I'll post a JIRA with a patch.
I know that ant tasks are pending. Until then, I tried to roll my own.
And I crashed with a complaint that cxf.xml was not found in classpath.
What jar file is supposed to contain it for this purpose?
Is there something special I have to do to run java2wsdl for an aegis
environment? As it is, I get a very mysterious rejection letter until I
ask for -verbose, and then I get the following...
org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
[java] INFO: Could not find the
));
...
And you can use this context to add the static resource handler.
Willem.
Benson Margulies wrote:
Before I finish the story I started, I see that I could get what I
want
around here by making a mutant copy of JettyHTTPServerEngine and
using
it by imposing my own subclass
a childer handler.
Maybe you can find the Context handler by looking up the context path
from
server, or we can add the getContextHandler method in the
JettyHTTPServerEngine.
Willem.
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Mon 7/16/2007 22:53
URL(file:// +
staticContentFile.getCanonicalPath());
FileResource fileResource = new FileResource(targetURL);
resourceHandler.setBaseResource(fileResource);
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 8:48 PM
on the transport layer, but hopefully
this
will get you going in the meantime.
Thanks,
- Dan
On 7/13/07, Benson Margulies [EMAIL PROTECTED] wrote:
I set out to replace JettyHTTPTransportFactory with a slightly
modified
version. So, I wrote the code below.
The effect is an NPE when my
Dan,
The most interesting thing that dawned on me is that a JettyHTTPHandler
\is a/ Jetty \Handler/. Thus, I can instantiate Jetty's standard static
content handler and call it from a subclass of JettyHTTPHandler, since
the same arguments that come into JettyHTTPHandler can be delegated to
the
clients?
Hi,
Now it use rhino lib to call java JaxWS frontend.
Thanks
Jeff
- Original Message -
From: Benson Margulies [EMAIL PROTECTED]
To: cxf-user@incubator.apache.org
Sent: Friday, July 13, 2007 9:51 AM
Subject: javascript clients?
Reading the doc on Javascript
this directory
https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/transports/http-
jetty/src/main/java/org/apache/cxf/transport/http_jetty
Enjoy hacking the code !
Willem.
Benson Margulies wrote:
Could someone reveal how to ask the default bus for the running
Jetty
instance? I want
will automatically introspect the service bean and find
the
endpoint interface via the @WebService.endpointInterface annotation,
so
that
line is completely not needed.
Cheers,
- Dan
On 7/13/07, Benson Margulies [EMAIL PROTECTED] wrote:
This annotation is on the implementation class (named
://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/transports/http-
jetty/src/main/java/org/apache/cxf/transport/http_jetty
Enjoy hacking the code !
Willem.
Benson Margulies wrote:
Could someone reveal how to ask the default bus for the running
Jetty
instance? I want to add a static
I went ahead and dropped an issue report for a problem I encountered
with type management of a service that combines JSR181 with Aegis. This
is the only apparent impediment to moving this codebase from xfire 1.2.5
to CXF 2.0.
I would be most grateful for any assistance here. I can play test-case
This belongs on the devo list, I guess, but I'm really just a user
running a build to get the rest of the javadoc. Any hints on how to get
around this? I have the current 1.5 JDK.
[INFO] Compiling 1313 source files to
C:\x\s\apache-cxf-2.0-incubator-src\testutils\target\classes
[INFO]
Is there a mvn recipe for building all the javadoc? Preferably as one
giant lump that Eclipse can associate with the one giant jar of code?
think this
was
fixed post 2.0...
http://incubator.apache.org/cxf/download.html
If it still doesn't work, report back and I can dive into it. I've
been
meaning to clean up that code this week anyway. :-)
Thanks!
- Dan
On 7/12/07, Benson Margulies [EMAIL PROTECTED] wrote:
I went ahead
Reading the doc on Javascript service implementations, I'm led to wonder
if you have got a code generator to emit Javascript clients?
Could someone reveal how to ask the default bus for the running Jetty
instance? I want to add a static content directory for it to handle.
301 - 355 of 355 matches
Mail list logo