You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Pete Robbins (JIRA)" <tu...@ws.apache.org> on 2006/08/18 18:57:15 UTC

[jira] Reopened: (TUSCANY-625) [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import

     [ http://issues.apache.org/jira/browse/TUSCANY-625?page=all ]

Pete Robbins reopened TUSCANY-625:
----------------------------------

             
There is a problem with this fix as it stands. We need to make the behaviour controllable so we don't always go off to the net looking for schema.

> [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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org