[Mono-bugs] [Bug 81430][Wis] New - Namespace error in SOAP XML

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 23 06:08:17 EDT 2007


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 emsa at devdep.com.

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

--- shadow/81430	2007-04-23 06:08:17.000000000 -0400
+++ shadow/81430.tmp.16361	2007-04-23 06:08:17.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 81430
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: emsa at devdep.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Namespace error in SOAP XML
+
+Using mono 1.1.17.1-4.fc6 I am generating a SOAP-client from a WSDL file,
+the service is using doc/lit.
+
+When calling the login method of the service mono generates this SOAP-message:
+
+<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <soap:Header/>
+ <soap:Body>
+  <loginRequest xmlns='urn:service:report:types'>
+   <username>user</username>
+   <password>password</password>
+  </loginRequest>
+ </soap:Body>
+</soap:Envelope>
+
+
+The message is not valid on the server (running jboss) since the <username>
+and <password> elements ends up in the 'urn:service:report:types' name space.
+
+Other clients generates requests like this (please note the different
+namespace assignment in <loginRequest>, and subnodes.)
+
+<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <soap:Header/>
+ <soap:Body>
+  <loginRequest xmlns='urn:service:report:types'>
+   <username>username</username>
+   <password>password</password>
+  </loginRequest>
+ </soap:Body>
+</soap:Envelope>


More information about the mono-bugs mailing list