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

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

2009-06-12 Thread Håkon Sagehaug
HI I see the reason for why the error message came, but not what I can do as a ws developer. I either have to ask if there can be installed a web cache in front of our servlet engine, or there I guess have to be some cache or option to say to axis that, it should look for the files locally. Or is

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 (a

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 ' http://www.w3.org/TR/xmldsig-core/xm

Re: [axis2] Automatic schema validation

2008-10-04 Thread Dennis Sosnoski
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 on it: http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/val

Re: [axis2] Automatic schema validation

2008-10-03 Thread Paul Fremantle
kes 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 > train

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

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 be

Re: [axis2] Automatic schema validation

2008-10-02 Thread Jake Goulding
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 or

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

2008-10-02 Thread Paul Fremantle
xml message against 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

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

2008-10-02 Thread Chen, 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 use generated code on the server. i.e If a message is sent with a mi

Re: [axis2] Automatic schema validation

2008-10-02 Thread Paul Fremantle
Jake Synapse (http://synapse.apache.org) can be used to add Schema Validation to Axis2 - either in the handler chain or as a standalone gateway/security process. See http://synapse.apache.org/Synapse_Samples.html#Sample7 Paul On Thu, Oct 2, 2008 at 6:11 PM, Deepal Jayasinghe <[EMAIL PROTEC

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, bu

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

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

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 WS

[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: Option to Remove Strict Schema Validation

2008-09-06 Thread Anne Thomas Manes
eld 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"

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

Option to Remove Strict Schema Validation

2008-09-02 Thread Peter Conrey
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: Turning off Schema validation in Axis2 1.3

2008-04-07 Thread Sakari.Isoniemi
r_response(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

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

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

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

2007-07-25 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

[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

Re: Schema validation Axis 1.3

2006-11-10 Thread Davanum Srinivas
boolean isValid = true; if (!StringUtils.equalsIgnoreCase(queryString, "wsdl")) { isValid = validateIncomingXML(httpRequest, requestWrapper); } else { if (log.isInfoEnabled()) { log.info("Skipping XML Schema

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 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 > wro

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

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. Th

Re: Schema Validation using Axis2

2006-10-10 Thread Eran Chinthaka
would prefer to have all of the field > 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.

Re: Schema Validation using Axis2

2006-10-07 Thread Ali Sadik Kumlali
ubject: Schema 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

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

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

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=en&lr=&safe=off&q=synapse-dev+schema+validation&btnG=Search On 7/12/06, Doug B <[EMAIL PROTECTED]> w

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

2006-07-12 Thread Doug B
on 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

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

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

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

2006-07-12 Thread Anne Thomas Manes
, as always, for your time and advice. I realize my experience is limited, 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 vali

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

2006-07-12 Thread Derek
> -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 :: WSDL :: ) > > As I said in my original

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

2006-07-12 Thread Doug B
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 integrity constraints into the schema. Even checking for nulls can be expensive if

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

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 co

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

2006-07-12 Thread Doug B
Anne doesn't appear to be around right now, but I'll bug her when it looks like she is. In the meantime, surely some of the other list readers have some opinions on this topic? On 7/9/06, Benjamin Fan <[EMAIL PROTECTED]> wrote: If there is going to be a discussion then I would very much like t

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

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 the WSDL (doc literal) will form the basis of a commercial interface specification for 3rd partie

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

2006-07-09 Thread Doug B
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 parse XML anyway, and your XML parser can vali

RE: Schema validation

2006-05-22 Thread Ken Tam
ws.apache.org>Sent: 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 and I was able to generate the stubs by> using Axis's WSDL2Jav

Re: Schema validation

2006-05-22 Thread Anne Thomas Manes
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 PMSubject: Schema validation> Hi all,>> I am consuming web services made available from my customer. I was

Re: Schema validation

2006-05-22 Thread Martin Gainty
ssage - From: "Ken Tam" <[EMAIL PROTECTED]> To: Sent: Sunday, May 21, 2006 9:18 PM Subject: Schema validation > 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

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 c

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-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 s

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 c

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

Re: rpc/literal and Schema Validation

2006-02-25 Thread Anne Thomas Manes
.   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 that it doesn't expect when parsing the message. This is true whether you are us

Re: rpc/literal and Schema Validation

2006-02-25 Thread Rakesh Sanghvi
ment value 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 i

Re: rpc/literal and Schema Validation

2006-02-24 Thread Rakesh Sanghvi
6, 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 that it doesn't expect when parsing the message. This is true whether you are using doc/lit, rpc/lit, or rpc/encoded. I

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,

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