Webservice Addsubscriber Problem

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Alkaz
Posts: 2
Joined: Wed Jun 15, 2011 2:09 pm

Webservice Addsubscriber Problem

Post by Alkaz »

Hi all,

I try to add a subscriber using the werbservice (calles from SAP). My first test with addMailinglist worked fine so the basics seem to be ok. Using ./EmmSoapClient.sh as follows
./EmmSoapClient.sh addSubscriber user password '0' 'email' '0' 'email;gender;mailtype;firstname;lastname' 'xqy.com;2;1;first;last'
resulted in:
CUSTOMER_ID: 9
which is fine by me :)

The call from the SAP System with the same data always return 0. The XML file looks like the one which is generated with the "addMailinglist" that worked.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>
<addSubscriber xmlns="urn:agnitas-webservice">
<username>user</username>
<password>pass</password>
<doubleCheck>0</doubleCheck>
<keyColumn>EMAIL</keyColumn>
<overwrite>0</overwrite>
<paramNames>email;gender;mailtype;firstname;lastname</paramNames>
<paramValues>x@y.com;2;1;first;last</paramValues>
</addSubscriber>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

No errors are posted in any Logfile :( Am I missing something ?
Thanks,
Al