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 "Dinesh Gabhane (JIRA)" <ji...@apache.org> on 2011/01/15 06:08:45 UTC

[jira] Created: (AXIS2-4925) Axis2 java2wsdl does not generate wsdl file for 2D String array

Axis2 java2wsdl does not generate wsdl file for 2D String array
---------------------------------------------------------------

                 Key: AXIS2-4925
                 URL: https://issues.apache.org/jira/browse/AXIS2-4925
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.5.4
         Environment: windows xp sp3
            Reporter: Dinesh Gabhane


 have method

String[][] test(){

String [][]response;

return response;
}

But while generating code from axis2 java2wsdl, it treating it as one dimensional array.

Can you please provide work around and way to handle 2D String array.

Thanks
Dinesh


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


[jira] Commented: (AXIS2-4925) Axis2 java2wsdl does not generate wsdl file for 2D String array

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982051#action_12982051 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4925:
-----------------------------------------------------

please try with a nightly build. you should see the following element for test method response.

<xs:element name="testResponse">
                <xs:complexType>

                    <xs:sequence>
                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ns:ArrayOfString"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:complexType name="ArrayOfString">
                <xs:sequence>
                    <xs:element maxOccurs="unbounded" minOccurs="0" name="array" nillable="true" type="xs:string"/>
                </xs:sequence>

            </xs:complexType>


> Axis2 java2wsdl does not generate wsdl file for 2D String array
> ---------------------------------------------------------------
>
>                 Key: AXIS2-4925
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4925
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.4
>         Environment: windows xp sp3
>            Reporter: Dinesh Gabhane
>
>  have method
> String[][] test(){
> String [][]response;
> return response;
> }
> But while generating code from axis2 java2wsdl, it treating it as one dimensional array.
> Can you please provide work around and way to handle 2D String array.
> Thanks
> Dinesh

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


[jira] Commented: (AXIS2-4925) Axis2 java2wsdl does not generate wsdl file for 2D String array

Posted by "Afkham Azeez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982140#action_12982140 ] 

Afkham Azeez commented on AXIS2-4925:
-------------------------------------

This is working in the current trunk AFAIK.

As a workaround, you could create a class:

public class StringHolder {
  
     private String[] strings;
     public void setStrings(String[] strings){

     }
     public String[] getStrings(){
    }
}

public WebService{
    public StringHolder[] getStringHolders(){
    }
}


> Axis2 java2wsdl does not generate wsdl file for 2D String array
> ---------------------------------------------------------------
>
>                 Key: AXIS2-4925
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4925
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.4
>         Environment: windows xp sp3
>            Reporter: Dinesh Gabhane
>             Fix For: nightly
>
>
>  have method
> String[][] test(){
> String [][]response;
> return response;
> }
> But while generating code from axis2 java2wsdl, it treating it as one dimensional array.
> Can you please provide work around and way to handle 2D String array.
> Thanks
> Dinesh

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


[jira] Resolved: (AXIS2-4925) Axis2 java2wsdl does not generate wsdl file for 2D String array

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

Afkham Azeez resolved AXIS2-4925.
---------------------------------

       Resolution: Fixed
    Fix Version/s: nightly

> Axis2 java2wsdl does not generate wsdl file for 2D String array
> ---------------------------------------------------------------
>
>                 Key: AXIS2-4925
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4925
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.4
>         Environment: windows xp sp3
>            Reporter: Dinesh Gabhane
>             Fix For: nightly
>
>
>  have method
> String[][] test(){
> String [][]response;
> return response;
> }
> But while generating code from axis2 java2wsdl, it treating it as one dimensional array.
> Can you please provide work around and way to handle 2D String array.
> Thanks
> Dinesh

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