magoffin.matt.ma2.web.service
Class AddMediaMessageEndpoint
java.lang.Object
magoffin.matt.ma2.web.service.AddMediaMessageEndpoint
- All Implemented Interfaces:
- org.springframework.ws.server.endpoint.MessageEndpoint
public class AddMediaMessageEndpoint
- extends java.lang.Object
- implements org.springframework.ws.server.endpoint.MessageEndpoint
Implementation of AddMediaRequest web service that uses SOAP attachments for
the media data.
This works better than AddMediaEndpoint
in the default configuration
of Spring-WS, which does not seem to handle large text element content well
(as in, large base64 encoded element content).
- Version:
- $Revision: 89 $ $Date: 2007-12-04 17:59:26 +1300 (Tue, 04 Dec 2007) $
- Author:
- matt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddMediaMessageEndpoint
public AddMediaMessageEndpoint()
invoke
public void invoke(org.springframework.ws.context.MessageContext messageContext)
throws java.lang.Exception
- Specified by:
invoke
in interface org.springframework.ws.server.endpoint.MessageEndpoint
- Throws:
java.lang.Exception
getIoBiz
public IOBiz getIoBiz()
- Returns:
- the ioBiz
setIoBiz
public void setIoBiz(IOBiz ioBiz)
- Parameters:
ioBiz
- the ioBiz to set
getOutputFactory
public javax.xml.stream.XMLOutputFactory getOutputFactory()
- Returns:
- the outputFactory
setOutputFactory
public void setOutputFactory(javax.xml.stream.XMLOutputFactory outputFactory)
- Parameters:
outputFactory
- the outputFactory to set
getXmlHelper
public XmlHelper getXmlHelper()
- Returns:
- the xmlHelper
setXmlHelper
public void setXmlHelper(XmlHelper xmlHelper)
- Parameters:
xmlHelper
- the xmlHelper to set