Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is everything relevant in my config as I can't really tell what you could change, they are rather different and it has been a year and a half since i did this.</p> <pre><code> &lt;bean id="schemaCollection" class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection"&gt; &lt;property name="xsds" value="/my.xsd" /&gt; &lt;property name="inline" value="true" /&gt; &lt;/bean&gt; &lt;bean id="marshallingEndpoint" class="....EndpointImpl"&gt; &lt;/bean&gt; &lt;oxm:jaxb2-marshaller id="marshaller" contextPath=".....schema" /&gt; &lt;bean id="annotationMapping" class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping"&gt; &lt;property name="interceptors"&gt; &lt;list&gt; &lt;bean class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor" /&gt; &lt;bean class="org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor"&gt; &lt;property name="xsdSchemaCollection" ref="schemaCollection" /&gt; &lt;property name="validateRequest" value="true" /&gt; &lt;property name="validateResponse" value="true" /&gt; &lt;/bean&gt; &lt;/list&gt; &lt;/property&gt; &lt;property name="order" value="1" /&gt; &lt;/bean&gt; &lt;sws:marshalling-endpoints /&gt; </code></pre> <p>Hope it helps in some way. The Endpoint class had @Endpoint, the methods @PayloadRoot. They didn't return long, but I didn't have to wrap my class in the JAXBElement either.</p> <p>[edit] namespaces</p> <pre><code> xmlns:oxm="http://www.springframework.org/schema/oxm" xmlns:sws="http://www.springframework.org/schema/web-services" xsi:schemaLocation=" http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm-1.5.xsd"&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload