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

Jeremy Hughes closed WODEN-26.
------------------------------


Yes, this is done

> <types> is missing prefix declarations
> --------------------------------------
>
>                 Key: WODEN-26
>                 URL: http://issues.apache.org/jira/browse/WODEN-26
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Jeremy Hughes
>         Assigned To: Matthew J. Duftler
>
> Using this WSDL 1.1 document
> http://people.apache.org/~hughesj/wsdl11to20/GrainsOfSandCounter.wsdl
> which starts like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://grainsofsand.beach";
>       xmlns="http://schemas.xmlsoap.org/wsdl/";
>       xmlns:impl="http://grainsofsand.beach";
>       xmlns:intf="http://grainsofsand.beach";
>       xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>       xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
>       xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>       <wsdl:types>
>               <schema elementFormDefault="qualified"
>                       targetNamespace="http://grainsofsand.beach";
>                       xmlns="http://www.w3.org/2001/XMLSchema";>
>                       <element name="getGrainCount">
>                               <complexType>
>                                       <sequence>
>                                               <element name="arg_0_0" 
> nillable="true"
>                                                       type="xsd:string" />
>                                       </sequence>
>                               </complexType>
>                       </element>
>                       <element name="getGrainCountResponse">
>                               <complexType>
>                                       <sequence>
>                                               <element 
> name="getGrainCountReturn" type="xsd:double" />
>                                       </sequence>
>                               </complexType>
>                       </element>
>               </schema>
>       </wsdl:types>
> I get a types section like this:
> <description xmlns="http://www.w3.org/2006/01/wsdl";
>              targetNamespace="http://grainsofsand.beach";
>              xmlns:tns="http://grainsofsand.beach";
>              xmlns:impl="http://grainsofsand.beach";
>              xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap";
>              xmlns:intf="http://grainsofsand.beach";>
>   <types>
>     <schema elementFormDefault="qualified" 
> targetNamespace="http://grainsofsand.beach"; 
> xmlns="http://www.w3.org/2001/XMLSchema";>
>                       <element name="getGrainCount">
>                               <complexType>
>                                       <sequence>
>                                               <element name="arg_0_0" 
> nillable="true" type="xsd:string"/>
>                                       </sequence>
>                               </complexType>
>                       </element>
>                       <element name="getGrainCountResponse">
>                               <complexType>
>                                       <sequence>
>                                               <element 
> name="getGrainCountReturn" type="xsd:double"/>
>                                       </sequence>
>                               </complexType>
>                       </element>
>               </schema>
>   </types>
> which causes this Woden error:
> [Error] GrainsOfSandCounter.wsdl2:12:66: UndeclaredPrefix: Cannot resolve 
> 'xsd:string' as a QName: the prefix 'xsd' is not declared.
> [Error] GrainsOfSandCounter.wsdl2:12:66: cvc-attribute.3: The value 
> 'xsd:string' of attribute 'type' on element 'element' is not valid with 
> respect to its type, 'QName'.
> [Error] GrainsOfSandCounter.wsdl2:19:62: UndeclaredPrefix: Cannot resolve 
> 'xsd:double' as a QName: the prefix 'xsd' is not declared.
> [Error] GrainsOfSandCounter.wsdl2:19:62: cvc-attribute.3: The value 
> 'xsd:double' of attribute 'type' on element 'element' is not valid with 
> respect to its type, 'QName'.

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

Reply via email to