Re: How to use wsdl2js output?

2008-04-23 Thread Benson Margulies
Tim, Each of these deserves a JIRA. On the URL, I have to confess that I've always thought that URLs in WSDLs were stupid. In every client application I've ever written, I've overridden them with a URL known some other way. However, I recognize that this is pissing into the wind of all the

Re: How to use wsdl2js output?

2008-04-22 Thread Benson Margulies
The error callback parameter should at least be an explanatory message. Dan's recipe is the place to start. Not to mention using venkman and looking at it in detail.

Re: Eclipse XSD validation for jaxws.xsd

2008-04-22 Thread Benson Margulies
Dan, Don't we automatically provide a catalog for this stuff at runtime? --benson

Re: Massive config error stacktrace when porting from XFire to CXF

2008-04-22 Thread Benson Margulies
I use them all the time, myself.

Re: Q: Issues when attempting to send . Wind up with

2008-04-17 Thread Benson Margulies
Here we go again. I suggest that you write things like 'convert the greater-than sign to amp g t semi'. You shouldn't ever need to do this. No standard-conforming XML processor needs it. On Wed, Apr 16, 2008 at 9:19 PM, adam_j_bradley [EMAIL PROTECTED] wrote: Dan, Thanks for the tip,

Re: Q: Issues when attempting to send . Wind up with

2008-04-16 Thread Benson Margulies
How are you coding this? From the posted items, it's clear that you are passing a string of XML to an API that specifically wants text payload. So it's carefully excaping your less-than signs. If you tell us what you're calling and where, someone can probably tell you how to insert an XML

Re: Invalid SOAP message

2008-04-16 Thread Benson Margulies
Personally, I can't imagine a way to persuade CXF to send 'ed' and '0'. Can you send us your cxf.xml or java code that you use? On Wed, Apr 16, 2008 at 3:37 AM, Jan Pechanec [EMAIL PROTECTED] wrote: I have problem with SOAP request message generated with Apache CXF 2.0.4. I generated java

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
I've never heard of @Version. I very much doubt that Aegis sees it. What version of CXF are you using? Could you please post a self-contained test case to Jira? On Mon, Apr 14, 2008 at 10:03 PM, Mick Knutson [EMAIL PROTECTED] wrote: I am getting this error now: *INFO: Interceptor has thrown

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
sure though. Dan On Tuesday 15 April 2008, Benson Margulies wrote: I've never heard of @Version. I very much doubt that Aegis sees it. What version of CXF are you using? Could you please post a self-contained test case to Jira? On Mon, Apr 14, 2008 at 10:03 PM, Mick Knutson [EMAIL

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
Hmm, I guess this is working as designed. On Tue, Apr 15, 2008 at 12:58 PM, Mick Knutson [EMAIL PROTECTED] wrote: I just tried that, and it works. On Tue, Apr 15, 2008 at 8:33 AM, Benson Margulies [EMAIL PROTECTED] wrote: Hmm, I'll look at that. This rings a portion of a bell. On Tue

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
Aegis doesn't know from DAO and Domain objects. It just knows that you want to map a class to XML. It requires a way to both retrieve and set a field. Dan, is JAXB more permissive here? If so, I guess we could change Aegis to permit Java-XML and throw on XML-Java.

Re: Q: Issues when attempting to send . Wind up with gt;

2008-04-15 Thread Benson Margulies
Something happened to your email, there are no gt expressions in the XML. Any inside of an XML element has to be escaped. If you are trying to add your own XML elements inside of this, then you need a different mechanism. On Tue, Apr 15, 2008 at 1:23 PM, adam_j_bradley [EMAIL PROTECTED]

Re: Local transport is both up and down at the same time, sort of.

2008-04-13 Thread Benson Margulies
JNI is a pain in a web container. It occured to me that the most portable way to share JNI between webapps was to put it into a web service in one web app, and consume it in the others.

Re: Local transport is both up and down at the same time, sort of.

2008-04-13 Thread Benson Margulies
To share a bus, I'd have to get CXF in as a global resource across webapps. That's non-portable between containers, each does it differently. So I think I'll stick with TCP between webapps!

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-11 Thread Benson Margulies
It goes inside the schema element. Any schema that references another schema needs an import. On Fri, Apr 11, 2008 at 7:18 AM, Tim Perrett [EMAIL PROTECTED] wrote: Hey Guys, Thanks for the various replies on this - If i wanted to add s:import - what would I need to add to the WSDL file?

