title: How to pass array of structures in a soap request as an argument?
body: <p>I am trying to consume a SOAP web service created in ColdFusion. The request part of WSDL for the service looks like this:</p>
  
  <pre><code>&lt;wsdl:message name="submitTicketWithExtraInfoRequest"&gt;
  &lt;wsdl:part name="sUserLdapAlias" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sIssueDetails" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sIssueSummary" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sDeadlineReason" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="nRelatedTo" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="nPriorityLevel" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="nSegmentid" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sSubmitterPhone" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sCC" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sCoSubmitter" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="sDeadline" type="xsd:string"&gt;&lt;/wsdl:part&gt;
  &lt;wsdl:part name="arURLReference" type="impl:ArrayOf_tns1_URLReference"&gt;&lt;/wsdl:part&gt;
  &lt;/wsdl:message&gt;
  
  &lt;complexType name="ArrayOf_tns1_URLReference"&gt;
      &lt;complexContent&gt;
           &lt;restriction base="soapenc:Array"&gt;
               &lt;attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:URLReference[]"/&gt;
           &lt;/restriction&gt;
      &lt;/complexContent&gt;
  &lt;/complexType&gt;
  
  &lt;complexType name="URLReference"&gt;
       &lt;sequence&gt;
           &lt;element name="sURLReferenceComment" nillable="true" type="xsd:string"/&gt;
           &lt;element name="sURLReferenceURL" nillable="true" type="xsd:string"/&gt;
       &lt;/sequence&gt;
  &lt;/complexType&gt;
  </code></pre>
  
  <p>I am using SoapUI for generating the request which currently looks like this:</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://some url/webService/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;int:submitTicketWithExtraInfo soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;
           &lt;sUserLdapAlias xsi:type="xsd:string"&gt;?&lt;/sUserLdapAlias&gt;
           &lt;sIssueDetails xsi:type="xsd:string"&gt;?&lt;/sIssueDetails&gt;
           &lt;sIssueSummary xsi:type="xsd:string"&gt;?&lt;/sIssueSummary&gt;
           &lt;sTroubleshooting xsi:type="xsd:string"&gt;?&lt;/sTroubleshooting&gt;
           &lt;sDeadlineReason xsi:type="xsd:string"&gt;?&lt;/sDeadlineReason&gt;
           &lt;nRelatedTo xsi:type="xsd:double"&gt;?&lt;/nRelatedTo&gt;
           &lt;nPriorityLevel xsi:type="xsd:double"&gt;?&lt;/nPriorityLevel&gt;
           &lt;nSegmentid xsi:type="xsd:double"&gt;?&lt;/nSegmentid&gt;
           &lt;sSubmitterPhone xsi:type="xsd:string"&gt;?&lt;/sSubmitterPhone&gt;
           &lt;sCC xsi:type="xsd:string"&gt;?&lt;/sCC&gt;
           &lt;sCoSubmitter xsi:type="xsd:string"&gt;?&lt;/sCoSubmitter&gt;
           &lt;sDeadline xsi:type="xsd:string"&gt;?&lt;/sDeadline&gt;
           &lt;arURLReference xsi:type="int:ArrayOf_tns1_URLReference" soapenc:arrayType="dat:URLReference[]" xmlns:dat="http://dataservice"/&gt;
        &lt;/int:submitTicketWithExtraInfo&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>For rest of the arguments I just need to replace question mark <code>?</code> with actual values. The issue is I don't know how to pass the <strong>arURLReference</strong> argument in my request.As evident from the WSDL it is array of structures. </p>