473,473 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4128
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.