choice versus map

2007-08-21 Thread Benson Margulies
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:

RE: Marking mandatory parameters with JAX-WS (was Marking optional parameters with JAX-WS)

2007-08-20 Thread Benson Margulies
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

RE: Problems consuming rpc literal service

2007-08-17 Thread Benson Margulies
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

Classpath or Spring heck, I'm not sure what question I'm even asking here

2007-08-12 Thread Benson Margulies
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

RE: Classpath or Spring heck, I'm not sure what question I'm even asking here

2007-08-12 Thread Benson Margulies
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

wsdl2java versus ?wsdl URL processing

2007-08-08 Thread Benson Margulies
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

RE: WHICH_JARS not actual

2007-08-03 Thread Benson Margulies
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

RE: Should schema location URLs be valid?

2007-08-02 Thread Benson Margulies
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

Sudden disagreement between Spring and CXF in current snapshot

2007-08-01 Thread Benson Margulies
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

RE: Sudden disagreement between Spring and CXF in current snapshot

2007-08-01 Thread Benson Margulies
@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

Should schema location URLs be valid?

2007-08-01 Thread Benson Margulies
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?

RE: bean stalks

2007-08-01 Thread Benson Margulies
://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

RE: ArrayOfAnyType (ping to Dan)

2007-07-30 Thread Benson Margulies
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

RE: Aegis bindings

2007-07-25 Thread Benson Margulies
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

RE: Eclipse STP installation process

2007-07-23 Thread Benson Margulies
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

RE: Eclipse STP installation process

2007-07-23 Thread Benson Margulies
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

RE: Eclipse STP installation process

2007-07-22 Thread Benson Margulies
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

RE: Eclipse STP installation process

2007-07-22 Thread Benson Margulies
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

tomcat deployment issues

2007-07-21 Thread Benson Margulies
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

RE: tomcat deployment issues

2007-07-21 Thread Benson Margulies
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

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

2007-07-20 Thread Benson Margulies
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

context-params, spring, CXF

2007-07-20 Thread Benson Margulies
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

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

2007-07-20 Thread Benson Margulies
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

Off to a poor start with tomcat + spring + cxf + sysdeo?

2007-07-20 Thread Benson Margulies
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.

RE: Contribution of wsdl2js tool

2007-07-19 Thread Benson Margulies
. 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

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

2007-07-19 Thread Benson Margulies
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

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

2007-07-18 Thread Benson Margulies
, 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

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

2007-07-18 Thread Benson Margulies
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.

RE: Using Local Transport for JUnit Tests

2007-07-18 Thread Benson Margulies
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

RE: Aegis tests and exceptions ...

2007-07-18 Thread Benson Margulies
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

wsdl over local transport

2007-07-18 Thread Benson Margulies
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?

suggestion: package some test classes in a 'mock' jar?

2007-07-17 Thread Benson Margulies
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?

Aegis and exceptions

2007-07-17 Thread Benson Margulies
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

RE: Getting the HTTP server off the bus

2007-07-17 Thread Benson Margulies
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

@WebFault, I think there's a mistake on the Wiki

2007-07-17 Thread Benson Margulies
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

RE: Aegis tests and exceptions ...

2007-07-17 Thread Benson Margulies
-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

RE: @WebFault, I think there's a mistake on the Wiki

2007-07-17 Thread Benson Margulies
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

shell scripts tools versus cygwin

2007-07-17 Thread Benson Margulies
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.

java2wsdl from ant

2007-07-17 Thread Benson Margulies
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?

java2wsdl rejects class that is acceptable to the aegis universe

2007-07-17 Thread Benson Margulies
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

RE: Getting the HTTP server off the bus

2007-07-16 Thread Benson Margulies
)); ... 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

RE: Getting the HTTP server off the bus

2007-07-16 Thread Benson Margulies
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

RE: Getting the HTTP server off the bus

2007-07-16 Thread Benson Margulies
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

RE: customizing the HTTP transport factory

2007-07-15 Thread Benson Margulies
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

RE: customizing the HTTP transport factory

2007-07-14 Thread Benson Margulies
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

RE: javascript clients?

2007-07-13 Thread Benson Margulies
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

RE: Getting the HTTP server off the bus

2007-07-13 Thread Benson Margulies
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

RE: WSDL service-name

2007-07-13 Thread Benson Margulies
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

RE: Getting the HTTP server off the bus

2007-07-13 Thread Benson Margulies
://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

CXF-781

2007-07-12 Thread Benson Margulies
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

Java out of memory building 2.0 from source with maven?!

2007-07-12 Thread Benson Margulies
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]

More javadoc

2007-07-12 Thread Benson Margulies
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?

RE: CXF-781

2007-07-12 Thread Benson Margulies
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

javascript clients?

2007-07-12 Thread Benson Margulies
Reading the doc on Javascript service implementations, I'm led to wonder if you have got a code generator to emit Javascript clients?

Getting the HTTP server off the bus

2007-07-11 Thread Benson Margulies
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.

<    1   2   3   4