Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM
Moderator: moderator
doubledutch
Posts: 17 Joined: Thu Aug 21, 2008 10:43 pm
Post
by doubledutch » Thu Sep 18, 2008 8:56 pm
Hi,
I also would like to confirm as per another post on this forum that this call doesn't work in 5.5.1. It throws a soap exeption:
Code: Select all
$params = array ( 'username' => (string) $this->loginCredential['login'],
'password' => (string) $this->loginCredential['password'],
'mailingID' => (int) $mailing_id,
'blockName' => (string) $block_name,
'blockContent' => (string) $block_content,
'targetID' => array($target_id),
'priority' => (int) $priority
);
$soap_result = $this->soapClient->__soapCall('insertContent', $params);
lelobo
Posts: 2 Joined: Wed Jun 17, 2009 9:19 pm
Post
by lelobo » Wed Jun 17, 2009 10:25 pm
Same I have problem about InsertContent and I'm using PHP.
I'm getting an error when using insertContent (text or html) via webservices (all other webservice requests work fine).
request:
require_once 'SOAP/Client.php';
$username = "openemmws";
$password = "openemmws";
$wsdl_url = "openemm-old.wsdl";
$WSDL = new SOAP_WSDL($wsdl_url);
$client = $WSDL->getProxy();
$mailingid=80; // exist Id mailing
$blockname="emailHtml";
$blockcontent="<html><p>Hello World!</p></html>";
$targetid=0;
$priority=1;
$result = $client->insertContent($username, $password,
$mailingid, $blockname, $blockcontent, $targetid, $priority);
reply:
java.lang.IllegalStateException: Already value [org.springframework.orm.hibernate3.SessionHolder@3993b6] for key [org.hibernate.impl.SessionFactoryImpl@11756a7] bound to thread [resin-tcp-connection-*:8080-5]
Any have idea to solve it?