Registry Interface WSDL style
Matthew J. Graham
mjg at cacr.caltech.edu
Fri Nov 12 17:34:58 PST 2004
Hi,
I am trying to generate an instance of a SOAP message from the Registry
Interface WSDL and was wondering what style it's supposed to be? The
binding suggests doc/literal but if this is the case, the message
elements should be:
<message name="...">
<part name="..." element="..."/>
</message>
and there would be no way of determining what the operation name should
be. The way it is as the moment means I could send two SOAP messages
(valid according to the WSDL):
<SOAP:Body>
<fish> this is of type RequestQualifier </fish>
<paste> this is the metadataPrefix </paste>
</SOAP:Body>
and
<SOAP:Body>
<fish> this is of type RequestQualifier </fish>
<paste> this is the metadataPrefix </paste>
</SOAP:Body>
where the first is calling ListIdentifiers and the second ListRecords.
If it is doc/literal wrapped (so that the operation name appears as the
enclosing element in the SOAP body) then:
- input and output messages must contain only one part so some of the
requests will need to be modified, e.g. keyword search
- the part in the input message refers to an element named after the
operation
Cheers,
Matthew
More information about the registry
mailing list