at first I'm very new to OpenEMM. I installed it on one of our servers and it is running. We want to use OpenEMM to send out the newsletter for our community meinsportplatz.de.
So far OpenEMM is running including the webservice. Because our site is written in Rails we want to access the OpenEMM by the provided webservice. So I created a webservice user and gave them a password. Access is possible.
But I have one major problem I cannot solve: I only can retrieve data but not add new data, e.g. add a new subscriber. I think it's because of the Rails generated classes.
I always get this error when I want to add a new subscriber:
Code: Select all
undefined method `[]' for #<SOAP::Mapping::SchemaSequenceDefinition:0x1816964>
Code: Select all
class StringArraytype << ::Array
end
Maybe it is becaue I'm using the extension 'soap4r' and not the builtin ruby soap driver. But the built-in ruby soap driver doesn't understand the WSDL generated by OpenEMM so I have to use 'soap4r'.
Maybe some of you can help me out on my problem and give me some useful tricks.
Thanks,
Martin