You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
It should be possible to specify multiple values for the ws:metadata element.
This is actually supported by the code in the SpringService class which has the
appropriate setter method:
void setMetadata(Collection metadata)
However, the element definition in spring-jax-ws-core.xsd only allows for a
single value:
It should be possible to specify multiple values for the ws:metadata element.
This is actually supported by the code in the SpringService class which has the
appropriate setter method:
void setMetadata(Collection metadata)
However, the element definition in spring-jax-ws-core.xsd only allows for a
single value:
<xs:element name='metadata' minOccurs='0' maxOccurs='1'>
xs:complexType
<xs:sequence minOccurs='0' maxOccurs='1'><xs:any
namespace='##other'/></xs:sequence>
</xs:complexType>
</xs:element>
Changing the value of the maxOccurs attribute on the xs:sequence element to
"unbounded" solves the issue and the following declaration is accepted:
<ws:service bean="#myPort">
ws:metadata
/WEB-INF/wsdl/schema1.xsd
/WEB-INF/wsdl/schema2.xsd
/WEB-INF/wsdl/schema3.xsd
</ws:metadata>
ws:primaryWsdl/WEB-INF/wsdl/myservice.wsdl</ws:primaryWsdl>
</ws:service>
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: