anchor.diff:      else
         raise "Unknown parameter type for #{p.qualified_name}"
       end
  -  !p.collection? ? v : (p.collection_type == :sequence) ? "java.util.Arrays.asList( #{v} )" : "new java.util.HashSet<>( java.util.Arrays.asList( #{v} ) )"
  +  !p.collection? ? v : (p.collection_type == :sequence) ? "java.util.Arrays.#{type_spec}asList( #{v} )" : "new java.util.HashSet<>( java.util.Arrays.#{type_spec}asList( #{v} ) )"
   end
   
  -def create_struct(struct)
  +def create_struct(struct, context)
     result = "new #{struct.ee.qualified_name}("
  -  result << struct.fields.collect { |p| create_parameter_value(p) }.join(", ")
  +  result << struct.fields.collect { |p| create_parameter_value(p, context) }.join(", ")
     result << ")"
   end
   
  
positive.code:     throws Exception
    {
      final java.io.StringWriter xml = new java.io.StringWriter();
      final <%= struct.ee.qualified_name %> input = <%= create_struct(struct) %>;
      javax.xml.bind.JAXB.marshal( input, xml );
      final String data = xml.toString();
  <% if struct.top_level? -%>
  
negative.code: <%
      end
  
  def create_parameter_value(p, parent_context = nil)
    type_spec = ''
    v =
      if p.integer?
        "1"
  