You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Matthew Peters (JIRA)" <tu...@ws.apache.org> on 2007/02/14 14:54:05 UTC

[jira] Commented: (TUSCANY-1073) Not currently possible to generate WSDL - specifically schema - using SDO

    [ https://issues.apache.org/jira/browse/TUSCANY-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473099 ] 

Matthew Peters commented on TUSCANY-1073:
-----------------------------------------

I just tried to put together a test case for this issue, with a progrm that loaded the WSDL, SOAP and schema xsds. I find that things have gone backwards, in that SDO will not now even load the schema xsd any longer. 

If I try to load the xsd schema at http://www.w3.org/2001/XMLSchema.xsd I get an exception from SDO with the text "Type has empty name".  It is true that there are types with empty names in this xsd but they are enclosed in elements, and this is allowable. (It is the schema for schema, after all)

If I google for this text I find it is in Tuscany's DataFactoryImpl.cpp, and if I have read the change history correctly it arrived in a fix to JIRA 763.

So, we need the schema for schema to load before we can make progress. Do you want me to raise this as a new JIRA?

> Not currently possible to generate WSDL - specifically schema - using SDO
> -------------------------------------------------------------------------
>
>                 Key: TUSCANY-1073
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1073
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-M3
>            Reporter: Matthew Peters
>             Fix For: Cpp-M3
>
>
> When I tried to use SDO to generate some wsdl containing a <types> element with some schema, I found that I could
> not generate the contents of the schema, specifically those things that are in the schema namespace. I can't remember
> quite what happened - either the necessary elements were not in the model or not written out, but Ed Slattery explained to me
> at the time that anything in the schema namespace is ignored.
> Please could you fix this so that I can generate wsdl with embedded schema? I currently have a bodge where I have to
> generate all the schema part of my wsdl by hand - lots of string handling - and then stick it into the wsdl at
> the appropriate point and it is all a bit horrid. Fixing this would help a lot.

-- 
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