Re: [Axis2] schema validation exception

2007-09-24 Thread Jack Sprat
er 24, 2007 12:53PM Subject: [Axis2] schema validationexception I am gettingan UnsupportedOperation Exception each time I try to validate an OMElementagainst a schema. I am using Axis2 1.2 with no data binding so myservice class receives an OMElement object. The vali

Re: [Axis2] schema validation exception

2007-09-24 Thread Martin Gainty
: Jack Sprat To: axis-user@ws.apache.org Sent: Monday, September 24, 2007 12:53 PM Subject: [Axis2] schema validation exception I am getting an UnsupportedOperation Exception each time I try to validate an OMElement against a schema. I am using Axis2 1.2 with no data binding so my

[Axis2] schema validation exception

2007-09-24 Thread Jack Sprat
I am getting an UnsupportedOperation Exception each time I try to validate an OMElement against a schema. I am using Axis2 1.2 with no data binding so my service class receives an OMElement object. The validation code is quite simple: // Get XML stream reader from OMElement received

AW: AW: [Axis2] schema validation

2006-03-23 Thread Sensen, Andreas (external)
ow the engine better. And sadly i'm no java expert. Andreas -Ursprüngliche Nachricht- Von: Eran Chinthaka [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. März 2006 12:51 An: axis-user@ws.apache.org Betreff: Re: AW: [Axis2] schema validation Hi Andreas, What do you mean by

Re: AW: [Axis2] schema validation

2006-03-23 Thread Eran Chinthaka
s-user@ws.apache.org *Betreff:* Re: [Axis2] schema validation Forgot to add sample for 3th item: public com.mycompany.service.test.schemas.account.OpenAccountResultDocument OpenAccount( com.mycompany.service.test.schemas.account.OpenAccountDocument para

Re: AW: [Axis2] schema validation

2006-03-23 Thread Ali Sadik Kumlali
Title: Nachricht I wish I would have an answer, but I'm a newbie :) Other members might answer.Good luck,Ali Sadik Kumlali"Sensen, Andreas (external)" <[EMAIL PROTECTED]> wrote: Hi Ali,   thanks for the quick and detailed response, it helped me a lot! I have just one follo wup question

AW: [Axis2] schema validation

2006-03-23 Thread Sensen, Andreas (external)
Title: Nachricht Hi Ali,   thanks for the quick and detailed response, it helped me a lot! I have just one followup question which you might have an answer to: I'd really like to keep the validation in a module. It throws an AxisFault if an incoming message is invalid. But instead of se

Re: [Axis2] schema validation

2006-03-23 Thread Ali Sadik Kumlali
Title: [Axis2] schema validation Forgot to add sample for 3th item:public com.mycompany.service.test.schemas.account.OpenAccountResultDocument OpenAccount(    com.mycompany.service.test.schemas.account.OpenAccountDocument param0) throws AxisFault {        validate (param0);...}Ali Sadik

Re: [Axis2] schema validation

2006-03-23 Thread Ali Sadik Kumlali
Title: [Axis2] schema validation Hi Andreas,Although I'm not sure wheter my suggestion would addresse to your needs, I'll try to write what I did for schema validation.1) Used xmlbeans databinding instead of adb. Therefore, I passed "-d xmlbeans" to WSDL2Java.2) In generated sk

[Axis2] schema validation

2006-03-23 Thread Sensen, Andreas (external)
Title: [Axis2] schema validation Hi everybody, I am trying to enable schema validation for my Web service using Axis2 0.94 under linux with the included xerces 2.7.1 parser. I've a couple of questions i hope you can help me with: 1. Is it possible to enable schema validation