[ 
https://issues.apache.org/jira/browse/CXF-5193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199430#comment-15199430
 ] 

Grzegorz Grzybek commented on CXF-5193:
---------------------------------------

[~weberjn], [~dkulp], I checked with 3.1.5 and got:
{noformat}
$ idl2wsdl fixed.idl 
$ wsdlvalidator fixed.wsdl 
WSIBP Validator found 
<{http://cxf.apache.org/bindings/corba/idl/fixed}fixeds.FunctionTestCORBABinding>
 is NOT a SOAP binding
WSDLValidator Error : org.xml.sax.SAXParseException; schema_reference: Failed 
to read schema document 'xml.xsd', because 'file' access is not allowed due to 
restriction set by the accessExternalSchema property. 
{noformat}

[~weberjn], you can always use:
{code:java}
module fixeds 
{
    typedef  fixed<5,2> f;

    struct FixedStruct
    {
        f oddFixed;  // 123.67
    };     

    interface FunctionTest 
    {

    FixedStruct testFixeds(in FixedStruct aFixedStruct);
    };
};    
{code}

But I have a fix for anonymous fixed types: 
https://github.com/apache/cxf/pull/123


> Support fixed data type
> -----------------------
>
>                 Key: CXF-5193
>                 URL: https://issues.apache.org/jira/browse/CXF-5193
>             Project: CXF
>          Issue Type: Improvement
>          Components: CORBA Binding
>    Affects Versions: 2.7.6
>            Reporter: Jürgen Weber
>         Attachments: fixed.idl
>
>
> Looks like the data type fixed is not supported:
> linda:/idl/functiontest /projekte/apache-cxf-2.7.6/bin/idl2wsdl fixed.idl
> linda:/idl/functiontest /projekte/apache-cxf-2.7.6/bin/wsdlvalidator 
> fixed.wsdl
> WSIBP Validator found 
> <{http://cxf.apache.org/bindings/corba/idl/fixed}fixeds.FunctionTestCORBABinding>
>  is NOT a SOAP binding
> WSDLValidator Error :
> line 15 column 48 of file:/projekte/temp/idl/functiontest/fixed.wsdl: 
> Duplicate key value [fixeds.FixedStruct] declared for identity constraint of 
> element "schema".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to