The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Update on ASMX's BP conformance and testing with SOAPscope

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Christian Weyer

Posts: 616
Nickname: cweyer
Registered: Sep, 2003

Christian Weyer is an independent Microsoft MSDN Regional Director and expert for Web services.
Update on ASMX's BP conformance and testing with SOAPscope Posted: Jan 16, 2004 5:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Christian Weyer.
Original Post: Update on ASMX's BP conformance and testing with SOAPscope
Feed Title: Christian Weyer: Web Services & .NET
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/cweyer/Rss.aspx
Feed Description: Philosophizing about and criticizing the brave new world ...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Christian Weyer
Latest Posts From Christian Weyer: Web Services & .NET

Advertisement

For those of you who read my report on ASMX's BP conformance I have a slight update. Not that now by accident ASMX is compatible, but there are some problems with SOAPscope 3.0, IIS, and the way external schemas and WSDL are referenced in the base WSDL document. The following is a shrink-wrapped version of the results the Mindreef support and I encountered.

What was really strange when testing the Web service from this article were the schema and malformed XML errors I and also the SOAPscope support did not quite understand. As it turns out it was IIS and the way SOAPscope interacts with IIS that caused the problems. Try stopping IIS, starting it, then the next web request you make, click SOAPscope's Analyze tab (once you're already viewing the WSDL). This should show up the 'real' analysis of the Web service. Every subsequent call will result in those other strange results ...

Not all of the errors are being caused by this, just the ones of the bad XML variety are (though, that may prevent required schemas from loading properly).
Actually, IIS was refusing access to one of the imported files in the WSDL. Well, to make a long story short: you can achieve the correct results by disabling the 'Keep-Alive' setting in your IIS preferences. This will cause everything to function correctly, as IIS will no longer get stuck in a state of inappropriately maintaining useless connections. Obviously, this is currently nothing more than a workaround.

This leads us to the updated error report for the Web service with multiple bindings and schema and WSDL import. These are all errors, some of which are just consecutive errors, though:

Schema Validation
Schema Error: Duplicate key value [ID Value:
http://KeithhPij.org/WSLibrary/MyStoreMB/Sales] declared for identity constraint of element "definitions".
Node: import

Schema Validation
Schema Error: Duplicate key value [ID Value:
http://KeithhPij.org/WSLibrary/MyStoreMB/Support] declared for identity constraint of element "definitions".
Node: import

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1" is a schema, which is not permitted through the use of import.

SOAPscope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema2" is a schema, which is not permitted through the use of import.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3" is a schema, which is not permitted through the use of import.

SOAPScope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1" is a schema, which is not permitted through the use of import([3,140] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl1").

SOAPscope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema2" is a schema, which is not permitted through the use of import([4,126] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl1").

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3" is a schema, which is not permitted through the use of import([5,142] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl1").

SOAPscope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1" is a schema, which is not permitted through the use of import([3,140] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl2").

SOAPscope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema1") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema2" is a schema, which is not permitted through the use of import([4,126] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl2").

WS-I Basic Profile
Wsdl:import points to a schema document
Imported file "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3" is a schema, which is not permitted through the use of import([5,142] imported from "http://pcpauline/WSLibrary/MyStoreMB.asmx?wsdl=wsdl2").

SOAPscope
Xsd:import schemaLocation unknown
SOAPscope cannot perform the xsd:import specified by Element xs:import([3,61] imported from "
http://pcpauline/WSLibrary/MyStoreMB.asmx?schema=schema3") because the namespace is unrecognized and the "schemaLocation" attribute is missing or invalid.

WS-I Basic Profile
Multiple wsdl:ports with same location
Multiple wsdl:ports Sales and Support have the same value for their "location" attributes.


Read: Update on ASMX's BP conformance and testing with SOAPscope

Topic: How to Fix Scrolling Problem in Internet Explorer Previous Topic   Next Topic Topic: BITS chat going on now....

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use