-
Oct 7th, 2012, 01:36 PM
#1
wsdl generation: does naming elements in .xsd matter?
I'm tryign toget spring to generate the wsdl out of my .xsd. spring only seems to generate th wsdl message types for the elements that and with a "Requet" string. For example:
<xs:element name="MyRequest" >
<xs:complexType>
...
</xs:complexType>
</xs:element>
<xs:element name="MySomething >
<xs:complexType>
...
</xs:complexType>
</xs:element>
spring will generate:
<wsdl:message name="MyRequest">
but it won't generate anything for "MySomething".
Is that how it's supposed to work? Is there a way to get spring to generate the message types for elements named differently?
-
Oct 8th, 2012, 07:28 AM
#2
Looks like I need to add requestSuffix="MyRequestSuffix" to wsdl generation. It would be nice to be able to specify individial elements rather than having them all share a common suffix though.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules