Comments (4)
I'm not able to reproduce the exact error you're seeing, but looking at the stacktrace and the identifier of the aggregate "DEMO_001" it looks like you're trying to start a transaction on the MOBI.Europe tab page.
That one has a hardcoded charge point identifier for demo purposes.
If you want to start a transaction on a real charge point you have to:
- Connect the charge point to one of the endpoints (in the simple config check: http://localhost:8089/services for SOAP or connect a JSON charge point to ws://localhost:8089/websockets/chargepoint_id_here) and boot it. If you boot with a chargePointVendor (MOTOWN) and chargePointModel (MODEL1) that exists in the configuration add-on it should be configured right away.
- Register (accept) the charge point in your Motown instance via the user interface
- Start a transaction via the user interface
from motown.
Hi Mark,
I tried to send a boot notification request
to: http://localhost:8089/services/centralSystemServiceOcpp12
with Body
<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn://Ocpp/Cs/2010/08/"> <x:Header> <ns:chargeBoxIdentity>DEMO_001</ns:chargeBoxIdentity> </x:Header> <x:Body> <ns:bootNotificationRequest> <ns:chargePointVendor>MOTOWN</ns:chargePointVendor> <ns:chargePointModel>MODEL1</ns:chargePointModel> <ns:chargePointSerialNumber>001</ns:chargePointSerialNumber> <ns:chargeBoxSerialNumber>0001</ns:chargeBoxSerialNumber> <ns:firmwareVersion>0.1</ns:firmwareVersion> <ns:iccid>00001</ns:iccid> <ns:imsi>01</ns:imsi> <ns:meterType>1</ns:meterType> <ns:meterSerialNumber>00000001</ns:meterSerialNumber> </ns:bootNotificationRequest> </x:Body> </x:Envelope>
It sent back a content:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode xmlns:ns1="http://www.w3.org/2005/08/addressing">ns1:MessageAddressingHeaderRequired</faultcode> <faultstring>A required header representing a Message Addressing Property is not present</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>
I don't know what I'm missing here. Is there a document introducing these SOAP API calls? I read most documents there. I couldn't find a document about headers. BTW, I have already added X-Auth-Token and Cookie in the headers.
Thanks
from motown.
Are you using SoapUI? If so, please enable WS addressing: https://www.soapui.org/soap-and-wsdl/supported-standards/using-ws-addressing.html
Make sure you check "wsa:Action", "wsa:To" and "Generate MessageID".
from motown.
Still has error. But it can be tested by using OCPP Chargebox.
Issued resolved. Thanks.
from motown.
Related Issues (20)
- Deploying simple example to Glassfish 4.1.1 HOT 1
- When I start a transaction, I got this error. Is there something missing? HOT 2
- Reservation id is not returned/stored in operator API
- Operator PAI documentation incorrect
- No node known to accept io.motown.domain.api.chargingstation.CreateChargingStationCommand HOT 4
- Operator API - Request data transfer always gives an not null error
- Hibarnate 4.3 and later with JPA 2.1 specs HOT 2
- Bad performance when using operator API to send commands HOT 1
- OCPI credentials post is empty (on handshake)
- Development of OCPP 1.6 HOT 3
- Support for local token validation
- IO exceptions on broken websockets HOT 1
- CIR is no longer supported
- Result message call to wampMessageHandler uses the wrong arguments
- If JSON message contains spaces the call to wampMessageHandler procuri also contains a space
- Get configuration response should only update requested config key (if one is requested)
- Current Atmosphere version does not work on Tomcat 9
- 'commandAuthorization' is null when charging station is deserialized
- Exception while receiving OCPI token JSON with unknown field
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motown.