axis2 + wsdl 2.0 + REST questions

2010-05-05 Thread Lev Lvovsky
Hello, I'm running into some issues in using the wsdl2java application when it comes to outputting code which is able to communicate with a REST-based service. There are several issues which have come up, so I'll start at the most basic and work my way down: 1. According to the W3C WSDL docu

Re: axis2-wsdl2code maven plugin

2010-05-05 Thread Rusty Wright
Sorry, ignore this; I am sure I'm doing something wrong because this is happening when I'm setting up one of the value objects. On 2010-05-05 14:22, Rusty Wright wrote: I had the resource directory wrong so I've gotten past that part. Now when I run my simple test it blows up with org.apache

Re: axis2-wsdl2code maven plugin

2010-05-05 Thread Rusty Wright
I had the resource directory wrong so I've gotten past that part. Now when I run my simple test it blows up with org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486) at org.apache.xmlbeans.i

RE: I don't get it

2010-05-05 Thread Caristi, Joe
The missing piece is that somehow Axis2 needs to be able to translate between XML (the Soap or Rest message on the wire) and Java classes (in your application). This is known as data binding, and consists of code to marshall and unmarshall the XML data. This code usually gets generated (in on

I don't get it

2010-05-05 Thread Hehl, Thomas
OK, I've used Axis once before briefly and now I'm trying to use Axis2. The problem I'm having is that the documents don't appear to be written for me. I need some advice on how to proceed. My situation is that after building a web application, it turns out that we need to have heterogeneous cl

Ant help

2010-05-05 Thread Hehl, Thomas
Trying to set up axis2 for my ant project. I managed to cobble together some instructions on how to do ant builds to automatically create my WSDLs, but can't get it to work. I added: Then: http://www.acs-inc.com/AgileJur

axis2/c + rampartc + file uploading

2010-05-05 Thread venkat_k1
I am trying to use axis2/c for file uploading. It is pretty simple with axis2/c http server/client provided as part of examples in axis2/c source. To provide x509 authentication i have installed rampartc, which is a security module for axis2/c. Can you please suggest me how can i achieve file upl

Error in extracting message properties

2010-05-05 Thread TomazM
Is there any way to debug tis kind of error, because in log there is no error, this error get client but on the server side log there is nothing wrong, I also use jibx. Regards, Tomaz <> - To unsubscribe, e-mail: java-user-unsu

Codegen problem - Invalid target namespace

2010-05-05 Thread LavanyaKC
Hi, I have the same issue as (https://issues.apache.org/jira/browse/AXIS2-3029) with not using a target namespace in the schema element. And I would like to know if there is a way to get rid of this by overriding generate method of CodeGenerationEngine or someway to support these wsdls as they ar

Re: WSDL2Java, I want custom Java code

2010-05-05 Thread Nan Null
Maybe you're trying to get to a solution before you think hard about the problem. Another way of saying it is that there maybe a better solution than what you think. What exactly do you want to do that makes you think you need customized generated code? Maybe knowing that, someone may point you

RE: Differences in WLS security with Axis 1.4 versus Axis2

2010-05-05 Thread William Walsh
Still trying to progress this issue; would appreciate any input/help. It looks like a threading issue in Axis2 in that there are these calls: Our custom receiver code (when WLS) simply calls: super.invokeBusinessLogic(messageContextIn, messageContextOut); which then invokes: org.ap

Web Service return arrays of Object[] always

2010-05-05 Thread Ahmed Al-Obaidy
I have a web service function that return array of Vehicle class. I user ServiceClient to consume the service on the fly. The problem is BeanUtil.deserialize() return Object[] instead of Vehicle[]. And the returned array can not be casted to Vehicle[] directly. currently I build a new Array of