Iam trying to create a web service to 

https://test.landz.co.uk/wcf/4.0/managed.svc?wsdl

Method is BankModulusAndSortcodeDDEnabledCheck 

I have tried to create the xml manually see Below and this matches what
support say should work but it doesnt. 

If I try to use the wizard I cant get past the initial screen, Normally you
get to choose the methods. Any one got any idea how to get the wizard to
work

Thanks
Paul


  // ----------------------------------------------------
  // User name (OS): Paul
  // Date and time: 29/11/17, 11:17:41
  // ----------------------------------------------------
  // Method: LZ_Bank_Check
  // Description
  // 
  //
  // Parameters
  // ----------------------------------------------------

  //C_BOOLEAN($1;$ServiceLive)  // true or false if declined
C_TEXT($1;$2;$0;$3;$vtRedirectUrl)  // pp or GC for paypoint or gocardless 
C_BLOB($vbBank)
C_LONGINT($vlResult)
C_TEXT($Action_t;$method_t;$vs20Tag;$xml_text;$root_xmlref;$webRequest_t;$Credentials_t)
C_TEXT($aNSName1;$aNSName2;$aNSValue1;$aNSValue2;$Namespace;$Root)

$Action_t:="https://webservices.landz.co.uk/IManaged/BankModulusAndSortcodeDDEnabledCheck";
$method_t:="BankModulusAndSortcodeDDEnabledCheck"

BankSort_t:="402310"
BankAccount_t:="41381024"

$Namespace:="http://schemas.xmlsoap.org/soap/envelope/";
$aNSName1:="xmlns:web"
$aNSName2:="xmlns:web1"
$aNSValue1:="https://webservices.landz.co.uk";
$aNSValue2:="http://schemas.datacontract.org/2004/07/WebApi";
$Root:="soapenv:Envelope"

$root_xmlref:=DOM Create XML
Ref($Root;$Namespace;$aNSName1;$aNSValue1;$aNSName2;$aNSValue2)
$webRequest_t:=DOM Create XML element($root_xmlref;"soapenv:Header")
$webRequest_t:=DOM Create XML element($root_xmlref;"soapenv:Body")
$webRequest_t:=DOM Create XML
element($webRequest_t;"web:BankModulusAndSortcodeDDEnabledCheck")
$webRequest_t:=DOM Create XML element($webRequest_t;"web:request")
$Credentials_t:=DOM Create XML element($webRequest_t;"web1:Credentials")

$vs20Tag:=DOM Create XML element($Credentials_t;"web:Group")
DOM SET XML ELEMENT VALUE($vs20Tag;"2171")

$vs20Tag:=DOM Create XML element($Credentials_t;"web:SecurityCode")
DOM SET XML ELEMENT VALUE($vs20Tag;"password")

$vs20Tag:=DOM Create XML
element($webRequest_t;"web1:RemoveErrorDescription")
DOM SET XML ELEMENT VALUE($vs20Tag;"false")

$vs20Tag:=DOM Create XML element($webRequest_t;"web1:AccountNo")
DOM SET XML ELEMENT VALUE($vs20Tag;BankAccount_t)

$vs20Tag:=DOM Create XML element($webRequest_t;"web1:Sortcode")
DOM SET XML ELEMENT VALUE($vs20Tag;BankSort_t)

$xml_text:=""
DOM EXPORT TO VAR($root_xmlref;$xml_text)
SET TEXT TO PASTEBOARD($xml_text)

DOM EXPORT TO VAR($root_xmlref;$vbBank)

  //DOM EXPORT TO FILE($root_xmlref;"C:\\folder\MyDoc.xml")

DOM CLOSE XML($root_xmlref)

TRACE

WEB SERVICE SET PARAMETER("BankModulusAndSortcodeDDEnabledCheck";$xml_text)


WEB SERVICE
CALL("https://test.landz.co.uk/wcf/4.0/managed.svc";$Action_t;$method_t;"https://webservices.landz.co.uk";Web
Service manual out)

If (OK=1)

WEB SERVICE GET
RESULT($vtRedirectUrl;"BankModulusAndSortcodeDDEnabledCheckResult";*)  //
get result in temp local variable
$0:=$ServiceLive

End if 



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to