OpenEMM 2015 image preview and upload content manager

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

mdoerschmidt
Posts: 25
Joined: Fri Jan 04, 2013 8:55 am

Re: OpenEMM 2015 image preview and upload content manager

Post by mdoerschmidt »

Hi!

it seems, that you're using the wrong data type. According to WSDL document, the data type is named "ArrayOf_xsd_anyType". The namespace should be "http://mock.dataaccess.utils.cms.agnitas.org".

One note: This is not a public API! It was used for internal use only!
abinpaulr
Posts: 16
Joined: Fri May 29, 2015 6:49 am

Re: OpenEMM 2015 image preview and upload content manager

Post by abinpaulr »

Thank You for your reply.

But can you please help me understand how to use this "ArrayOf_xsd_anyType" in code below "http://mock.dataaccess.utils.cms.agnitas.org" this gives me a not found error :(

$newmailins = [];
foreach ($mailingIds as $mailingId){
$newmailins[] = new SoapVar( $mailingId , XSD_ANYTYPE , SOAP_ENC_OBJECT , "http://www.w3.org/2001/XMLSchema" );
}
$result = $client->addMailingBindings( 382 , $newmailins );

Or any data sample will do. I just need a clue on what data should be passed n variable "$newmailins".

Thank You
abinpaulr
Posts: 16
Joined: Fri May 29, 2015 6:49 am

Re: OpenEMM 2015 image preview and upload content manager

Post by abinpaulr »

This is my request being send, if that would help.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://mock.dataaccess.utils.cms.agnitas.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ... e:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/ ... xt-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ ... rnameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ ... e:Password Type="http://docs.oasis-open.org/wss/2004/01/ ... wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/ ... su:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ ... gIds><item xsi:type="ns1:anyType">97</item><item xsi:type="ns1:anyType">116</item></mailingIds></ns1:addMailingBindings></SOAP-ENV:Body></SOAP-ENV:Envelope>

ERROR

org.xml.sax.SAXException: No deserializer for {http://mock.dataaccess.utils.cms.agnitas.org}anyType
Last edited by abinpaulr on Fri Jul 17, 2015 10:41 am, edited 2 times in total.
Post Reply