Re: [HelloWorld JavaScript client] problem on IE.

2008-04-11 Thread Benson Margulies
I fixed it. you'll need a new snapshot.

Re: [HelloWorld JavaScript client] problem on IE.

2008-04-11 Thread Benson Margulies
There's a new snapshot.

Re: Local transport is both up and down at the same time, sort of.

2008-04-10 Thread Benson Margulies
:) Willem Benson Margulies wrote: Webapp #1 sets up a service, with an endpoint on the local transport. [java] INFO: Creating Service {urn:basistech.com: rta}RosetteTextAnalyzer from class com.basistech.rta.ws.RosetteTextAnalyzer [java] Apr 9, 2008 9:10:55 PM

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-09 Thread Benson Margulies
It shouldn't be too hard to write some xslt to script the edit Dan suggests. For the two errors you report, I think that the second requires -exsh (or one one the other command-line args to the tool) and the other requires a minimal import element that specifies the namespace but no system id.

Multiple addresses for a service

2008-04-09 Thread Benson Margulies
A bit of googling got me nowhere here. I want to publish a service on both a http: address and a local: address. Two jaxws:endpoints? Can they point to the same #implementation bean?

Re: SoapWithAttachments - missing images

2008-04-09 Thread Benson Margulies
An image from *inside* the PDF is missing? That's hard to believe. Have you just diffed the PDF to see the nature of the problem? Is it just truncated?

Re: I have the TRaX, can you help?

2008-04-09 Thread Benson Margulies
Honestly, my first thought is to hope that Thomas from JBoss, who has been posting a lot of traffic on the dev list, might be able to help you. On Wed, Apr 9, 2008 at 5:42 PM, jm1468 [EMAIL PROTECTED] wrote: We have found a way to reproduce it. We are using JBoss 4.2 and CXF 2.0.3. When

Local transport is both up and down at the same time, sort of.

2008-04-09 Thread Benson Margulies
Webapp #1 sets up a service, with an endpoint on the local transport. [java] INFO: Creating Service {urn:basistech.com:rta}RosetteTextAnalyzer from class com.basistech.rta.ws.RosetteTextAnalyzer [java] Apr 9, 2008 9:10:55 PM org.apache.cxf.endpoint.ServerImpl initDestination

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
Can you post the wsdl? On Tue, Apr 8, 2008 at 10:46 AM, Tim Perrett [EMAIL PROTECTED] wrote: Hey All, Just trying to get up and running with CXF wsdl2java but I keep getting this error from the service I want to consume: Thrown by JAXB : undefined element declaration 's:schema' Its a

Manifest puzzle

2008-04-08 Thread Benson Margulies
Building from ant, I find that using the CXF Manifest jar works fine for the 'java' task, but not for the 'javac' task. Am I rediscovering a wheel?

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
This error emerges from the bowels of JAXB's xjc tool, complete with the lack of navigational info. However, What is s:complexType s:sequence s:element ref=s:schema / s:any / /s:sequence /s:complexType

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
Well, I don't know how hard it is to apply the jaxb customization inside of CXF. My superiors in the secret college of JAXB will, with any luck, pipe up at this point. On Tue, Apr 8, 2008 at 12:15 PM, Ian Roberts [EMAIL PROTECTED] wrote: Benson Margulies wrote: What

Re: Need help with WSDL2Java

2008-04-08 Thread Benson Margulies
That's soap encoding. CXF 2.0.x doesn't support it at all. CXF 2.1 might support it enough, I don't recall how complete is the job Dain did on it. On Tue, Apr 8, 2008 at 2:44 PM, Syed Haq [EMAIL PROTECTED] wrote: Hi, We have been using Axis (1.3)'s in our project for quite some time now.

Re: AegisDataBinding throwing NullPointer

2008-04-06 Thread Benson Margulies
Aegis does not support unqualified schema. However, it should have just made up one for you. Please post a JIRA. On Sun, Apr 6, 2008 at 2:40 AM, Judes Tumuhairwe [EMAIL PROTECTED] wrote: Hi, I have an interesting case binding/marshalling complex types using the 2.1 snapshot. A NullPointer is

Re: /soapenv:Envelope

2008-04-06 Thread Benson Margulies
Did you enable validation? On Fri, Apr 4, 2008 at 4:30 PM, Web Man [EMAIL PROTECTED] wrote: When a SOAP request is submitted without the closing /soapenv:Envelope, the Web Service is called and no errors are thrown. soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/

Re: I have the TRaX, can you help?

2008-04-04 Thread Benson Margulies
I think this has to do with the XML jars in your path. What container are you in?

Re: SoapWithAttachments

2008-04-04 Thread Benson Margulies
SwA is different from MTOM. I don't know of CXF does SwA. On Fri, Apr 4, 2008 at 11:07 AM, Vijay Allam [EMAIL PROTECTED] wrote: In this case I do not have element that represents the attachment in WSDL. It comes as part of the Soap message as multi part attachment. So not sure how do I get

Re: Problem with secure connections via https

2008-04-03 Thread Benson Margulies
().setAutoRedirect(true); httpConduit.setClient(httpClientPolicy); configClientInterceptors(client); echo.sayHi(Luba); } -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 6:55 PM To: cxf-user

Re: Problem deserializing pojos (fields not initialized)

2008-04-02 Thread Benson Margulies
Create an AegisContext, set the flag in there, push it into the AegisDatabinding.

Re: Problem deserializing pojos (fields not initialized)

2008-04-02 Thread Benson Margulies
I don't see what https has to do with this.

Re: Problem deserializing pojos (fields not initialized)

2008-04-02 Thread Benson Margulies
use secure SOAP. I succeeded with publish my services on https://localhost:8080/ServiceName; But client methods call fails. Thanks for your time. Regards, Luba. -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 5:27 PM To: cxf-user

Re: Error during build !!

2008-03-31 Thread Benson Margulies
I *may* have been caught out by the servicemix upgrade. On Mon, Mar 31, 2008 at 9:30 AM, Daniel Kulp [EMAIL PROTECTED] wrote: Did you have a full internet connection (no proxy required) while doing the build? There is an issue in the validator tests that requires a host name to be resolved

Re: Error occurs when I generate wsdl in Eclipse

2008-03-28 Thread Benson Margulies
No attachments got here. Please open a JIRA or paste from the eclipse log window in text. On Thu, Mar 27, 2008 at 9:30 PM, Jackey Ding [EMAIL PROTECTED] wrote: Step: 1. Create a new Java first JAX-WS project 2. Create a new Interface called HelloWorld 3. Add web service and web method

Re: service caching

2008-03-28 Thread Benson Margulies
Please supply some sort of test case. I've profiled extensively. I don't believe that service caching, as discussed, would have any effect. The current 2.1 code (as ported by Dan to 2.0.5) appears to be constrained by the performance of JAXB, and I don't think we have a caching opportunity there,

Re: service caching

2008-03-28 Thread Benson Margulies
://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/OTA_HotelAvailLLS1.5.1RQ.wsdl If it's jaxb that's causing the performance problem, which databinding in your opinion has the best performance? On Fri, Mar 28, 2008 at 11:26 PM, Benson Margulies [EMAIL PROTECTED] wrote: Please supply some sort of test

Re: service caching

2008-03-28 Thread Benson Margulies
If it's jaxb that's causing the performance problem, which databinding in your opinion has the best performance? On Fri, Mar 28, 2008 at 11:26 PM, Benson Margulies [EMAIL PROTECTED] wrote: Please supply some sort of test case. I've profiled extensively. I don't believe

Re: Override schemalocation when creating a client

2008-03-23 Thread Benson Margulies
The catalog manager might help, but, really, Glen's suggestion will lead to much faster performance. On Sun, Mar 23, 2008 at 1:47 AM, Glen Mazza [EMAIL PROTECTED] wrote: I'm not sure, but I think you're trying to create a dynamic client which is unfortunately not working for you. Hopefully

Re: REST-JS

