You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dan Diephouse (JIRA)" <ji...@apache.org> on 2007/05/23 18:11:16 UTC

[jira] Created: (CXF-677) Wrong types are generated for SwA

Wrong types are generated for SwA
---------------------------------

                 Key: CXF-677
                 URL: https://issues.apache.org/jira/browse/CXF-677
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-RC
            Reporter: Dan Diephouse
             Fix For: 2.0
         Attachments: custom-server.xml, hello.wsdl

For the attached WSDL, CXF generates the following:


    @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
    @WebMethod
    public void echoDataWithEnableMIMEContent(
        @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "mimeBody")
        java.lang.String body,
        @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
        javax.xml.ws.Holder<java.awt.Image> data
    );

    @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
    @WebMethod
    public void echoData(
        @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "body")
        java.lang.String body,
        @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
        javax.xml.ws.Holder<java.awt.Image> data
    );

The JAX-WS generates this:


    /**
     * 
     * @param data
     * @param body
     */
    @WebMethod
    public void echoData(
        @WebParam(name = "body", targetNamespace = "http://example.org/mime/data", partName = "body")
        String body,
        @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
        Holder<byte[]> data);

    /**
     * 
     * @param data
     * @param body
     */
    @WebMethod
    public void echoDataWithEnableMIMEContent(
        @WebParam(name = "mimeBody", targetNamespace = "http://example.org/mime/data", partName = "body")
        String body,
        @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
        Holder<Image> data);


The echoData() should have a byte[] array not an Image.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-677) Wrong types are generated for SwA

Posted by "Dan Diephouse (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Diephouse updated CXF-677:
------------------------------

    Attachment: hello.wsdl

NOTE: This attachment is from the JAX-WS RI, and can NOT be included inside the CXF sources.

> Wrong types are generated for SwA
> ---------------------------------
>
>                 Key: CXF-677
>                 URL: https://issues.apache.org/jira/browse/CXF-677
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Dan Diephouse
>             Fix For: 2.0
>
>         Attachments: custom-server.xml, hello.wsdl
>
>
> For the attached WSDL, CXF generates the following:
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "mimeBody")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoData(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "body")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
> The JAX-WS generates this:
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoData(
>         @WebParam(name = "body", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<byte[]> data);
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(name = "mimeBody", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<Image> data);
> The echoData() should have a byte[] array not an Image.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-677) Wrong types are generated for SwA

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-677.
-----------------------

    Resolution: Fixed

> Wrong types are generated for SwA
> ---------------------------------
>
>                 Key: CXF-677
>                 URL: https://issues.apache.org/jira/browse/CXF-677
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Dan Diephouse
>            Assignee: jimma
>             Fix For: 2.0
>
>         Attachments: custom-server.xml, hello.wsdl
>
>
> For the attached WSDL, CXF generates the following:
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "mimeBody")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoData(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "body")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
> The JAX-WS generates this:
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoData(
>         @WebParam(name = "body", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<byte[]> data);
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(name = "mimeBody", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<Image> data);
> The echoData() should have a byte[] array not an Image.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-677) Wrong types are generated for SwA

Posted by "Dan Diephouse (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Diephouse updated CXF-677:
------------------------------

    Attachment: custom-server.xml

NOTE: This attachment is from the JAX-WS RI, and can NOT be included inside the CXF sources.

> Wrong types are generated for SwA
> ---------------------------------
>
>                 Key: CXF-677
>                 URL: https://issues.apache.org/jira/browse/CXF-677
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Dan Diephouse
>             Fix For: 2.0
>
>         Attachments: custom-server.xml, hello.wsdl
>
>
> For the attached WSDL, CXF generates the following:
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "mimeBody")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoData(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "body")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
> The JAX-WS generates this:
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoData(
>         @WebParam(name = "body", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<byte[]> data);
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(name = "mimeBody", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<Image> data);
> The echoData() should have a byte[] array not an Image.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-677) Wrong types are generated for SwA

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu reassigned CXF-677:
------------------------------

    Assignee: jimma

> Wrong types are generated for SwA
> ---------------------------------
>
>                 Key: CXF-677
>                 URL: https://issues.apache.org/jira/browse/CXF-677
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Dan Diephouse
>         Assigned To: jimma
>             Fix For: 2.0
>
>         Attachments: custom-server.xml, hello.wsdl
>
>
> For the attached WSDL, CXF generates the following:
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "mimeBody")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
>     @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
>     @WebMethod
>     public void echoData(
>         @WebParam(targetNamespace = "http://example.org/mime/data", partName = "body", name = "body")
>         java.lang.String body,
>         @WebParam(mode = Mode.INOUT, partName = "data", name = "data")
>         javax.xml.ws.Holder<java.awt.Image> data
>     );
> The JAX-WS generates this:
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoData(
>         @WebParam(name = "body", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<byte[]> data);
>     /**
>      * 
>      * @param data
>      * @param body
>      */
>     @WebMethod
>     public void echoDataWithEnableMIMEContent(
>         @WebParam(name = "mimeBody", targetNamespace = "http://example.org/mime/data", partName = "body")
>         String body,
>         @WebParam(name = "data", targetNamespace = "", mode = Mode.INOUT, partName = "data")
>         Holder<Image> data);
> The echoData() should have a byte[] array not an Image.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.