Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Delphi SOAP OCCP comunication


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Marcin Gonet

Posts: 4
Registered: 7/1/02
Delphi SOAP OCCP comunication  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 17, 2017 1:00 PM
I generated a project in Delphi (File-> New-> Other -> Web Services -> SOAP Server Application).
I imported WSDL with the -Os option. A unit with interface was created. I have methods and implementation.
The service is visible at http://192.168.16.112/Soap/CentralSystemService
The device with which I need to communicate sends the following request

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soap-enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:n1="urn://Ocpp/Cs/2012/06/"><soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><n1:cBI>M1079859-2</n1:cBI><wsa:Action>/BootNotification</wsa:Action><wsa:To>http://192.168.16.112/Soap/CentralSystemService</wsa:To><wsa:MessageID>uuid:693bd403-4220-4710-9e57-ebe39592065a</wsa:MessageID><wsa:From><wsa:Address>http://192.168.16.112/</wsa:Address></wsa:From></soap:Header><soap:Body><n1:bootNotificationRequest><n1:cPV>Max AG</n1:cPV><n1:cPM>OLM4</n1:cPM><n1:cBSN>a47c:14ff:f000:1966</n1:cBSN><n1:firmwareVersion>ccu_R3.2.3-0-ga6477</n1:firmwareVersion></n1:bootNotificationRequest></soap:Body></soap:Envelope>

My application returns an error "app raised exception class ESOAPDcomConvertError with message" No method named 'bootNotificationRequest' is supported by the interface "

Thanks for your help & Regards
Marcin
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02