2008-03-21 Thread Benson Margulies
Sergey, I implemented ?js, but it generates Soap clients, not REST clients. have a look at rt/javascript. --benson On Fri, Mar 21, 2008 at 6:44 AM, Sergey Beryozkin [EMAIL PROTECTED] wrote: Hi Arul, Benson yes, that would be a rather simple thing to do, and in fact you'd likely get this

Re: Generated Faults and Inheritance

2008-03-21 Thread Benson Margulies
Aegis allows you to declare a base class in the throw clause and deliver specific subclasses based on the actual class thrown. All the classes in question end up in the wsdl. On Fri, Mar 21, 2008 at 9:41 AM, mikem2005 [EMAIL PROTECTED] wrote: I'm trying to do the same thing...does anyone

Re: Generated Faults and Inheritance

2008-03-21 Thread Benson Margulies
PROTECTED] wrote: Is there anyway to do this using WSDL first development? Benson Margulies-4 wrote: Aegis allows you to declare a base class in the throw clause and deliver specific subclasses based on the actual class thrown. All the classes in question end up in the wsdl

Re: REST-JS

2008-03-21 Thread Benson Margulies
Oh, I see, I was completely confused. I didn't appreciate that you were talking about ? handling in the JAX-RS code. Still, you might find some code you like in rt/javascript if/when you look at this ?js for REST. On Fri, Mar 21, 2008 at 1:27 PM, Sergey Beryozkin [EMAIL PROTECTED] wrote: Hi

Re: How to change the namespace position in the generate xml message (SOAP message)?

2008-03-20 Thread Benson Margulies
The CXF JAXB binding has a custom namespace mapper which can be told to control the prefixes. You can override it for further control. However, I'm very skeptical as to the idea modifying where the prefixes are defined. You might need to just make an interceptor that rewrites the XML. On Thu, Mar

Re: REST-JS

2008-03-20 Thread Benson Margulies
Arul, CXF has a 'front end' that allows you to run Javascript on the server in Rhino. I believe that this should work fine for REST, but I'm not the REST expert. Java2js generates Client javascript. It does not generate REST clients, only SOAP clients. Does that clarify? -benson On Thu, Mar

Re: REST-JS

2008-03-20 Thread Benson Margulies
There is no existing code to do this, if I follow your definition of a 'resource object'. It would be only a few days of work to add to the existing Javascript generator to add this, I bet. If you post an example of what you'd like to see generated that might clarify. I for one wouldn't be in a

Re: ListDouble with aegis mapping issue

2008-03-20 Thread Benson Margulies
2.1 snapshot? Looks like a goof to me. Please make a JIRA. On Thu, Mar 20, 2008 at 5:03 PM, Javier Delgadillo [EMAIL PROTECTED] wrote: All, I've recently run into an issue with the Mar 14 snapshot build and was wondering if anyone has experienced something similar. If I have a service

Performance of repeated creation

2008-03-19 Thread Benson Margulies
Dear users, Some of you reported performance issues in creating the same endpoint over and over again. The next 2.1 snapshot will have a significant improvement in this for multiple creation of an endpoint on the client side. I measured this for JAX-WS + JAXB client endpoints. Please do take

Re: sending up casted beans with XFire does not work ?

2008-03-12 Thread Benson Margulies
We don't really support XFire on this list. The doc I recently posted explains how to do this with CXF 2.1. It is also hypothetically possible with CXF 2.0.4, but I'm not quite sure of the recipe. On Wed, Mar 12, 2008 at 10:07 AM, Maxim Veksler [EMAIL PROTECTED] wrote: Hello everyone, I'm

Re: Exposing java Map fields using CXF to C++ code

2008-03-09 Thread Benson Margulies
CXF can expose a Map in one of three ways: 1) Using the Aegis databinding, CXF will automatically generate a schema from a Map. Other fully-compliant kits should be able to build clients from the WSDL that results. It won't, however, necessarily translate into a 'Map' on the client side. 2)

Re: Nordic charaters problem in SOAP/MQ

2008-03-07 Thread Benson Margulies
WIndows does not have a code page for UTF-8. If you want to display UTF-8, you have either send UTF-16 to the 'W' API or convert to some local code page. On Fri, Mar 7, 2008 at 2:54 AM, mr.andersen [EMAIL PROTECTED] wrote: Problem found and solved! First of all - thanks for the quick

Re: Contract-last, empty List null

2008-03-05 Thread Benson Margulies
Tell us more about what you did and how you configured it. Can you post a JIRA with a test case? On Wed, Mar 5, 2008 at 8:46 AM, Michael McCaskill [EMAIL PROTECTED] wrote: I've checked the response from my server side web service method. It is indeed not null and empty. But the client gets a

Re: Nordic charaters problem in SOAP/MQ

2008-03-05 Thread Benson Margulies
expecting UTF-8 since the reciever expects that I live up to WS-I Basic Profile. And it's also my understanding that CXF uses UTF-8 all the way, but I cannot understand why my å is converted to Ã¥ when SOAPMessage.writeTo() is used. Benson Margulies-4 wrote: In every other area, CXF

Re: Illegal Protocol https for HTTP URLConnection Factory

2008-03-04 Thread Benson Margulies
How about a really specific exception to indicate that we're missing the CA config? On Tue, Mar 4, 2008 at 7:04 AM, Arundel, Donal [EMAIL PROTECTED] wrote: Hi Dan, Cheers for the change to the default ciphersuite list :-) I have some comments relating to implications from your https change

Re: Illegal Protocol https for HTTP URLConnection Factory

2008-03-04 Thread Benson Margulies
Dan, Browsers ship with a list of globally trusted CAs. Should we do that, too? --benson On Tue, Mar 4, 2008 at 9:35 AM, Daniel Kulp [EMAIL PROTECTED] wrote: Donal, The use case that MUST work, IMO, is that if I am given an https URL to a service and that is it, that MUST work without

Re: Illegal Protocol https for HTTP URLConnection Factory

2008-03-03 Thread Benson Margulies
I just finished deploying a snapshot. On Mon, Mar 3, 2008 at 3:27 PM, Daniel Kulp [EMAIL PROTECTED] wrote: Yea. I hit this while testing your testcase as well. For some oddball reason, using an address like https doesn't allow https to actually be used. You MUST configure a

2.1 javadoc posted

2008-03-03 Thread Benson Margulies
http://incubator.apache.org/cxf/javadoc/2.1-SNAPSHOT/

Re: 2.1 AegisServiceConfiguration

2008-03-02 Thread Benson Margulies
All that class foes is change namespace URIs. You can, in 2.1, either change to the new class (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

Re: 2.1 AegisServiceConfiguration

2008-03-02 Thread Benson Margulies
I'll talk to DKulp. On Sun, Mar 2, 2008 at 9:57 AM, tog [EMAIL PROTECTED] wrote: Ok, then I will probably inherit from it's base class. What about the doc ? any chance to have it online ? Thanks Guillaume On Sun, Mar 2, 2008 at 10:44 PM, Benson Margulies [EMAIL PROTECTED] wrote: All

Aegis doc for 2.1

2008-03-02 Thread Benson Margulies
http://cwiki.apache.org/confluence/display/CXF20DOC/Introduction+to+Aegis+%282.1%29

Re: 2.1 AegisServiceConfiguration

2008-03-01 Thread Benson Margulies
XFireCompatibilityServiceConfiguration. The javadoc claims to say so, did it not come through? Also, I don't see how that has anything to do with operation tuning. All it's ever done is to change namespace URIs. On Sat, Mar 1, 2008 at 5:59 AM, tog [EMAIL PROTECTED] wrote: Hi Benson, This is

Re: REST CDATA Marshalling

2008-03-01 Thread Benson Margulies
Why do you want to do this? The distinction between CDATA and various -entities is way below the level of web service semantics. Any conformant XML parser is going to treat them identically. On Sat, Mar 1, 2008 at 2:01 PM, Todd Orr [EMAIL PROTECTED] wrote: I'm attempting to get String data

Re: REST CDATA Marshalling

2008-03-01 Thread Benson Margulies
. I wonder if you could create an interceptor that rewrote the XML the way you like it? I'm not much of an interceptor expert. On Sat, Mar 1, 2008 at 4:32 PM, Benson Margulies [EMAIL PROTECTED] wrote: Why do you want to do this? The distinction between CDATA and various -entities is way below

Re: Does CXF Support Interfaces as Web Params?

2008-02-29 Thread Benson Margulies
Aegis has interface support. You can specify a map from Class? to class name that maps interface classes to proxy class names, and it will create objects of the proxy types. On Wed, Feb 27, 2008 at 10:15 PM, Daniel Kulp [EMAIL PROTECTED] wrote: On Wednesday 27 February 2008, Ayush Gupta wrote:

Re: WSDLtoJava

2008-02-29 Thread Benson Margulies
You'd need to show us your wsdl. On Fri, Feb 29, 2008 at 11:20 AM, John-M Baker [EMAIL PROTECTED] wrote: Hello, I'm looking for a reliable wsdl2java product and I'm looking at CXF. I've generated a set of sources from a WSDL but a set of java.util.xsd.* sources have been generated. When

Re: WSDLtoJava

2008-02-29 Thread Benson Margulies
://websso.cto.gt.intranet.db.com Benson Margulies [EMAIL PROTECTED] 29/02/2008 17:01 Please respond to cxf-user@incubator.apache.org To cxf-user@incubator.apache.org cc Subject Re: WSDLtoJava It is doing what you asked it to do. You've got namespaces like xs:schema

Re: WSDLtoJava

2008-02-29 Thread Benson Margulies
It is doing what you asked it to do. You've got namespaces like xs:schema xmlns:ax22=http://util.java/xsd; in your file. You are claiming control of that package. Either change the namespace or remap it to a package of your own. There's nothing wrong with returning hashmaps. On Fri,

Re: WSDLtoJava

2008-02-29 Thread Benson Margulies
://websso.cto.gt.intranet.db.com Benson Margulies [EMAIL PROTECTED] 29/02/2008 17:08 Please respond to cxf-user@incubator.apache.org To cxf-user@incubator.apache.org cc Subject Re: WSDLtoJava It's wrong in my opinion. HashMap's in JAXB are hard, but they can be done. What's your frustration

Re: Aegis databinding custom types

2008-02-28 Thread Benson Margulies
We're made a lot of changes in this area for 2.1. If you're willing to move to a 2.1 snapshot, I'm willing to work with you to figure out how to do what you need to do. On Thu, Feb 28, 2008 at 6:30 AM, Tony Burdett [EMAIL PROTECTED] wrote: Hi, I'm in the process of porting my service from

Re: Aegis databinding custom types

2008-02-28 Thread Benson Margulies
a 2.1 snapshot. I believe that all I actually need to do is configure my service to recognise the additional types I want it to use. But where I would even start doing this I haven't any idea! Tony. Benson Margulies wrote: We're made a lot of changes in this area for 2.1. If you're

Re: JAX-WS client proxy returning nulls

2008-02-26 Thread Benson Margulies
service/client configuration if that will help. Thanks again, Tony. Benson Margulies wrote: Tony, Please check out the current (newly modified) Aegis doc. Perhaps you have the 'AegisServiceConfiguration' enabled on the server side? On Tue, Feb 26, 2008 at 6:08 AM, Tony

Re: How to pass a HashMap

2008-02-25 Thread Benson Margulies
Please try my suggestion of declaring MapType,Type in your SEI instead of just 'map'. On Mon, Feb 25, 2008 at 10:04 AM, Li, Weiye [EMAIL PROTECTED] wrote: Should be the latest one:2.0.4 Thanks for the reply. On 2/23/08 11:49 AM, Benson Margulies [EMAIL PROTECTED] wrote: What version

Re: How to work with document type?

2008-02-25 Thread Benson Margulies
If you get rid of all your JAX-WS annotations except @WebParam, which are not needed for CXF, you won't get this error. I tried it with your test case. On Mon, Feb 25, 2008 at 10:35 AM, Li, Weiye [EMAIL PROTECTED] wrote: My testing Jax-WS with Aegis worked only with RPC style. When I changed

Re: best practices for Map and List in webservices

2008-02-25 Thread Benson Margulies
Maps are hard. JAXB barely support them, with a ton of snails, in 2.1. I would personally recommend specifying a vector or list of pairs instead. On Mon, Feb 25, 2008 at 6:24 PM, Daniel Lipofsky [EMAIL PROTECTED] wrote: I have got some WebServices that basically take and return

Re: MTOM attachments question

2008-02-24 Thread Benson Margulies
: http://cwiki.apache.org/CXF20DOC/mtom.html. I wonder if CXF could pass the TCK if it actually ignored it. Glen Am Samstag, den 23.02.2008, 12:33 -0500 schrieb Benson Margulies: 2.0.4 doesn't know anything about xmime:expectedContentType, AFAIK. Do you have the @MTOM annotation in place

Re: How to pass a HashMap

2008-02-24 Thread Benson Margulies
It does work. But you have to tell it what's in the map. Either declare the type as MapA,B, or use a .aegis.xml file to tell it. On Sat, Feb 23, 2008 at 1:39 PM, Benson Margulies [EMAIL PROTECTED] wrote: I'm fairly sure I see what the problem is here. You need to either declare your map

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
What version of CXF have you got? On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye [EMAIL PROTECTED] wrote: The CXF document says that Aegis data binding can even works on Map. I tried this, but it always return an empty one. Here's my testing codes. Did I miss something? Or I need to write

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
I've reproduced this. On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye [EMAIL PROTECTED] wrote: The CXF document says that Aegis data binding can even works on Map. I tried this, but it always return an empty one. Here's my testing codes. Did I miss something? Or I need to write special config

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
This is now CXF-1451. Please comment there, but mostly stand by whilst I try to make some sense of it. On Sat, Feb 23, 2008 at 1:11 PM, Benson Margulies [EMAIL PROTECTED] wrote: I've reproduced this. On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye [EMAIL PROTECTED] wrote: The CXF document says

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
I'm fairly sure I see what the problem is here. You need to either declare your map with generic args, or use a .aegis.xml file to specify the types. On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye [EMAIL PROTECTED] wrote: The CXF document says that Aegis data binding can even works on Map. I tried

Re: Aegis DataBinding does not work

2008-02-21 Thread Benson Margulies
What version of CXF? On Thu, Feb 21, 2008 at 11:36 AM, [EMAIL PROTECTED] wrote: Hi I have configured the CXF demo.spring.HelloWorld using Aegis DataBinding as per instructions found at http://cwiki.apache.org/CXF20DOC/aegis-databinding.html When I run my client I am receiving the following

Re: Aegis DataBinding does not work

2008-02-21 Thread Benson Margulies
. On Thu, Feb 21, 2008 at 12:16 PM, Benson Margulies [EMAIL PROTECTED] wrote: What version of CXF? On Thu, Feb 21, 2008 at 11:36 AM, [EMAIL PROTECTED] wrote: Hi I have configured the CXF demo.spring.HelloWorld using Aegis DataBinding as per instructions found at http://cwiki.apache.org

Re: Aegis DataBinding Problem - Error initializing parameters for operation

2008-02-21 Thread Benson Margulies
can you attach your class to a JIRA? Do you have a .aegis.xml file for your SEI? On Wed, Feb 20, 2008 at 11:01 AM, chengas123 [EMAIL PROTECTED] wrote: Hi, I am getting Error initializing parameters for operation from Aegis. I set it up through Spring. The method it is referring to

Re: how to configure HTTPConduit for client using java code

2008-02-15 Thread Benson Margulies
On Fri, Feb 15, 2008 at 10:17 AM, yulinxp [EMAIL PROTECTED] wrote: For server side, I understand. But I thought client shouldn't worry about the data binding at all. The CXF client has to use a data binding just like the server. How else can know how to map XML to Java for you.

Re: doesn client need to use AegisDatabinding if server does

2008-02-13 Thread Benson Margulies
No. If you get the WSDL from the server and feed it to whatever kit you want, including CXF with JAXB, it works. Unless you find a bug. The Java you get may be quite different from the Java on the server side, however. On Feb 13, 2008 11:41 AM, yulinxp [EMAIL PROTECTED] wrote: If CXF server

Re: Issue with CXF: Marshalling Error: Error writing request body to server

2008-02-05 Thread Benson Margulies
On Tue, 2008-02-05 at 06:07 -0800, Tor Arne Kvaløy wrote: It's not big. 5808 bytes. Please try it with the version of JAXB that CXF officially references. If it still horks, please make a JIRA with a test case.

Re: how to get rid of arg0 in wsdl file

2008-02-05 Thread Benson Margulies
On Tue, 2008-02-05 at 11:07 -0500, Daniel Kulp wrote: On Tuesday 05 February 2008, yulinxp wrote: I am having those arg0 in the wsdl file. xsd:element minOccurs=0 name=arg0 type=xsd:string/ I can use @WebParam(name=xxx) to annotate if using JAX-WS Frontend. But what do I do if for

Re: set Default minOccurs and nillable Parameters

2008-02-05 Thread Benson Margulies
On Tue, 2008-02-05 at 07:55 -0800, yulinxp wrote: This section explains how to set Default minOccurs and nillable Parameters using Java API. Is there anyway we could do it through xml file? http://cwiki.apache.org/CXF20DOC/aegis-databinding.html Start from here, and add a Configuration

Re: how to get rid of arg0 in wsdl file

2008-02-05 Thread Benson Margulies
/mapping /mappings On Tue, 2008-02-05 at 10:35 -0800, yulinxp wrote: I am using Aegis binding for simple frontend. Could you pls give me an example for .aegis.xml files? Benson Margulies-4 wrote: On Tue, 2008-02-05 at 11:07 -0500, Daniel Kulp wrote: On Tuesday

Re: How to use Mtom in Simple FrontEnd

2008-02-05 Thread Benson Margulies
Aegis will use MTOM whether you want it to or not if you have a DataBinding object. I did some work on this for 2.1; your mileage may vary with 2.0.4. On Tue, 2008-02-05 at 13:52 -0800, yulinxp wrote: The mtom sample uses JAX-WS frontend and annotation. Wondering how to use for Simple

Re: Supressing generation of xs:extension against inheritance

2008-01-31 Thread Benson Margulies
On Thu, 2008-01-31 at 17:01 -0500, Daniel Kulp wrote: Honestly, looking at the jaxb spec, I don't see anything that would allow that.Thats something you may want to ask on the jaxb lists: https://jaxb.dev.java.net/servlets/ProjectMailingListList There might be some hidden flag or

Re: item with xmlns= testcase

2008-01-25 Thread Benson Margulies
The usual method is to attach it to a JIRA. Can you do that? On Fri, 2008-01-25 at 13:05 +0100, Marco Piraccini wrote: I have created a test case for the problem, but every time i try to send to Dan or to cxf-user mailing list the mail with the TestCase, the mail returns back with the message:

Re: 2.0.2 to 2.0.3 causes NoClassDefFoundError: ExtensionDeserializer

2008-01-24 Thread Benson Margulies
Looks to me as if you have a too-old XmlSchema jar file. On Thu, 2008-01-24 at 08:44 -0800, Glen Mazza wrote: Hello All, As a result of upgrading from CXF 2.0.2 to 2.0.3, a test is failing because the below class could not be found. I'm using Maven for builds and tests, and am *not*

Re: Creating and publishing services from wsdl

2008-01-23 Thread Benson Margulies
Ideally I'd like to achieve all of this programatically - i.e. without having to knock together a big config file. All that spring config corresponds to plain old Java objects. Some of them are even specified by the JAX-WS specification :-) Beyond the stock JAXWS API, all of CXF can be

Re: Creating and publishing services from wsdl

2008-01-23 Thread Benson Margulies
-service.html#AsimpleJAX-WSservice-Publishingyourservice On Jan 24, 2008 12:46 PM, Benson Margulies [EMAIL PROTECTED] wrote: Ideally I'd like to achieve all of this programatically - i.e. without having to knock together a big config file. All that spring config corresponds

Re: More than one Element in Request Wrapper?

2008-01-22 Thread Benson Margulies
On Tue, 2008-01-22 at 06:14 -0800, silithus wrote: This seems more blocking issue than we initally thought. We use Java first approach, and Cxf-2.0.3. For example when we use ListMyType etc we get that error, when we use ListJavaPrimitiveType everything goes ok. We would really

Re: WebMethod parameter is null - JAXB binding failure?

2008-01-19 Thread Benson Margulies
On Fri, 2008-01-18 at 22:19 -0800, larry ruiz wrote: I was running with same case today, but since you didn't mention how did you generate the client... in my case I was using ClientProxyFactoryBean and it seems to be badly enconding the soap request like if it doesn't read the jaxws

  1   2   3   4   >