[Mono-bugs] [Bug 66908][Wis] New - Incompatibility between MONO WebServices and WebMethods Glue's (soap-encoded point)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Sep 2004 12:13:13 -0400 (EDT)


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 ramon.guiu@xyleme.com.

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

--- shadow/66908	2004-09-27 12:13:13.000000000 -0400
+++ shadow/66908.tmp.22479	2004-09-27 12:13:13.000000000 -0400
@@ -0,0 +1,85 @@
+Bug#: 66908
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: SuSE 9.1 professional
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ramon.guiu@xyleme.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incompatibility between MONO WebServices and WebMethods Glue's (soap-encoded point) 
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I try to access any web service developped using Glue and I always get a
+SOAP exception from the Glue server: this is a soap-encoded end-point.
+The Glue server uses rpc/encoded SOAP calls.
+
+The message that is sent by mono is
+
+  <?xml version='1.0' encoding='utf-8'?>
+  <soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
+    <soap:Body>
+      <q1:getConnection xmlns:q1='x'>
+        <login xsi:type='xsd:string'>xyadmin</login>
+        <password xsi:type='xsd:string'>xyadmin</password>
+      </q1:getConnection>
+    </soap:Body>
+  </soap:Envelope>
+
+
+and the message returned is 
+  <?xml version='1.0' encoding='UTF-8'?>
+  <soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
+xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'>
+    <soap:Body soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
+      <soap:Fault>
+        <faultcode>soap:Server</faultcode>
+        <faultstring>this is a soap-encoded endpoint</faultstring>
+      </soap:Fault>
+    </soap:Body>
+  </soap:Envelope>
+
+
+This works well with .NET, Unfortunately I don't have access to a Windows
+machine now, but I remember the main difference in both messages was .NET
+using 
+"xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/" in the SOAP
+enveloppe and
+"soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/" in the Body.
+These two attributes are also the main difference between a GLUE message
+and a MONO one.
+
+
+I use the last RPM package for SuSE 9.1, which contains version 1.0.2
+
+Steps to reproduce the problem:
+1. Publish a GLUE webservice in rpc/encoded mode
+2. Create the proxies
+3. Try to accces it via mono
+
+If you think you need some example code, do not hesitate to ask me.
+
+
+Actual Results:
+Mono cannot access a GLUE rpc/encoded end-point
+
+Expected Results:
+It should work as it does with .NET
+
+How often does this happen? 
+Always
+
+Additional Information: