473,386 Members | 1,602 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,386 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 4123
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.