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
I have a WSDL that imports a schema. The WSDL contains the prefix for the namespace, and the schema contains the type information for the parameters of a method, but Suds will not prefix the parameter's XML element until I add that prefix and namespace to the schema itself. I didn't write the WSDL and schema so it's entirely possible they just wrote it wrong. However, I've seen quite a few different WSDL + schema examples that don't do this, so I'm unsure what the standard practice is.
In short, is it standard practice to require both the WSDL and any imported schemas to define the prefix for a namespace?
I have a WSDL that imports a schema. The WSDL contains the prefix for the namespace, and the schema contains the type information for the parameters of a method, but Suds will not prefix the parameter's XML element until I add that prefix and namespace to the schema itself. I didn't write the WSDL and schema so it's entirely possible they just wrote it wrong. However, I've seen quite a few different WSDL + schema examples that don't do this, so I'm unsure what the standard practice is.
In short, is it standard practice to require both the WSDL and any imported schemas to define the prefix for a namespace?
WSDL definitions - tmdd is the prefix in question
Schema definition in xsd
Produces request with the ns, not the prefix.
centerActiveVerificationRequestMsg
is the parameter in questionIf I add the tmdd prefix to the schema definition, like so (or any prefix with that url, apparently)
It then does produce the request with the prefix for the parameter
centerActiveVerificationRequestMsg
instead of the nsRelevant part of WSDL.
tmdd
is the prefix for the attributes in questionRelevant part of Schema
WSDL: https://scos-third-party-repository.s3.us-east-2.amazonaws.com/wsdl/tmdd_local.wsdl
Schema: https://scos-third-party-repository.s3.us-east-2.amazonaws.com/wsdl/TMDD.xsd
The text was updated successfully, but these errors were encountered: