Re: Server returned HTTP response code: 403 for URL: http://www.w3.org/2001/datatypes.dtd for schema validation

2009-06-12 Thread Davanum Srinivas
One way is as follows, fetch all the remote wsdl/xsd/dtd's and drop them into your hard disk. Then edit all of them to make sure they don't refer to the remote url and switch them to the local copy. then run wsdl2java on it. thanks, dims On 06/12/2009 03:04 AM, Håkon Sagehaug wrote: HI I see

Server returned HTTP response code: 403 for URL: http://www.w3.org/2001/datatypes.dtd for schema validation

2009-06-11 Thread Håkon Sagehaug
Hi all I got an exception today when I wanted to deploy a web service, the exception was as following [INFO] Trouble processing wsdl file :WSDLException (at /wsdl:definitions/wsdl:types/xs:schema/xs:schema/xsd:schema): faultCode=PARSER_ERROR: Problem parsing '

Re: Server returned HTTP response code: 403 for URL: http://www.w3.org/2001/datatypes.dtd for schema validation

2009-06-11 Thread Davanum Srinivas
Håkon, FYI, http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic -- dims On 06/11/2009 11:56 AM, Håkon Sagehaug wrote: Hi all I got an exception today when I wanted to deploy a web service, the exception was as following [INFO] Trouble processing wsdl file :WSDLException

Re: [axis2] Automatic schema validation

2008-10-04 Thread Paul Fremantle
a message+wsdl and validates and then it can be a separate MAR and a Synapse mediator. Thoughts? Paul On Thu, Oct 2, 2008 at 9:28 PM, Dennis Sosnoski [EMAIL PROTECTED] wrote: Hi Jake, I wrote a handler for schema validation some time ago, as an example for my training classes. Here's the information

Re: [axis2] Automatic schema validation

2008-10-04 Thread Dennis Sosnoski
On Thu, Oct 2, 2008 at 9:28 PM, Dennis Sosnoski [EMAIL PROTECTED] wrote: 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

