You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Antonio De Berardis (JIRA)" <de...@tuscany.apache.org> on 2011/04/13 08:54:06 UTC

[jira] [Created] (TUSCANY-3859) tuscany generated wsdl: namespace prefix for the attribute "base" is missing

tuscany generated wsdl: namespace prefix for the attribute "base" is missing
----------------------------------------------------------------------------

                 Key: TUSCANY-3859
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3859
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-1.6.1
            Reporter: Antonio De Berardis


I have a problem when I let tuscany generate the wsdl for a service.
Namespace prefix for the attribute "base" is missing.

If I have an object that extends another object, the schema generated
should be:
...
<xs:complexType name="myObjChild">
        <xs:complexContent>
                <xs:extension base="tns:myObj">
...

but i got

...
<xs:complexType name="myObjChild">
        <xs:complexContent>
                <xs:extension base="myObj">
...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TUSCANY-3859) tuscany generated wsdl: namespace prefix for the attribute "base" is missing

Posted by "Simon Nash (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash reassigned TUSCANY-3859:
-----------------------------------

    Assignee: Simon Nash

> tuscany generated wsdl: namespace prefix for the attribute "base" is missing
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-3859
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3859
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.6.1
>            Reporter: Antonio De Berardis
>            Assignee: Simon Nash
>
> I have a problem when I let tuscany generate the wsdl for a service.
> Namespace prefix for the attribute "base" is missing.
> If I have an object that extends another object, the schema generated
> should be:
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="tns:myObj">
> ...
> but i got
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="myObj">
> ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (TUSCANY-3859) tuscany generated wsdl: namespace prefix for the attribute "base" is missing

Posted by "Simon Laws (Closed) (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws closed TUSCANY-3859.
-------------------------------


I believe this is fixed now as I applied the 1.x/TUSCANY-3298 fixes to 2.x and took the WSDL verify tests from 1.x and added them to the wsdlgen itest on 2.x.
                
> tuscany generated wsdl: namespace prefix for the attribute "base" is missing
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-3859
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3859
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.6.1
>            Reporter: Antonio De Berardis
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.x
>
>
> I have a problem when I let tuscany generate the wsdl for a service.
> Namespace prefix for the attribute "base" is missing.
> If I have an object that extends another object, the schema generated
> should be:
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="tns:myObj">
> ...
> but i got
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="myObj">
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TUSCANY-3859) tuscany generated wsdl: namespace prefix for the attribute "base" is missing

Posted by "Simon Nash (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019266#comment-13019266 ] 

Simon Nash commented on TUSCANY-3859:
-------------------------------------

This problem is related to the change for TUSCANY-3283, which fixes up "no namespace" type references in the schemas generated by JAXB.

The fix for TUSCANY-3283 updates <xs:import> and <xs:element> schema elements, but doesn't update <xs:extension> elements.  The fix is to add some code to update <xs:extension> elements as well.

> tuscany generated wsdl: namespace prefix for the attribute "base" is missing
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-3859
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3859
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.6.1
>            Reporter: Antonio De Berardis
>            Assignee: Simon Nash
>
> I have a problem when I let tuscany generate the wsdl for a service.
> Namespace prefix for the attribute "base" is missing.
> If I have an object that extends another object, the schema generated
> should be:
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="tns:myObj">
> ...
> but i got
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="myObj">
> ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TUSCANY-3859) tuscany generated wsdl: namespace prefix for the attribute "base" is missing

Posted by "Simon Nash (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash resolved TUSCANY-3859.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-1.x

Fixed in the 1.x trunk under revision r1091732.

> tuscany generated wsdl: namespace prefix for the attribute "base" is missing
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-3859
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3859
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.6.1
>            Reporter: Antonio De Berardis
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.x
>
>
> I have a problem when I let tuscany generate the wsdl for a service.
> Namespace prefix for the attribute "base" is missing.
> If I have an object that extends another object, the schema generated
> should be:
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="tns:myObj">
> ...
> but i got
> ...
> <xs:complexType name="myObjChild">
>         <xs:complexContent>
>                 <xs:extension base="myObj">
> ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira