Hmmm. I have not ever worked with a “Constraint Type” of XML schema before. This option appears to let you choose an element from an XSD that describes the input or output message.
The requirement to have your XSD hosted in some publically-accessible location could be avoided if you or the service consumer is capable of updating the schemaLocation of the input and output imported XSD’s to a local folder.
However, remember that WSDL’s generated by Developer can only contain a single operation (method). While this is functional, it is far, far from ideal assuming your attempting to build a Service (capital “S”) that contains multiple operations and describe that Service using a single WSDL.
I like the approach of having the WSDL import its message definitions from an external XSD. In that way, you can change the message structures without changing the WSDL (as long as the message names don’t change). Also, your XSD can contain elements describing multiple messages so that only a single XSD need be imported into your WSDL.
BTW, I think in my original post which you referenced, I suggested naming the request messages with the convention Request and the response messages with Response. I think to match more closely the “document / literal wrapped” style the convention for the request messages should just be .
Mark
#soa#webMethods#API-Management