THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd">
<jaxws:endpoint
id="helloWorld"
implementor="demo.spring.HelloWorldImpl"
address="http://localhost/HelloWorld">
<jaxws:properties>
<entry key="mtom-enabled" value="true"/>
</jaxws:properties>
</jaxws:endpoint>
</beans>
{code{
h1. Using DataHandlers
Once |
Using DataHandlers
Once you've
...
got
...
the
...
above
...
done,
...
its
...
time
...
to
...
start
...
writing
...
your
...
logic.
...
DataHandlers
...
are
...
easy
...
to
...
use
...
and
...
create.
...
To
...
consume
...
a
...
DataHandler:
Code Block | ||||
---|---|---|---|---|
| ||||
{code:java}
Picture picture = ...;
DataHandler handler = picture.getImageData();
InputStream is = handler.getInputStream();
|
...