I know how to use cfobject type="webservice" and AddSOAPRequestHeader() to
generate a SOAP request like this:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
  <s:Header>
    <h:UserName xmlns:h="[namespace]">username</h:UserName>
    <h:Password xmlns:h="[namespace]">password</h:Password>
  </s:Header>
  <s:Body>
    <ThisFunction xmlns="[namespace]">
    </ThisFunction>
  </s:Body>
</s:Envelope>

...this is equivalent to calling ThisWebservice.ThisFunction().  But, when
ThisFunction requires:

    <ThisFunction xmlns="[namespace]">
      <ThisArg i:type="ThisType" xmlns:i="
http://www.w3.org/2001/XMLSchema-instance";>
        <ThisField>something</ThisField>
        <ThisField>something</ThisField>
        ...etc...
      </ThisArg>
    </ThisFunction>

...equivalent to calling ThisWebservice.ThisFunction(ThisArg), how do I
first "build" the ThisArg struct(?) in order to get i:type and ThisFields in
there?

-- 
John Bliss
IT Professional
LinkedIn: http://www.linkedin.com/in/jbliss


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322879
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to