[ http://issues.apache.org/jira/browse/TUSCANY-625?page=all ]
Pete Robbins resolved TUSCANY-625. ---------------------------------- Fix Version/s: Cpp-current Resolution: Fixed Assignee: Pete Robbins include/import logic updated to tr to load the "namespace" when schemaLocation is not present > [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is > omitted from an import > -------------------------------------------------------------------------------------------------- > > Key: TUSCANY-625 > URL: http://issues.apache.org/jira/browse/TUSCANY-625 > Project: Tuscany > Issue Type: Improvement > Components: C++ SDO > Affects Versions: Cpp-M1 > Reporter: Caroline Maynard > Assigned To: Pete Robbins > Priority: Minor > Fix For: Cpp-current > > > A PHP user is trying to work with a service defined by > http://api.urbandictionary.com/soap > However XSDHelperImpl::defineFile() fails with an SDOTypeNotFoundException: > 'Type not found :http://schemas.xmlsoap.org/soap/encoding/ Array' > I think this is because the required type is defined via an import: > <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> > which omits the schemaLocation. > Arguably the wsdl in question is a bit defective, and the problem can be > bypassed by hand-editing the wsdl to add the schemaLocation attribute. But > Tuscany could be a bit more helpful, and try to use the namespace URI when > schemaLocation is omitted. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]