axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4925) Axis2 java2wsdl does not generate wsdl file for 2D String array
Date Sat, 15 Jan 2011 17:38:47 GMT

    [ 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


Mime
View raw message