You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jorge Fernández (JIRA)" <ji...@apache.org> on 2007/02/22 13:14:06 UTC

[jira] Created: (AXIS2-2239) java2WSDL does not generate nillable = true

java2WSDL does not generate nillable = true
-------------------------------------------

                 Key: AXIS2-2239
                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1.1
         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
            Reporter: Jorge Fernández


When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2239) java2WSDL does not generate nillable = true

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

Davanum Srinivas resolved AXIS2-2239.
-------------------------------------

    Resolution: Fixed

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Eugeniy Nizhinskiy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490846 ] 

Eugeniy Nizhinskiy commented on AXIS2-2239:
-------------------------------------------

Question to Manoj:
Why following parameters: int _sesion_id,int _stage_id that were used in API,  marked in WSDL  with nilable flag?
This flag makes possible to send null from client part (for example .Net will generate web reference with nilable int), but Java skeleton will work with it as with int value, so it will be runtime exception.

Thanks,

with respect Eugeniy.

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491474 ] 

Manoj Khangaonkar commented on AXIS2-2239:
------------------------------------------

Eugene,

The patch will make only non-primitive fields nillable.

Not sure how the attached WSDL was created. perhaps it was edited.

Mj

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2239) java2WSDL does not generate nillable = true

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

Manoj Khangaonkar updated AXIS2-2239:
-------------------------------------

    Attachment: axis2-2239patch.txt

Attached patch to fix this issue

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Eugeniy Nizhinskiy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491539 ] 

Eugeniy Nizhinskiy commented on AXIS2-2239:
-------------------------------------------

The metter is that this problem was not created manually. I have the same problem when use java2wsdl tool.
Just create any web service that has method with long param and you will see that after java2wsdl execution, wsdl file will have nilable long params. 

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491748 ] 

Manoj Khangaonkar commented on AXIS2-2239:
------------------------------------------

I understand the problem now.

An incorrect nillable=true is generated when a primitive is a method parameter. 

This is a separate defect. Please open another JIRA issue - I will provide a patch.

Mj

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491688 ] 

Jorge Fernández commented on AXIS2-2239:
----------------------------------------

Yes, the wsdl was the one generated by the eclipse plugin. I did no changes to it.

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2239:
-----------------------------------

    Description: 
When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.


API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

  was:When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute


> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481439 ] 

Davanum Srinivas commented on AXIS2-2239:
-----------------------------------------

Manoj, Any update on this one?

-- dims

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2239:
-----------------------------------

    Attachment: Configuration.java

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476843 ] 

Manoj Khangaonkar commented on AXIS2-2239:
------------------------------------------

Hi,

Working on this. Will provide a patch shortly.

Anything that is not a primitive should be nillable.

Manoj

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2239:
-----------------------------------

    Attachment: API.java

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2239:
-----------------------------------

    Attachment: example.wsdl

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2239) java2WSDL does not generate nillable = true

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502091 ] 

Davanum Srinivas commented on AXIS2-2239:
-----------------------------------------

I can see the fix already in the code. please let us know if it works.

thanks,
dims

> java2WSDL does not generate nillable = true
> -------------------------------------------
>
>                 Key: AXIS2-2239
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2239
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Eclipse 3.2.1, Axis2_Codegen_Wizard_1.2.1, java 1.5.0 update 9
>            Reporter: Jorge Fernández
>         Attachments: API.java, axis2-2239patch.txt, Configuration.java, example.wsdl
>
>
> When I generate wsdl from Java classes, sometimes, the codegen plugin doesn't  generate correctly the nillable=true attribute.
> API.java is the service interface. Configuration is the type returned by the operation in the API and example.wsdl is the wsdl generated by the plugin.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org