Re: [axis2] Automatic schema validation

2008-10-04 Thread Paul Fremantle
Cool. Nice handler Dennis. Both the Synapse schema validator and Dennis's MAR both suffer from being a little too simple - you need to specify the schema. I think it would be great to have them both work from the WSDL. Maybe we could join forces to create a single piece of code that takes a

Re: [axis2] Automatic schema validation

2008-10-04 Thread Dennis Sosnoski
It'd be great to have a validation option as part of the standard Axis2 distribution, and working from the WSDL would probably be the most convenient approach from the user standpoint. I haven't looked into the Synapse validator code - do you think that would be a better basis for this than

[axis2] Automatic schema validation

2008-10-02 Thread Jake Goulding
Hey all: Is there any way to have Axis automatically check the incoming (and potentially the outgoing) XML against the schema(s) originally provided in the WSDL? I did a search online, but didn't see anything that seems too likely. Thanks! -Jake

Re: [axis2] Automatic schema validation

2008-10-02 Thread Deepal jayasinghe
Answers is no , because it slow down the system. However you can implement that your own. Just need to write a handler :) -Deepal Hey all: Is there any way to have Axis automatically check the incoming (and potentially the outgoing) XML against the schema(s) originally provided in the WSDL?

Re: [axis2] Automatic schema validation

2008-10-02 Thread Jake Goulding
Deepal: Thanks for the quick answer (most of my other email to list seems to get ignored ;-)). I'm sure that schema validation would slow down the system, potentially a lot, but this would be invaluable for people operating with systems outside of their control. There is also a great quote

RE: [axis2] Automatic schema validation

2008-10-02 Thread Chen, Jennifer
Hi Deepal, I have the same question for both provisioning and consuming services, and we are using ADB. Thanks, Jennifer -Original Message- From: Jake Goulding [mailto:[EMAIL PROTECTED] Sent: Thursday, Oct 02, 2008 11:37 AM To: axis-user@ws.apache.org Subject: Re: [axis2] Automatic

Re: [axis2] Automatic schema validation

2008-10-02 Thread keith chapman
I think you would get some form of validation if you use generated code on the server. i.e If a message is sent with a missing element the MessageReceiver will detect this and throw a fault. Also this comes without any additional cost. It will also check minoccurs and nillable attributes. Thanks,

Re: [axis2] Automatic schema validation

2008-10-02 Thread Deepal Jayasinghe
Deepal: Thanks for the quick answer (most of my other email to list seems to get ignored ;-)). I am sorry for that , if I see any mail that I can answer I will do my best,. I'm sure that schema validation would slow down the system, potentially a lot, but this would be invaluable for

RE: [LIKELY JUNK]Re: [axis2] Automatic schema validation

2008-10-02 Thread Chen, Jennifer
: keith chapman [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 12:35 PM To: axis-user@ws.apache.org Subject: [LIKELY JUNK]Re: [axis2] Automatic schema validation I think you would get some form of validation if you use generated code on the server. i.e If a message is sent with a missing

Re: [LIKELY JUNK]Re: [axis2] Automatic schema validation

2008-10-02 Thread Paul Fremantle
a WSDL file? Thanks, Jennifer From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 12:35 PM To: axis-user@ws.apache.org Subject: [LIKELY JUNK]Re: [axis2] Automatic schema validation I think you would get some form of validation if you

Re: [axis2] Automatic schema validation

2008-10-02 Thread Jake Goulding
Paul: Thanks for the information. However, I think your example went over my head a bit. I have a WSDL that has 4 or so XSD schemas. I point wsdl2java at that WSDL, then write an extremely simple driver program that calls the Axis2 stubs. Is there a way to basically point Synapse at the

RE: [axis2] Automatic schema validation

2008-10-02 Thread Li, Zhenge
. http://ws.apache.org/axis2/1_4/soapmonitor-module.html -richard -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: October 2, 2008 2:12 PM To: axis-user@ws.apache.org Subject: Re: [axis2] Automatic schema validation Deepal: Thanks for the quick answer

Re: [axis2] Automatic schema validation

2008-10-02 Thread Dennis Sosnoski
Hi Jake, I wrote a handler for schema validation some time ago, as an example for my training classes. Here's the information on it: http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation - Dennis -- Dennis M. Sosnoski SOA and Web Services in Java Axis2 Training and Consulting