Axis2C: WSDL2C with xmlbeans databinding generates Java files

2007-11-19 Thread Lingjia Yang
Hi, Sorry for the duplicate posting. I just realized that it would be more appropriate to send it to this mailing list. I am trying to use WSDL2C (from axis2-1.3) to generate client stubs with xmlbeans databinding. I started with the simple wsdl in axis2c-src-1.1.0\samples\codegen\databinding

Re: Axis2C: WSDL2C with xmlbeans databinding generates Java files

2007-11-19 Thread Michael Mole
respond to Apache AXIS C User List axis-c-user@ws.apache.org To axis-c-user@ws.apache.org cc Subject Axis2C: WSDL2C with xmlbeans databinding generates Java files Hi, Sorry for the duplicate posting. I just realized that it would be more appropriate to send it to this mailing list. I am

Re: Axis2C: WSDL2C with xmlbeans databinding generates Java files

2007-11-19 Thread Lingjia Yang
Molé Software Engineer IBM Software Group - Rational (781)676-2710 Lingjia Yang [EMAIL PROTECTED] 11/19/2007 03:33 PM Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To axis-c-user@ws.apache.org cc Subject Axis2C: WSDL2C with xmlbeans databinding generates

Axis2C: WSDL2C with xmlbeans databinding generates Java files

2007-11-19 Thread Lingjia Yang
Hi, I am trying to use WSDL2C (from axis2-1.3) to generate client stubs with xmlbeans databinding. I started with the simple wsdl in axis2c-src-1.1.0\samples\codegen\databinding\Calculator.wsdl. $ ~/tools/axis2/axis2-1.3/bin/axis2.sh org.apache.axis2.wsdl.WSDL2C -uri Calcul ator.wsdl -d

Re: XMLBeans MTOM Client

2007-10-30 Thread Antonio Manuel Muñiz Martín
Thanks. Why not?. If I have some free time, I will appoach this. Antonio. 2007/10/29, robert lazarski [EMAIL PROTECTED]: xmlbeans in axis2 currently has no support for mtom - AFAIK only adb does. There's a long standing jira open for this, but so far no one has done the work or had

XMLBeans MTOM Client

2007-10-29 Thread Antonio Manuel Muñiz Martín
Hi. How about this command: wsdl2java -uri MTOMSample.wsdl -p mtom.client -d xmlbeans -s -o build/client MTOMSample.wsdl defines a service that use MTOM. Is it possible? (MTOM client using XMLBeans data binding).

Re: XMLBeans MTOM Client

2007-10-29 Thread robert lazarski
xmlbeans in axis2 currently has no support for mtom - AFAIK only adb does. There's a long standing jira open for this, but so far no one has done the work or had the interest. You'd probably have to supply patches in order for it to make xmlbeans with mtom a reality. Robert On 10/29/07, Antonio

Re: XMLBeans: get methods returns null

2007-10-17 Thread Antonio Manuel Muñiz Martín
, try upgrading to that if possible. This seems like an old bug. If you are using axis2 1.3, try pasting your code and wsdl and maybe someone can help. Robert On 10/16/07, Antonio Manuel Muñiz Martín [EMAIL PROTECTED] wrote: Hi. I´m using XMLBeans data binding. I receive the response

XMLBeans: get methods returns null

2007-10-16 Thread Antonio Manuel Muñiz Martín
Hi. I´m using XMLBeans data binding. I receive the response Document and I do Foo f = response.getFooResponse().getReturn(); Foo has an attribute named foo and f.getFoo() returns null, but f.toString() return a string which contains the correct xml (with foo attribute fixed). ¿Why f.getFoo

Re: XMLBeans: get methods returns null

2007-10-16 Thread robert lazarski
XMLBeans data binding. I receive the response Document and I do Foo f = response.getFooResponse().getReturn(); Foo has an attribute named foo and f.getFoo() returns null, but f.toString () return a string which contains the correct xml (with foo attribute fixed). ¿Why f.getFoo() returns null

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Pantvaidya, Vishwajit
the wsdl2java working? - Vish. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:23 PM To: axis-user@ws.apache.org Subject: Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread M N
relevant jars into my build lib folder and get the wsdl2java working? - Vish. - From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:23 PM To: axis-user@ws.apache.org Subject: Re: [Axis2]wsdl2java with xmlbeans

