Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagexml
titleFormData
linenumberstrue
<sampleData>                                  
   <TestResult/>                    
   <SoapRequest>
      <ConversionRate xmlns="http://www.webserviceX.NET/">
         <FromCurrency>EUR</FromCurrency>
         <ToCurrency>USD</ToCurrency>                                       
      </ConversionRate>
   </SoapRequest>
   <SimpleRequest><![CDATA[FromCurrency=EUR&ToCurrency=USD]]></SimpleRequest>        
</sampleData>
Code Block
languagexml
titleWebInvokeNS
linenumberstrue
 <WebInvokeNS Url="http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate" ResponseInto="/*/TestResult" InvokeType="Get" Timeout="15">                               
   <Request>
      <Value>::/sampleData/SimpleRequest</Value>
   </Request>
</WebInvokeNS>

  

  • Timeout ve Encoding 'in exclude edilmesi ile ilgili örnektir.
Code Block
languagexml
titleWebInvokeNS
linenumberstrue
 <WebInvokeNS Url="http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate" ResponseInto="/*/TestResult" InvokeType="Post"
           ExcludeEncoding="True"  Timeout="15" >
   <Request>
      <Value>::/sampleData/SimpleRequest</Value>
   </Request>
</WebInvokeNS>

 

Code Block
languagexml
titleWebInvokeNS
linenumberstrue
 <WebInvokeNS Url="http://www.webservicex.net/CurrencyConvertor.asmx" NeglectCertificateError=""True"" ResponseInto="/*/TestResult"
           Timeout="15" >
   <Headers>
      <Header Key="SOAPAction">http://www.webserviceX.NET/ConversionRate</Header>
   </Headers>
   <Request>
      <Value>::/child::sampleData/child::SoapRequest/child::*[position()=1]</Value>
   </Request>
</WebInvokeNS>

 

 

Code Block
languagexml
titleWebInvokeNS
linenumberstrue
<WebInvokeNS Url="http://www.webservicex.net/CurrencyConvertor.asmx" NeglectCertificateError="True" ResponseInto="/*/TestResult"
           Timeout="15"  TargetNamespace="http://www.webserviceX.NET/" >
   <Headers>
      <Header Key="SOAPAction">http://www.webserviceX.NET/ConversionRate</Header>
   </Headers>
   <Request>
      <Value>::/sampleData/SoapRequest/ConversionRate</Value>
   </Request>
</WebInvokeNS>