473,224 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

Validating WSDL-Files

Hi

I have a problem with validating WSDL-Files using XMLValidatingReader.
I'm adding all schemas in the <definitions>-Tag to the
XmlValidatingReader.Schemas Property.

and here is the Problem: Some wsdl-Files that should work(according to
XMLSpy) produce ValidationErrors when:

1. The location attributes value is an XPath (?) Expression, for
example:

<http:operation location="/GetCountryDataFromGeoIp" />

2. The soapAction Attribute is empty, for example:

<wsdlsoap:operation soapAction="" />

Do you know if this is WSDL Standard conform? Which WSDL Version is
currently supported by XMLValidatingReader? Does ValidatingReader
need anything else to validate WSDLs?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 12 '05 #1
2 4108
The location attribute as well as the soapAction attribute are typed as
xs:anyURI.

Whent the wsdl is validated, XmlValidatingReader validates content of
xs:anyURI by converting them to CLR System.Uri objects.
System.Uri does not allow empty string as a valid uri and cannot handle
relative paths without absolute base uris.

XmlValidatingReader works around some relative paths but not all. That is
the reason you are seeing the validation errors.

Thanks,
Priya

"dotNetty" <pu*@gmx-dot-at.no-spam.invalid> wrote in message
news:40********@Usenet.com...
Hi

I have a problem with validating WSDL-Files using XMLValidatingReader.
I'm adding all schemas in the <definitions>-Tag to the
XmlValidatingReader.Schemas Property.

and here is the Problem: Some wsdl-Files that should work(according to
XMLSpy) produce ValidationErrors when:

1. The location attributes value is an XPath (?) Expression, for
example:

<http:operation location="/GetCountryDataFromGeoIp" />

2. The soapAction Attribute is empty, for example:

<wsdlsoap:operation soapAction="" />

Do you know if this is WSDL Standard conform? Which WSDL Version is
currently supported by XMLValidatingReader? Does ValidatingReader
need anything else to validate WSDLs?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 12 '05 #2
The location attribute as well as the soapAction attribute are typed as
xs:anyURI.

Whent the wsdl is validated, XmlValidatingReader validates content of
xs:anyURI by converting them to CLR System.Uri objects.
System.Uri does not allow empty string as a valid uri and cannot handle
relative paths without absolute base uris.

XmlValidatingReader works around some relative paths but not all. That is
the reason you are seeing the validation errors.

Thanks,
Priya

"dotNetty" <pu*@gmx-dot-at.no-spam.invalid> wrote in message
news:40********@Usenet.com...
Hi

I have a problem with validating WSDL-Files using XMLValidatingReader.
I'm adding all schemas in the <definitions>-Tag to the
XmlValidatingReader.Schemas Property.

and here is the Problem: Some wsdl-Files that should work(according to
XMLSpy) produce ValidationErrors when:

1. The location attributes value is an XPath (?) Expression, for
example:

<http:operation location="/GetCountryDataFromGeoIp" />

2. The soapAction Attribute is empty, for example:

<wsdlsoap:operation soapAction="" />

Do you know if this is WSDL Standard conform? Which WSDL Version is
currently supported by XMLValidatingReader? Does ValidatingReader
need anything else to validate WSDLs?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
6
by: Naveed Anwar | last post by:
how a tcp server running on given uri like "soap:tcp://localhost:8080/MyReceiver" will return wsdl. In normal web service case which runs on http returns wsdl by simply appending '?wsdl' in url,...
1
by: Mike Logan | last post by:
I have a schema that defines my messages and objects. I then have a WSDL that defines the web services. I have my sample XSD, sample WSDL, and the code generated from WSDL.exe. In the generated...
0
by: Andreas | last post by:
Hi, Im trying to consume a webservice described by the WSDL below, however When i try to add the WSDL it does not work, tried to run it through WSDL.EXE It validates in XMLSpy, but WSDL.exe...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.