User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:adminmanual:businessmappings:webservicecall [2019/10/06 16:18]
joebordes created
en:adminmanual:businessmappings:webservicecall [2019/10/09 10:15] (current)
joebordes
Line 2: Line 2:
  
  
 +
 +An example of Map for SOAP Call:
 +
 +<code XML>
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<map>
 +<​originmodule>​
 +<​originname>​Contacts</​originname>​
 +</​originmodule>​
 +<​wsconfig>​
 +<​wsurl>​http://​www.holidaywebservice.com/​Holidays/​US/​USHolidayService.asmx?​wsdl</​wsurl>​
 +<​wshttpmethod>​POST</​wshttpmethod>​
 +<​methodname>​GetHolidaysForYear</​methodname>​
 +<​wsresponsetime></​wsresponsetime>​
 +<​wstype>​SOAP</​wstype>​
 +<​wsuser></​wsuser>​
 +<​wspass></​wspass>​
 +<​wsproxyhost></​wsproxyhost>​
 +<​wsproxyport></​wsproxyport>​
 +<​wsheader>​
 +<​header>​
 +<​keyname>​Content-type</​keyname>​
 +<​keyvalue>​application/​soap+xml</​keyvalue>​
 +</​header>​
 +</​wsheader>​
 +<​inputtype>​XML</​inputtype>​
 +<​outputtype>​JSON</​outputtype>​
 +</​wsconfig>​
 +<​fields>​
 +<​field>​
 +<​fieldname>​year</​fieldname>​
 +<​Orgfields>​
 +<​Orgfield>​
 +<​OrgfieldName>​year</​OrgfieldName>​
 +</​Orgfield>​
 +<​delimiter>​--None--</​delimiter>​
 +</​Orgfields>​
 +</​field>​
 +</​fields>​
 +<​Response>​
 +<​field>​
 +<​fieldname>​message</​fieldname>​
 +<​Orgfields>​
 +<​Orgfield>​
 +<​OrgfieldName>​title</​OrgfieldName>​
 +</​Orgfield>​
 +<​delimiter>​--None--</​delimiter>​
 +</​Orgfields>​
 +</​field>​
 +</​Response>​
 +</​map>​
 +</​code>​