This documentation is archived and is not being maintained.

source Attribute

Office 2007

Contains the name of the resource file in the form template that contains the XML Schema for the input Simple Object Access Protocol (SOAP) message of the selected operation of the Web service.

Type

xsd:string

Remarks

The source attribute is a required attribute of the input element.

Example

The following is an example of the source attribute as it is used in the input element:

<xsf:query>
   <xsf:webServiceAdapter 
      wsdlUrl="http://localhost/infopathwebservicesample/infopathwebservicesample.asmx?WSDL" 
      queryAllowed="yes" 
      submitAllowed="no">
      <xsf:operation 
         name="getOrders" 
         soapAction="http://tempuri.org/getOrders" 
         serviceUrl="http://localhost/infopathwebservicesample/infopathwebservicesample.asmx">
         <xsf:input 
            source="Submit.xml">
            <xsf:partFragment
               match="/dfs:myFields/dfs:dataFields/s0:IsPrime/s0:inValue"
               replaceWith="/dfs:myFields/dfs:dataFields/s0:IsPrime" /> 
         </xsf:input>
      </xsf:operation>
   </xsf:webServiceAdapter>
</xsf:query>


Show: