OpenEMM Support Forum Index OpenEMM Support
Use this forum to get and provide free help regarding OpenEMM
 
 TOP   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Webservices - insertContent returns java exception ...

 
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases
View previous topic :: View next topic  
Author Message
Thomas



Joined: 14 Jul 2008
Posts: 2

PostPosted: Thu Jul 31, 2008 9:50 pm    Post subject: Webservices - insertContent returns java exception ... Reply with quote

I am trying to insertContent into a mailing. I was successfully able to create a new mailing and add subscribers - using webservices. However, when I attempt to insertContent into the mailing I get the following java exception:
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IllegalStateException: Already value [org.springframework.orm.hibernate3.SessionHolder@19811ce] for key [org.hibernate.impl.SessionFactoryImpl@1e80f3a] bound to thread [resin-tcp-connection-*:8080-9]
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:liil-tfxrew01.tfmx.com

java.lang.IllegalStateException: Already value [org.springframework.orm.hibernate3.SessionHolder@19811ce] for key [org.hibernate.impl.SessionFactoryImpl@1e80f3a] bound to thread [resin-tcp-connection-*:8080-9]
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.agnitas.webservice.EmmWebServiceBindingStub.insertContent(Unknown Source)
at SoapClientTest.main(SoapClientTest.java:6Cool

I am sending the following string:

java EmmSoapClient insertContent myuserid mypwd 6 emailHtml 'This is my first email msg' 0 1

By looking at the data in the database I have verified the values I am passing are correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group