Announcement Announcement Module
Collapse
No announcement yet.
wsdl generation: does naming elements in .xsd matter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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.

    Comment

    Working...
    X