Re: XMLBeans: get methods returns null

2007-10-16 Thread Amila Suriarachchi
and wsdl and maybe someone can help. Robert On 10/16/07, Antonio Manuel Muñiz Martín [EMAIL PROTECTED] wrote: Hi. I´m using XMLBeans data binding. I receive the response Document and I do Foo f = response.getFooResponse().getReturn(); Foo has an attribute named foo and f.getFoo

Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Amila Suriarachchi
:* Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String some times your AXIS2_HOME may have point to a different location. Make sure your follow these steps. 1. Get an Axis2 1.3 release or a Nightly build. 2. unpack it and set the axis2

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Pantvaidya, Vishwajit
-user@ws.apache.org Subject: Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String On 10/17/07, Pantvaidya, Vishwajit [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Hi Amila. Thanks, but one problem in this - my wsdl2java will run within

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-04 Thread Pantvaidya, Vishwajit
Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 1:15 AM To: axis-user@ws.apache.org Subject: Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String here is an out put I got with these options -uri SelecticaECM.wsdl -ss -sd -g

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-03 Thread Pantvaidya, Vishwajit
Hi Amila, Am I doing anything wrong in the jaxme/jaxbri options? Or is it not working because their implementation is on a trial basis? If jaxme/jaxbri won't work - I was thinking of proceeding with xmlbeans. Ultimately I need to deal with MTOM attachments - so do I need to choose any

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-02 Thread Gennady Shumakher
one data binding to another would cause the need of code modifications since the generated complex data types are exposed in completely different API manner. (ADB - new SomeType(); XmlBeans - SomeType.Factory.newInstance()). To switch easily between data binding methods the one could consider

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-02 Thread Pantvaidya, Vishwajit
: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String Hi Vish, I faced the similar issues during evaluation of migration of our project from axis1 to axis2. As far I understand the issue here is that wsdl2java generation frameworks and databinding

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-02 Thread Pantvaidya, Vishwajit
Hi Amila, By the way, (as mentioned at the beginning of this thread), I am on Axis2 1.3. The ant task I am using has the following options -o ... -l java -ss -sd -d ... -ssi -f -uri ... -ns2p (for the -d option, I have tried adb/xmlbeans/jaxbri/jaxme) If you are able to generate classes

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-01 Thread Pantvaidya, Vishwajit
Hi Amila, Let me know if I am doing anything wrong here or if I need to change anything. - Vish. From: Pantvaidya, Vishwajit Sent: Friday, September 28, 2007 5:24 PM To: 'Amila Suriarachchi' Subject: RE: [Axis2]wsdl2java with xmlbeans creates interface

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-01 Thread Pantvaidya, Vishwajit
wsdl2java cannot generate same code like axis1 even if wsdl remains same and irrespective of the value of the -d wsdl2java option. Just migrating to axis2 forces people to use xmlbeans, adb, etc, and make change in the webservice implementation to handle, for example, xmlbeans.XmlString instead

Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-01 Thread robert lazarski
On 10/1/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: But unwrapping does not work with jaxme/jaxbri/ADB. AFAIK the latest axis2, unwrapping only works with jibx. Search the archives for jibx and dennis, as he's commented a lot on that. HTH, Robert

Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-09-28 Thread Amila Suriarachchi
On 8/23/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: Tried scomp with xmlbeans 2.2.0 (same version as bundled with axis2) – it gives error error: invalid.document.type: Document is not a wsdl file. But coming back to original problem – the wsdl used to process fine with axis1

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-09-27 Thread Pantvaidya, Vishwajit
This is still not working for me in axis2 (it worked in axis1) With -d xmlbeans -uw - the generated methods have org.apache.xmlbeans.XmlString instead of java.lang.String for a string parameter With -d adb (it does not let me specify -uw) - generated methods have complex types (since it does

Re: Problems with XMLBeans: Problem with invoking a service.

2007-09-17 Thread Amila Suriarachchi
PROTECTED] wrote: Hello, i want to use XMLBeans as databinding. I wrote a wsdl and a xsd: http://www.nabble.com/file/p12577488/RateableServices.xsd RateableServices.xsd and http://www.nabble.com/file/p12577488/RateableService.wsdl RateableService.wsdl I created

Re: [Axis 1.3] Problems using XmlBeans

2007-09-13 Thread Homerj2001
I'm running into the same problem as below - I know it's over a year later - has anyone found a resolution to this issue? I'm using JBoss 4.0.5 and Axis 1.3 and XmlBeans 2.2 I have my typeMappings set in my server-config.wsdd typeMapping xmlns:ns1=http://myNamespace

Re: Problems with XMLBeans: Problem with invoking a service.

2007-09-10 Thread omega-psi
want to use XMLBeans as databinding. I wrote a wsdl and a xsd: http://www.nabble.com/file/p12577488/RateableServices.xsd RateableServices.xsd and http://www.nabble.com/file/p12577488/RateableService.wsdl RateableService.wsdl I created the stub and the datatypes via WSDL2Java

Re: Problems with XMLBeans: Problem with invoking a service.

2007-09-10 Thread Anne Thomas Manes
Thomas Manes wrote: What happens if you add elementFormDefault=qualified to your schema statement? Anne On 9/9/07, omega-psi [EMAIL PROTECTED] wrote: Hello, i want to use XMLBeans as databinding. I wrote a wsdl and a xsd: http://www.nabble.com/file/p12577488

Problems with XMLBeans: Problem with invoking a service.

2007-09-09 Thread omega-psi
Hello, i want to use XMLBeans as databinding. I wrote a wsdl and a xsd: http://www.nabble.com/file/p12577488/RateableServices.xsd RateableServices.xsd and http://www.nabble.com/file/p12577488/RateableService.wsdl RateableService.wsdl I created the stub and the datatypes via WSDL2Java

Re: Problems with XMLBeans: Problem with invoking a service.

2007-09-09 Thread Anne Thomas Manes
What happens if you add elementFormDefault=qualified to your schema statement? Anne On 9/9/07, omega-psi [EMAIL PROTECTED] wrote: Hello, i want to use XMLBeans as databinding. I wrote a wsdl and a xsd: http://www.nabble.com/file/p12577488/RateableServices.xsd RateableServices.xsd and http

ExceptionInInitializerError w/ XmlBeans After Simple Service Impl Change

2007-08-24 Thread Alejandro Calbazana
=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel) but it was said to be resolved? I am using Axis2.1.3, Weblogic 9.2, and XmlBeans. Hot deployment and Hot updates are set to true in my axis2 config. My TCCL is set to composite. The changes to my service are simply adding logging and do not touch WSDL

[Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-08-22 Thread Pantvaidya, Vishwajit
I think I saw someone with same problem but cannot locate that message. My axis2 1.3 wsdl2java with xmlbeans is completing successfully. But the generated interface has methods with parameters of type xmlbeans.XmlString instead of java.lang.String. My expectation was it would map primitives

Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-08-22 Thread Amila Suriarachchi
can you generate the code using xmlbeans scomp command and see what is the type? anyway I think XmlString contanins a string inside it. Amila. On 8/23/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: I think I saw someone with same problem but cannot locate that message. My axis2 1.3

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-08-22 Thread Pantvaidya, Vishwajit
Tried scomp with xmlbeans 2.2.0 (same version as bundled with axis2) - it gives error error: invalid.document.type: Document is not a wsdl file. But coming back to original problem - the wsdl used to process fine with axis1 resulting in interface with parameters of java types. Hasn't that been

RE: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-21 Thread Pantvaidya, Vishwajit
-1.2.5.jar needed even though I am using xmlbeans binding? From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:38 AM To: axis-user@ws.apache.org Subject: RE: [AXIS2] wsdl2java for xmlbeans needs axiom jars? No - it is the same

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-21 Thread Amila Suriarachchi
getting compile errors. So is axiom-api-1.2.5.jar needed even though I am using xmlbeans binding? -- *From:* Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] *Sent:* Monday, August 20, 2007 10:38 AM *To:* axis-user@ws.apache.org *Subject:* RE: [AXIS2] wsdl2java

Problems using XMLBeans (xsi:type missing)

2007-08-20 Thread Zerbst, Carsten
Hello, I created a webservice (from wsdl) using XMLBeans binding. Short before finishing the project I run into a problem with the XML binding. The wsdl describes some abstract complex_types and specific elements in a different namespace. When using XMLBeans the xsi:type is suppressed. E.g

RE: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-20 Thread Pantvaidya, Vishwajit
] wsdl2java for xmlbeans needs axiom jars? do you have polices in your wsdl? On 8/16/07, Pantvaidya, Vishwajit [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: I don't get any stack trace - just the message Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode

Re: Problems using XMLBeans (xsi:type missing)

2007-08-20 Thread Amila Suriarachchi
On 8/20/07, Zerbst, Carsten [EMAIL PROTECTED] wrote: Hello, I created a webservice (from wsdl) using XMLBeans binding. Short before finishing the project I run into a problem with the XML binding. The wsdl describes some abstract complex_types and specific elements in a different

RE: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-15 Thread Pantvaidya, Vishwajit
: [AXIS2] wsdl2java for xmlbeans needs axiom jars? On 8/15/07, Pantvaidya, Vishwajit [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: I was running axis2 wsdl2java task with the xmlbeans binding option - and got the error Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-15 Thread Amila Suriarachchi
[mailto:[EMAIL PROTECTED] *Sent:* Tuesday, August 14, 2007 7:59 PM *To:* axis-user@ws.apache.org *Subject:* Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars? On 8/15/07, *Pantvaidya, Vishwajit* [EMAIL PROTECTED] wrote: I was running axis2 wsdl2java task with the xmlbeans binding option

[AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Pantvaidya, Vishwajit
I was running axis2 wsdl2java task with the xmlbeans binding option - and got the error Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode. My impression is that I do not need axiom jars since I am using xmlbeans binding. Can someone clarify? Secondly

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Amila Suriarachchi
On 8/15/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: I was running axis2 wsdl2java task with the xmlbeans binding option – and got the error Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode. My impression is that I do not need axiom jars since I am

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Upul Godage
Hi, For the second question, try attribute databindingName=xmlbeans For the first question, may be wsdl2java code is internally using axiom functionality to work with the wsdl xml files, although the generated code is xmlbeans. Upul On 8/15/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote

axis2 - service error switching adb to xmlbeans

2007-08-09 Thread theMenace
Hi, Love the product (using axis2 1.2), and everything was going swimmingly until... I'm generating a service from a WSDL. It was working fine with adb binding, but I want to do schema validation, so I'm trying to switch it to xmlbeans databinding. Once I switched it to xmlbeans, regenerated

Re: axis2 - service error switching adb to xmlbeans

2007-08-09 Thread theMenace
axis2 1.2), and everything was going swimmingly until... I'm generating a service from a WSDL. It was working fine with adb binding, but I want to do schema validation, so I'm trying to switch it to xmlbeans databinding. Once I switched it to xmlbeans, regenerated, filled out my skeleton again

XmlBeans Quickstart Example Better in 1.3RC2

2007-07-31 Thread New AxisU
Hi, I was having a problem getting the client to run in the quickstart xml beans sample with axis2 1.2. After reading try 1.3 many times, I was encouraged to do the same ... and ... it works fine! So if you are interested in using the xmlbeans sample, be encouraged to try 1.3

Re: Question about Axis2 Xmlbeans Generated Code

2007-07-30 Thread Amila Suriarachchi
this is an interface. So there and there are declared methods. Always xmlbeans put implementation classes in impl package On 7/28/07, New AxisU [EMAIL PROTECTED] wrote: Hi, I'm a new axis2 user and I'm working through a very nice tutorial (by ?, found ?) using Axis2 and Netbeans. If you

Question about Axis2 Xmlbeans Generated Code

2007-07-27 Thread New AxisU
that uses xmlbeans. I am trying to write a client for this little exercise and in trying to read the code to figure out what calls to make, I found this in xsd/PersonDocument.java: /** * Gets the Person element */ my.axis2.second.example.data.xsd.Person getPerson(); Forgive my

RE: XMLBeans binding issue

2007-07-18 Thread Anton Zhilin
/msg26184.html) Is there decision for XMLBeans? Other bindings? Or I should use different framework? I use XMLBeans binding, Axis2 1.2, JDK 1.4.2_15, Tomcat 4.1. Thanks in advance, Anton - To unsubscribe

Re: XMLBeans binding issue

2007-07-18 Thread robert lazarski
was elementFormDefault=qualified. (The last time it seems was http://www.mail-archive.com/axis-user@ws.apache.org/msg26184.html) Is there decision for XMLBeans? Other bindings? Or I should use different framework? I use XMLBeans binding, Axis2 1.2, JDK 1.4.2_15, Tomcat 4.1. Thanks in advance

RE: XMLBeans binding issue

2007-07-18 Thread Anton Zhilin
axis2.war. in manual). I'm I wrong? Configs are attached. Anton. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 11:46 PM To: axis-user@ws.apache.org Subject: Re: XMLBeans binding issue What problem did you have with the soap

Re: XMLBeans binding issue

2007-07-18 Thread robert lazarski
? Configs are attached. Anton. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 11:46 PM To: axis-user@ws.apache.org Subject: Re: XMLBeans binding issue What problem did you have with the soap monitor ? Robert On 7/18/07, Anton Zhilin

RE: XMLBeans binding issue

2007-07-18 Thread Anton Zhilin
axis2-soapmonitor-1.3-SNAPSHOT.jar was absent in axis2-SNAPSHOT-war.zip 15 244 540 17.07.2007 09:22 Антон -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 12:14 AM To: axis-user@ws.apache.org Subject: Re: XMLBeans

XMLBeans binding issue

2007-07-17 Thread Anton Zhilin
. Similar questions arisen many times, but the only remedy was elementFormDefault=qualified. (The last time it seems was http://www.mail-archive.com/axis-user@ws.apache.org/msg26184.html) Is there decision for XMLBeans? Other bindings? Or I should use different framework? I use XMLBeans binding

Re: XMLBeans binding issue

2007-07-17 Thread Davanum Srinivas
/msg26184.html) Is there decision for XMLBeans? Other bindings? Or I should use different framework? I use XMLBeans binding, Axis2 1.2, JDK 1.4.2_15, Tomcat 4.1. Thanks in advance, Anton - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: XMLBeans binding issue

2007-07-17 Thread robert lazarski
The nice thing about xmlbeans is that if the WSDL validates, xmlbeans will support it since it guarantees %100 xml schema support. So run your wsdl thru a validator like WTP from eclipse, and if it qualifies, xmlbeans via axis2 willl most likely work with it (otherwise its a bug). HTH, Robert

Re: xmlbeans databinding?

2007-06-29 Thread Josh
Thanks Martin, I check that out now. On 6/27/07, Martin Gainty [EMAIL PROTECTED] wrote: Hi Josh When you get a chance take a look at this tutorial on Generating WebServiceClient using XMLBeans http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-xmlbeans.html HTH Martin

Re: xmlbeans databinding?

2007-06-27 Thread Martin Gainty
Hi Josh When you get a chance take a look at this tutorial on Generating WebServiceClient using XMLBeans http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-xmlbeans.html HTH Martin-- This email message and any files transmitted with it contain confidential information intended only

xmlbeans databinding?

2007-06-26 Thread Josh
Hello, I saw a section for ADB and Jibx databinding on the apache site. Did I miss the section on xmlbeans databinding or does it not exist? Where can I find more information on this? Regards, Joshua

Re: xmlbeans databinding?

2007-06-26 Thread robert lazarski
Its not in an easy to find place, but you can find a full example of using xmlbeans here: http://ws.apache.org/axis2/tools/1_2/CodegenToolReference.html#invoking HTH, Robert On 6/26/07, Josh [EMAIL PROTECTED] wrote: Hello, I saw a section for ADB and Jibx databinding on the apache site

[axis2] wsdl2java versus scomp (xmlbeans)

2007-06-18 Thread Desmond Whewell (CV/ETL)
Using: Axis2 1.2, xmlbeans 2.2.0 I have a wdsl file and a set of schemas that I am trying to process using wsdl2java. When invoked, wsdl2java fails with: --- Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException

Re: [axis2] wsdl2java versus scomp (xmlbeans)

2007-06-18 Thread Ajith Ranabahu
Hi, This could be a problem in our side because we call the XMLBeans compiler programmatically with a bunch of Axis2 specific configurations and we may be missing a certain option. We appreciate if you can create a jira and attach the WSDL thanks Ajith On 6/18/07, Desmond Whewell (CV/ETL

Re: (AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception

2007-06-14 Thread Spike Mulligan
or something). I think you might be hitting this issue http://issues.apache.org/jira/browse/XMLBEANS-329 which is actually a dupe of https://issues.apache.org/jira/browse/AXIS2-2578 as it only appears when using the axis container. In other words can we attempt to repro this using only xmlbeans? Thanks

Re: (AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception

2007-06-14 Thread robert lazarski
. On 6/13/07, Jacob Danner [EMAIL PROTECTED] wrote: Hey Spike, Could you try running this scenario oustide of Axis (ie, just add a main method or something). I think you might be hitting this issue http://issues.apache.org/jira/browse/XMLBEANS-329 which is actually a dupe of https

Re: (AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception

2007-06-13 Thread Spike Mulligan
So that link seems to imply that Axis2 doesn't support substitution groups and I have to tweak the generated code to support them. I understand that if they were using ADB to do their binding. But I'm running wsdl2java with the -u xmlbeans option! Xmlbeans is supposed to support ALL features

(AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception

2007-06-12 Thread Spike Mulligan
+ wsdl2java + XMLBeans not producing correct binding To: [EMAIL PROTECTED] Right--when I try to do that I get a classcastexception when I use the inheiriting class. When I use the abstract parent class then gives me the name of the element. I do: addDevice.getAddDevice().getAddDeviceInputParam

Re: (AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception

2007-06-12 Thread Martin Gainty
without making a copy. Thank you. - Original Message - From: Spike Mulligan To: axis-user@ws.apache.org Sent: Tuesday, June 12, 2007 9:34 AM Subject: (AXIS2 + wsdl2java + XMLBeans) + polymorphism = classcast exception Does anyone know why the generated code is giving me

RE: Axis2 with XMLBeans multiple schemas

2007-06-11 Thread raine king
I found the problem--I had circular dependencies between xsd's and while ADB likes them, XMLBeans doesn't.I just do a simple xs:import namespace=http://consumermgr.nnn.com/consumermgr; schemaLocation=ConsumerManager.xsd/Date: Sun, 10 Jun 2007 12:59:22 -0400From: [EMAIL PROTECTED]: [EMAIL

AXIS2 + wsdl2java + XMLBeans not producing correct binding

2007-06-11 Thread Spike Mulligan
So I have a schema containing the following structure: AbstractType /\ / \ extension / \ Type1Type2 When I send the service an instance of Type1 for example using xsi:type=ns1:Type1, it should give me the Type1 class(which wsdl2java generated and which

RE: Axis2 with XMLBeans multiple schemas

2007-06-10 Thread raine king
-0700 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: Axis2 with XMLBeans multiple schemas Nadav, Were you able to deploy them successfully using adb using multiple schemas. I have been struggling with that.At deployment time its not able to find the schema file. Can you let

RE: Axis2 with XMLBeans multiple schemas

2007-06-10 Thread raine king
OK, found the problem--xml spy likes circular dependencies, XMLBeans doesn't.I had two xsd's including eachotherDate: Thu, 7 Jun 2007 11:53:14 -0400From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: Axis2 with XMLBeans multiple schemasWhat exception do you get? xmlbeans with multiple schemas works

Re: Axis2 with XMLBeans multiple schemas

2007-06-10 Thread Amila Suriarachchi
crate a jira and attache your wsdl and the xsd files? Nadav Steindler-2 wrote: When I run wsdl2java with the -d xmlbeans option on my wsdl, it works fine when the whole schema is in one file. However when the schema is broken up into multiple files with import and include statements, it dies

Re: Axis2 with XMLBeans multiple schemas

2007-06-07 Thread robert lazarski
What exception do you get? xmlbeans with multiple schemas works fine for me. In my case the wsdl's do imports with xsd's in the same dir. Typically I run wsdl2java via an ant task, is that the way you are running it? Robert On 6/7/07, raine king [EMAIL PROTECTED] wrote: When I run wsdl2java

Re: [Axis2] problem with client execution in xmlbeans mode

2007-05-21 Thread Stephane Roy
? thanks, dims On 5/14/07, Stephane Roy [EMAIL PROTECTED] wrote: Hi, I have difficulties to create a web service with the xmlbeans mode. I tried the following scenario in Axis2.1.1.1 and Axis2.1.2 but I have the same error each time. 1) I generate the server part with the command: $AXIS2_HOME/bin

Cannot load SchemaTypeSystem Error in Axis2 client using XMLBeans

2007-05-21 Thread Ashish Kulkarni
Hi I am using WSDL2Java to create java source from WSDL, and then i created a client to call this web service, but i am getting following error Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name

Re: Cannot load SchemaTypeSystem Error in Axis2 client using XMLBeans

2007-05-21 Thread robert lazarski
This is a common problem. I think you can run one of the bat / sh files that get generated, or you can follow these instructions: http://ws.apache.org/axis2/tools/1_2/CodegenToolReference.html#invoking An important detail is that an XMLBean class file is also generated by WSDL2Java,

[Axis2] problem with client execution in xmlbeans mode

2007-05-14 Thread Stephane Roy
Hi, I have difficulties to create a web service with the xmlbeans mode. I tried the following scenario in Axis2.1.1.1 and Axis2.1.2 but I have the same error each time. 1) I generate the server part with the command: $AXIS2_HOME/bin/wsdl2java.sh -uri myService.wsdl -p my.package -o /tmp

RE: [Axis2] XMLBeans Implementation

2007-05-10 Thread Edward Bush
That package isn't anywhere -- static or generated. Is the package name being incorrectly generated, or am I missing something here? Is it possible this is my error and not one of the Axis2 components? Anyone successfully using Axis2 1.2 + XMLBeans? With or without the wsdl2code and/or aar

Re: [Axis2] XMLBeans Implementation

2007-05-10 Thread robert lazarski
] wrote: That package isn't anywhere -- static or generated. Is the package name being incorrectly generated, or am I missing something here? Is it possible this is my error and not one of the Axis2 components? Anyone successfully using Axis2 1.2 + XMLBeans? With or without the wsdl2code

RE: [Axis2] XMLBeans Implementation

2007-05-10 Thread Edward Bush
. Thanks again for your help Robert! Eddie Bush Software Analyst Clinical Reference Laboratory bushe at crlcorp dot com From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 2:13 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] XMLBeans

Re: [Axis2] XMLBeans Implementation

2007-05-10 Thread Paul Fremantle
A hint. The generated ANT tasks that get created when you use XMLBeans usually do everything necessary. ADB is getting closer and closer to supporting as much Schema as is feasible. One approach is to identify any schema issues that ADB has with your WSDL and raise JIRAs - you might end up

Re: Problems with Axis2 1.1.1 and XMLBeans

2007-05-08 Thread Stefan Dragnev
pzfreo wrote: Stefan Please can you post the WSDL as well. Thanks, Paul On 5/7/07, Stefan Dragnev [EMAIL PROTECTED] wrote: I'm trying to implement several web services using Axis2 and XMLBeans. I successfully generated stub and skeletons and services.xml files from my WSDL (had

Re: Problems with Axis2 1.1.1 and XMLBeans

2007-05-08 Thread Paul Fremantle
to work as expected and I get a normal response from my service. Thanks, Stefan pzfreo wrote: Stefan Please can you post the WSDL as well. Thanks, Paul On 5/7/07, Stefan Dragnev [EMAIL PROTECTED] wrote: I'm trying to implement several web services using Axis2 and XMLBeans. I

Re: Problem using faults under axis2 with XMLBeans data binding

2007-05-07 Thread Artem Portnoy
:28 PM Subject: Re: Problem using faults under axis2 with XMLBeans data binding And the sample soap request / response as well (captured via tcpmon) or sample client code to recreate the problem. thanks, dims On 5/4/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Artem, Please log a bug in JIRA

Problems with Axis2 1.1.1 and XMLBeans

2007-05-07 Thread Stefan Dragnev
I'm trying to implement several web services using Axis2 and XMLBeans. I successfully generated stub and skeletons and services.xml files from my WSDL (had to remove all rpc and soap encodings first) and then filled the business logic and deployed on Tomcat. When I tried to invoke the service

Re: Problems with Axis2 1.1.1 and XMLBeans

2007-05-07 Thread Paul Fremantle
Stefan Please can you post the WSDL as well. Thanks, Paul On 5/7/07, Stefan Dragnev [EMAIL PROTECTED] wrote: I'm trying to implement several web services using Axis2 and XMLBeans. I successfully generated stub and skeletons and services.xml files from my WSDL (had to remove all rpc and soap

RE: [Axis2] Re: XMLBeans, Attachments and Rampart

2007-05-05 Thread Jorge Fernandez
again. My problem is that I was using XMLBeans for my project. But XMLBeans doesn't support MTOM. So I tried to use ADB but I have some problems with the mapping of my objects to xml so I would like keep using XMLBeans. Also I want to secure my message also and I found that Rampart and MTOM

RE: [Axis2] Re: XMLBeans, Attachments and Rampart

2007-05-05 Thread Jorge Fernandez
: Hi again, I didn't have answer for my question. So I'll try again. My problem is that I was using XMLBeans for my project. But XMLBeans doesn't support MTOM. So I tried to use ADB but I have some problems with the mapping of my objects to xml so I would like keep using XMLBeans. Also I

Re: [Axis2] Re: XMLBeans, Attachments and Rampart

2007-05-05 Thread Dennis Sosnoski
again. My problem is that I was using XMLBeans for my project. But XMLBeans doesn't support MTOM. So I tried to use ADB but I have some problems with the mapping of my objects to xml so I would like keep using XMLBeans. Also I want to secure my message also

Problem using faults under axis2 with XMLBeans data binding

2007-05-04 Thread Artem Portnoy
Hi, We've been successfully using 'fault' messages with Axis1, but now we decided to switch to using Axis 2, so that we can use XmlBeans data binding. The problem we're faced with is that it appears as though fault support is broken. We're getting the following exception when a fault message

Re: Problem using faults under axis2 with XMLBeans data binding

2007-05-04 Thread Davanum Srinivas
Artem, Please log a bug in JIRA and upload your wsdl and xsd's. thanks, dims On 5/4/07, Artem Portnoy [EMAIL PROTECTED] wrote: Hi, We've been successfully using 'fault' messages with Axis1, but now we decided to switch to using Axis 2, so that we can use XmlBeans data binding. The problem

Re: Problem using faults under axis2 with XMLBeans data binding

2007-05-04 Thread Davanum Srinivas
PROTECTED] wrote: Hi, We've been successfully using 'fault' messages with Axis1, but now we decided to switch to using Axis 2, so that we can use XmlBeans data binding. The problem we're faced with is that it appears as though fault support is broken. We're getting the following exception

Axis2: mtom and XMLBeans

2007-05-03 Thread alby
Hi all, I'm getting start with axis2 and I have a doubt...: is it possible to use MTOM with XMLBeans databinding or do I have to use ADB? I tried to adapt the MTOM guide example to XMLBeans but i wasn't able to make it work... dario -- View this message in context: http://www.nabble.com/Axis2

Re: XMLBeans, Attachments and Rampart

2007-05-02 Thread Thilina Gunarathne
all, I would like to know if it's possible to use XMLBeans and Rampart with attachtments cos I heard that XMLBeans doesn't support MTOM and I doubt if Rampart supports SwA or there is any problem in that combination. Thanks and regards, Jorge Fernández LLama

Re: Axis2 xmlbeans http transport error 302 found

2007-04-30 Thread Markus F.
) Markus -- View this message in context: http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10251025 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Axis2 xmlbeans http transport error 302 found

2007-04-30 Thread Martin Gainty
and destroy the original message without making a copy. Thank you. - Original Message - From: Paul Fremantle [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Friday, April 27, 2007 4:35 AM Subject: Re: Axis2 xmlbeans http transport error 302 found Markus In general Axis2 is compatible

Re: Axis2 xmlbeans http transport error 302 found

2007-04-30 Thread Paul Fremantle
and destroy the original message without making a copy. Thank you. - Original Message - From: Paul Fremantle [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Friday, April 27, 2007 4:35 AM Subject: Re: Axis2 xmlbeans http transport error 302 found Markus In general Axis2 is compatible

elementFormDefault=qualified value causes problems with xmlbeans binding

2007-04-30 Thread Sampige, Srinivas
What affect does elementFormDefault=qualified have vs elementFormDefault=unqualified in a schema declaration? Using elementFormDefault=unqualified causes problems on the webservice server side as well as client side when using XMLBeans binding. How do I avoid this problem without using

<    1   2   3   4   5   >