Soap11 response missing namespace for nullables

Bug #1297415 reported by Simon O
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ladon
New
Undecided
Unassigned

Bug Description

Methods which return a LadonType containing a nullable property whose value is set to null fail when being consumed by C#.

Note that if the value is nullable but not null, C# behaves as expected.

After a little digging, it looks like a xsi namespace is being omitted in the response message. I was able to resolve this by adding

  envelope.setAttribute('xmlns:xsi','http://www.w3.org/2001/XMLSchema-instance')

to soap11.py ~line 594

I'm not sure if this should be added conditionally but adding it all the time appears to work without problems in my case.

Tags: soap11
summary: - Soap11 WSDL missing namespace for nullables
+ Soap11 response missing namespace for nullables
Revision history for this message
Shafiul (ishafiul) wrote :

I faced the same problem today and was about to report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.