[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
schema validation 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

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

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
at the same WSDL and then add a few lines of code to my driver program that will instruct Axis to use Synapse to validate the incoming message? Thanks! -Jake Paul Fremantle wrote: Jake Synapse (http://synapse.apache.org) can be used to add Schema Validation to Axis2 - either in the handler chain

RE: [axis2] Automatic schema validation

2008-10-02 Thread Li, Zhenge
The Axis2 soap monitor module is a perfect example on how to write a handler. Just download the code from http://ws.apache.org/axis2/modules/index.html and you'll be able make the monitor work within half an hour. Then the monitor module can be easily customized for schema validation, I believe

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 http

Re: Option to Remove Strict Schema Validation

2008-09-06 Thread Anne Thomas Manes
discovered that Axis 2 provided a means of turning off strict schema validation, we were excited to covert our code. However, according to the Axis documentation, the only client format that supports the -Eosv option is ADB, which also carries the following limitation: It is not meant

Option to Remove Strict Schema Validation

2008-09-02 Thread Peter Conrey
if that new field is not relevant to the application. When we discovered that Axis 2 provided a means of turning off strict schema validation, we were excited to covert our code. However, according to the Axis documentation, the only client format that supports the ³-Eosv² option is ADB, which also

Re: Option to Remove Strict Schema Validation

2008-09-02 Thread Anthony Bull
Title: Option to Remove Strict Schema Validation Hi Peter, I strictly use XML Beans as the data-binding for all my contract-first web services in Axis 2, and have actually had quite a few problems due to lack of schema validation. That is, unless we specifically validate the XML Beans DOM

RE: Turning off Schema validation in Axis2 1.3

2008-04-07 Thread Sakari.Isoniemi
(Msg_salesorder_soap_responseType.Factory.p arse(reader)); = The resulting POJO is still created right ! /S From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 4. huhtikuuta 2008 10:53 To: axis-user@ws.apache.org Subject: Turning off Schema validation in Axis2 1.3

Turning off Schema validation in Axis2 1.3

2008-04-04 Thread Sakari.Isoniemi
Hello There has been quite a lot discussion of schema validation in Axis2 and I have understood that omitting validation is possible only in JIXB model or how would it be possibe with ADB ? It would be nice to bybass validation in runtime but generation time is enough. I now use version

[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

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

Re: [Axis2] schema validation exception

2007-09-24 Thread Jack Sprat
: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 validation code

Re: [Axis2]. - Disable/Enable client side schema validation with axis and ADB

2007-07-26 Thread Amila Suriarachchi
use -Eosv (off strict validation) option. On 7/23/07, Ravi Somepalli [EMAIL PROTECTED] wrote: My Schema contains data types for which some of the attributes are mandatory, as defined in the schema, but during testing or I just want to disable/enable schema validation. The default client from

[Axis2]. - Disable/Enable client side schema validation with axis and ADB

2007-07-23 Thread Ravi Somepalli
My Schema contains data types for which some of the attributes are mandatory, as defined in the schema, but during testing or I just want to disable/enable schema validation. The default client from the samples does schema validation and complains about null values. xs:complexType

Schema validation Axis 1.3

2006-11-10 Thread Rishikesh . Mallesh
Hi I am using Axis 1.3, I wanted to know if there is a way to validate request and response SOAP messages against schemas. I've googled for quite a bit, but couldn't come out with a satisfactory solution. So far I've investigated the Castor option, I think it is a kludge at best. The

RE: Schema validation Axis 1.3

2006-11-10 Thread John Pfeifer
Title: RE: Schema validation Axis 1.3 Good luck with this one. I have posted several times about schema validation in axis2 and it looks like you have to do it yourself. I wrote a servlet filter that sits in front of the axis servlet and validates the request against a given xsd

Re: Schema validation Axis 1.3

2006-11-10 Thread Rodrigo Ruiz
Hi John, how complex is your filter code? It would be a great entry in the Axis wiki ;-) Regards, Rodrigo Ruiz John Pfeifer wrote: Good luck with this one. I have posted several times about schema validation in axis2 and it looks like you have to do it yourself. I wrote a servlet filter

RE: Schema validation Axis 1.3

2006-11-10 Thread John Pfeifer
Title: RE: Schema validation Axis 1.3 Here is the filter... The trick with this is that you have to wrap the HttpServletRequest so that you can send the request on to filters down stream once you have read the input stream. You can do this using HttpServletRequestWrapper. I will be happy

Re: Schema validation Axis 1.3

2006-11-10 Thread Davanum Srinivas
= validateIncomingXML(httpRequest, requestWrapper); } else { if (log.isInfoEnabled()) { log.info(Skipping XML Schema validation.); } } if (isValid) { if (log.isDebugEnabled()) { log.debug

Re: Schema Validation using Axis2

2006-10-10 Thread Eran Chinthaka
level validations performed before I pass the XML off to JiBX. I understand that schema validation can be expensive, but I am dealing with small XML documents and am willing to take the hit for the benefit of the field level validations. I would think that this is a common issue that someone

Re: Schema Validation using Axis2

2006-10-07 Thread Ali Sadik Kumlali
Validation using Axis2 Schema Validation using Axis2 I have created a test web service (see below). This service uses the RawXMLINOutMessageReceiver and by default does not have a wsdl. I created a WSDL (where I defined the schema of the xml document) and placed it in the META

Re: Schema Validation using Axis2

2006-10-06 Thread Srinath Perera
We do not do schema validation in Axis2 .. So you should do it explicitly from your service I am not sure is there a schema validator for OMElement .. you should ask! Thanks Srinath On 10/5/06, John Pfeifer [EMAIL PROTECTED] wrote: I have created a test web service (see below

Schema Validation using Axis2

2006-10-05 Thread John Pfeifer
Title: Schema Validation using Axis2 I have created a test web service (see below). This service uses the RawXMLINOutMessageReceiver and by default does not have a wsdl. I created a WSDL (where I defined the schema of the xml document) and placed it in the META-INF directory. When I test

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
Sorry for the silence. I took a couple of days off. True schema validation is an extremely expensive process -- especially if you put uniqueness or referential integrity constraints into the schema. Even checking for nulls can be expensive if it's a large document instance. If you have control

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Doug B
: Sorry for the silence. I took a couple of days off. True schema validation is an extremely expensive process -- especially if you put uniqueness or referential integrity constraints into the schema. Even checking for nulls can be expensive if it's a large document instance. If you have control over

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
, so I might be missing a lot of scenarios that I should be considering. Doug On 7/12/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: Sorry for the silence. I took a couple of days off. True schema validation is an extremely expensive process -- especially if you put uniqueness or referential

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
: Wednesday, July 12, 2006 11:50 AM To: axis-user@ws.apache.org Subject: Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice) As I said in my original response, a databinding framework will always perform some basic validation -- it's expecting to get a particular XML

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Doug B
of how that should be was useful. Doug On 7/12/06, Derek [EMAIL PROTECTED] wrote: -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 11:50 AM To: axis-user@ws.apache.org Subject: Re: Schema Validation (WAS: [axis2] Validating Messages

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Davanum Srinivas
Folks, There is an effort to build a schema validation mediator in Apache Synapse [1]. So hop on there and ask :) thanks, dims [1] http://www.google.com/search?hl=enlr=safe=offq=synapse-dev+schema+validationbtnG=Search On 7/12/06, Doug B [EMAIL PROTECTED] wrote: Thanks for your thoughts

Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-09 Thread Doug B
warning: long, best practice questions to follow Interesting to hear you say that, Anne. I've been on a multi-year quest to get automatic, fast validation out of a Web Services engine. Conceptually, it always seemed like the right approach (especially for Document-Literal). If you're having to

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-09 Thread Benjamin Fan
If there is going to be a discussion then I would very much like to participate in it. I am in the middle of building a production system where I do in fact need to validate against the schema. In fact theWSDL (doc literal)will form the basis of a commercial interface specification for 3rd

RE: Schema validation

2006-05-23 Thread Ken Tam
-- Original Message -From: "Ken Tam" [EMAIL PROTECTED]To: axis-user@ws.apache.orgSent: Sunday, May 21, 2006 9:18 PMSubject: Schema validation Hi all, I am consuming web services made available from my customer. I was given a very elaborate WSDL with schemas

Re: Schema validation

2006-05-22 Thread Martin Gainty
or email and destroy the original message without making a copy. Thank you. - Original Message - From: Ken Tam [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Sunday, May 21, 2006 9:18 PM Subject: Schema validation Hi all, I am consuming web services made available from my

Re: Schema validation

2006-05-22 Thread Anne Thomas Manes
immediately by telephone or email and destroy the originalmessage without making a copy.Thank you.- Original Message -From: Ken Tam [EMAIL PROTECTED]To: axis-user@ws.apache.orgSent: Sunday, May 21, 2006 9:18 PMSubject: Schema validation Hi all, I am consuming web services made available from

Schema validation

2006-05-21 Thread Ken Tam
Hi all, I am consuming web services made available from my customer. I was given a very elaborate WSDL with schemas and I was able to generate the stubs by using Axis's WSDL2Java. Everything was working fine until the service was changed on the customer's end. This causes the deserialization step

Re: Schema validation

2006-05-21 Thread Dies Koper
Hello Ken, Axis does not have the functionality to validate the SOAP message. You should look for a third-party tool (hopefully others in the group have suggestions) to do that or write one yourself. Good luck, Dies Ken Tam wrote: Hi all, I am consuming web services made available from my

Schema Validation

2006-05-02 Thread Vishy
Hi, I am using Axis 1.3 Can someone point me in the right direction, to accomplish the following? 1) Validate incoming/outgoing xml against a schema...the only place, where I am thinking I can do this, is in a request or response handler...am I correct? has anyone done this before? 2) How can

Re: Schema Validation

2006-05-02 Thread Jeff Greif
1. I believe the XML of the request s already deserialized and parsed by the time it reaches any handlers, and is in the form of a DOM. To validate in a handler or in your service implementation you must be able either to validate the DOM or, presumably less efficiently, serialize back to a

[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

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 skeleton cla

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 Kumlali [EMAIL

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. Itthrows an AxisFault if an incoming message is invalid. But instead of

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

Re: AW: [Axis2] schema validation

2006-03-23 Thread Eran Chinthaka
*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 param0) throws AxisFault

AW: AW: [Axis2] schema validation

2006-03-23 Thread Sensen, Andreas (external)
. 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 But instead of sending

Re: rpc/literal and Schema Validation

2006-02-25 Thread Rakesh Sanghvi
] wrote: Rakesh,Axis never automatically performs schema validation, although it will throw an error if it encounters an element or type that it doesn't expect when parsing the message. This is true whether you are using doc/lit, rpc/lit, or rpc/encoded. If you would like to add a validation

Re: rpc/literal and Schema Validation

2006-02-25 Thread Anne Thomas Manes
0.05 to 1.0 i believe Axis should throw an error.let me know if my understanding is wrong.. Thanks Rakesh On 2/24/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: Rakesh,Axis never automatically performs schema validation, although it will throw an error if it encounters an element or type

rpc/literal and Schema Validation

2006-02-24 Thread Rakesh Sanghvi
Hi Just want to confirm if i implemented my WSDL SOAP binding as rpc/litteral then I believe Schema validation will not happened automatically. if it is true then will it JAXB will be fine for validating SOAP request against schema. Let me know if any good suggestion. Thanks Rakesh

Re: rpc/literal and Schema Validation

2006-02-24 Thread Anne Thomas Manes
Rakesh,Axis never automatically performs schema validation, although it will throw an error if it encounters an element or type that it doesn't expect when parsing the message. This is true whether you are using doc/lit, rpc/lit, or rpc/encoded. If you would like to add a validation process

Re: rpc/literal and Schema Validation

2006-02-24 Thread Rakesh Sanghvi
is not between 0.05 to 1.0 i believe Axis should throw an error.let me know if my understanding is wrong.. Thanks Rakesh On 2/24/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: Rakesh,Axis never automatically performs schema validation, although it will throw an error if it encounters an element or type