You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Caroline Maynard (JIRA)" <tu...@ws.apache.org> on 2006/08/16 15:28:25 UTC
[jira] Created: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
[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
Priority: Minor
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
[jira] Resolved: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
Posted by "Caroline Maynard (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caroline Maynard resolved TUSCANY-625.
--------------------------------------
Resolution: Fixed
At some point a second (boolean) parameter was added to defineFile to control this behaviour. Works for me.
> [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import
> --------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-625
> URL: https://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-M3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
Posted by "Caroline Maynard (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caroline Maynard closed TUSCANY-625.
------------------------------------
> [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import
> --------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-625
> URL: https://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-M3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Reopened: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ 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
[jira] Commented: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
Posted by "Caroline Maynard (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491468 ]
Caroline Maynard commented on TUSCANY-625:
------------------------------------------
We're still hoping for solution to this one.
> [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import
> --------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-625
> URL: https://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-M3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-625) [SDO for C++]
XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from
an import
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org