serviceUrl Attribute

Microsoft Office InfoPath

Show All Show All

serviceUrl Attribute

Contains the Web service Uniform Resource Locator (URL) to which the request should be sent.

Type

      xsd:string
    

Remarks

The serviceUrl attribute is a required attribute of the operation element.

Example

The following is an example of the serviceUrl attribute as it is used in the operation 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:input>
      </xsf:operation>
   </xsf:webServiceAdapter>
</xsf:query>