[Mono-bugs] [Bug 580961] New: MONO generates bad SOAP WSDL request. When sending request to server, exception raises.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 18 12:06:18 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=580961

http://bugzilla.novell.com/show_bug.cgi?id=580961#c0


           Summary: MONO generates bad SOAP WSDL request. When sending
                    request to server, exception raises.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: haker-kirik at mail.ru
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=343256)
 --> (http://bugzilla.novell.com/attachment.cgi?id=343256)
In ZIP archive you can find "testCase.exe" application that reproduces current
bug and its sources. Also there are two XML documents that containes generated
SOAP requests under Linux and Windows.

User-Agent:       Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15
Version/10.10

I'm using Invoke method of SoapHttpClientProtocol to serialize and send SOAP
request to the remote server. When sending request to server, following
exception raises.



Reproducible: Always

Steps to Reproduce:
I provide a simple application with sources that sends SOAP WSDL request to
remote server. Just run it under Mono on linux and you will get an exception.
Actual Results:  
Unhandled Exception: System.Web.Services.Protocols.SoapException:
org.jboss.ws.core.binding.BindingException:
org.jboss.ws.core.jaxrpc.binding.jbossxb.UnmarshalException: Failed to parse
source: Type binding not found for type
{http://dps.dimark.com/}IntegerArrayHolder specified with xsi:type for element
IntegerArrayHolder_1
  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse
(System.Net.WebResponse response,
System.Web.Services.Protocols.SoapClientMessage message,
System.Web.Services.Protocols.SoapExtension[] extensions) [0x00000]
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String
method_name, System.Object[] parameters) [0x00000]
  at DpsWSDLService.invokeRPC (.IntegerArrayHolder IntegerArrayHolder_1,
CustomRPCArrayHolder CustomRPCArrayHolder_2, Boolean boolean_3) [0x00000]
  at (wrapper remoting-invoke-with-check) DpsWSDLService:invokeRPC
(IntegerArrayHolder,CustomRPCArrayHolder,bool)
  at Test_Soap_Serialization.Program.Main (System.String[] args) [0x00000]

Expected Results:  
Application displays a number. No exception raises.

Under Mono on Windows all working properly.
The request generated by Mono on Linux is deferent from request generated by
Mono on Windows. In attachment you will find examples of these requests.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list