[Mono-bugs] [Bug 78995][Nor] New - DiscoveryClientProtocol.DiscoverAny() does not recursively discover imported schemas

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 2 07:54:16 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78995

--- shadow/78995	2006-08-02 07:54:16.000000000 -0400
+++ shadow/78995.tmp.26090	2006-08-02 07:54:16.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 78995
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web.Services
+AssignedTo: lluis at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DiscoveryClientProtocol.DiscoverAny() does not recursively discover imported schemas
+
+If there are imported schemas in a wsdl you are trying to resolve
+references using DiscoveryClientProtocol (or shortly, disco), it does not
+report URLs for imported schemas.
+
+Try the code below with WS-Trust WSDL for example:
+
+using System;
+using System.Web.Services.Discovery;
+
+public class Test
+{
+        public static void Main (string [] args)
+        {
+                DiscoveryClientProtocol p = new DiscoveryClientProtocol ();
+                p.DiscoverAny (args [0]);
+                foreach (DiscoveryReference r in p.References.Values)
+                        Console.WriteLine (r.Url);
+        }
+}
+
+
+Expected Results:
+
+http://schemas.xmlsoap.org/ws/2004/08/addressing/default.xsd
+http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
+http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
+http://schemas.xmlsoap.org/ws/2004/08/addressing/default.xsd
+http://www.w3.org/2001/xml.xsd
+http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd
+http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
+http://schemas.xmlsoap.org/ws/2005/02/trust/WS-Trust.wsdl
+http://schemas.xmlsoap.org/ws/2005/02/trust/ws-trust.xsd
+
+Actual Results:
+
+http://schemas.xmlsoap.org/ws/2005/02/trust/WS-Trust.wsdl
+
+Additional Information:
+
+Schema imports could happen either from direct schema URL specification or
+from "Types" in ServiceDescription.


More information about the mono-bugs mailing list