SOAP - insertContent - IllegalStateException: Already value
Posted: Wed Aug 06, 2008 1:24 pm
Hi there,
I'm getting an error when using insertContent (text or html) via webservices (all other webservice requests work fine).
I'm using PHP to make the request however I've also tried using a simple SOAP client on OS X without any luck (see examples below) - can anybody help?
I'm running OpenEMM version 5.5.0, Java 1.5.0_15 on CentOS 5
Many thanks
Ashe
SOAP REQUEST
SOAP REPLY
I'm getting an error when using insertContent (text or html) via webservices (all other webservice requests work fine).
I'm using PHP to make the request however I've also tried using a simple SOAP client on OS X without any luck (see examples below) - can anybody help?
I'm running OpenEMM version 5.5.0, Java 1.5.0_15 on CentOS 5
Many thanks
Ashe
SOAP REQUEST
Code: Select all
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
-<SOAP-ENV:Body>
-<m:insertContent xmlns:m="urn:agnitas-webservice">
-<in0 xsi:type="xsd:string">openemm_export</in0>
-<in1 xsi:type="xsd:string">pac1f1c</in1>
-<in2 xsi:type="xsd:int">25</in2>
-<in3 xsi:type="xsd:string">emailText</in3>
-<in4 xsi:type="xsd:string">hello world</in4>
-<in5 xsi:type="xsd:int">0</in5>
-<in6 xsi:type="xsd:int">1</in6>
</m:insertContent>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Code: Select all
<soapenv:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>
-<soapenv:Body>
-<soapenv:Fault>
-<faultcode>soapenv:Server.userException</faultcode>
-<faultstring>java.lang.IllegalStateException: Already value [org.springframework.orm.hibernate3.SessionHolder@e2e276] for key [org.hibernate.impl.SessionFactoryImpl@76458f] bound to thread [resin-tcp-connection-*:8080-1]</faultstring>
-<detail>
-<ns1:hostname>127.0.0.1</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>