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 "Stephan Steiner (JIRA)" <ji...@apache.org> on 2006/09/15 13:42:22 UTC
[jira] Created: (AXIS2-1169) incomplete code generation by
wsdl2java
incomplete code generation by wsdl2java
---------------------------------------
Key: AXIS2-1169
URL: http://issues.apache.org/jira/browse/AXIS2-1169
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: wsdl
Affects Versions: 1.0
Reporter: Stephan Steiner
Generating the client stub using the commandline
wsdl2java -uri searchDirectory.wsdl -o <path> -p <package>
The resulting classes are incomplete. The service returns an element named response of type_searchDirectoryOutput, which in turn is of type __SearchDirectoryResponse, and __SearchDirectoryResponse includes an element called employees which is of type ArrayOf__employee and which in turn consists of an array of employee objects.
Likewise for the input, __SearchDirectoryRequest ought to have 3 string parameters that are not in the generated code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1169) incomplete code generation by
wsdl2java
Posted by "Stephan Steiner (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1169?page=comments#action_12435315 ]
Stephan Steiner commented on AXIS2-1169:
----------------------------------------
Wouldn't it make sense if the release version threw that exception as well?
Unless somebody checks a WSDL file against the known limitations (and why should one? the whole point of autogenerated WSDLs is so that you can just plug it into a code generator and start coding), he'll end up spending a lot of time trying to work with generated code that never will work.
> incomplete code generation by wsdl2java
> ---------------------------------------
>
> Key: AXIS2-1169
> URL: http://issues.apache.org/jira/browse/AXIS2-1169
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.0
> Reporter: Stephan Steiner
> Attachments: Ipt_telefonbuchServiceStub.java, searchDirectory.wsdl
>
>
> Generating the client stub using the commandline
> wsdl2java -uri searchDirectory.wsdl -o <path> -p <package>
> The resulting classes are incomplete. The service returns an element named response of type_searchDirectoryOutput, which in turn is of type __SearchDirectoryResponse, and __SearchDirectoryResponse includes an element called employees which is of type ArrayOf__employee and which in turn consists of an array of employee objects.
> Likewise for the input, __SearchDirectoryRequest ought to have 3 string parameters that are not in the generated code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1169) incomplete code generation by
wsdl2java
Posted by "Stephan Steiner (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1169?page=comments#action_12434950 ]
Stephan Steiner commented on AXIS2-1169:
----------------------------------------
I just generated the stub using axis1.4 - works like a charm (I feared I had been given some MS only WSDL but that can be ruled out since axis1.4 can properly handle the document)
> incomplete code generation by wsdl2java
> ---------------------------------------
>
> Key: AXIS2-1169
> URL: http://issues.apache.org/jira/browse/AXIS2-1169
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.0
> Reporter: Stephan Steiner
> Attachments: Ipt_telefonbuchServiceStub.java, searchDirectory.wsdl
>
>
> Generating the client stub using the commandline
> wsdl2java -uri searchDirectory.wsdl -o <path> -p <package>
> The resulting classes are incomplete. The service returns an element named response of type_searchDirectoryOutput, which in turn is of type __SearchDirectoryResponse, and __SearchDirectoryResponse includes an element called employees which is of type ArrayOf__employee and which in turn consists of an array of employee objects.
> Likewise for the input, __SearchDirectoryRequest ought to have 3 string parameters that are not in the generated code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1169) incomplete code generation by
wsdl2java
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1169?page=comments#action_12435316 ]
Davanum Srinivas commented on AXIS2-1169:
-----------------------------------------
next release will be end of this month. this fix will be in that release.
> incomplete code generation by wsdl2java
> ---------------------------------------
>
> Key: AXIS2-1169
> URL: http://issues.apache.org/jira/browse/AXIS2-1169
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.0
> Reporter: Stephan Steiner
> Attachments: Ipt_telefonbuchServiceStub.java, searchDirectory.wsdl
>
>
> Generating the client stub using the commandline
> wsdl2java -uri searchDirectory.wsdl -o <path> -p <package>
> The resulting classes are incomplete. The service returns an element named response of type_searchDirectoryOutput, which in turn is of type __SearchDirectoryResponse, and __SearchDirectoryResponse includes an element called employees which is of type ArrayOf__employee and which in turn consists of an array of employee objects.
> Likewise for the input, __SearchDirectoryRequest ought to have 3 string parameters that are not in the generated code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1169) incomplete code generation by
wsdl2java
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1169?page=all ]
Davanum Srinivas resolved AXIS2-1169.
-------------------------------------
Resolution: Won't Fix
we don't support rpc/encoded wsdl's. Latest SVN throws the following exception:
Caused by: org.apache.axis2.schema.SchemaCompilationException: {http://schemas.xmlsoap.org/soap/encoding/}Array is not supported.
at org.apache.axis2.schema.SchemaCompiler.findClassName(SchemaCompiler.java:791)
at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1046)
at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:960)
-- dims
> incomplete code generation by wsdl2java
> ---------------------------------------
>
> Key: AXIS2-1169
> URL: http://issues.apache.org/jira/browse/AXIS2-1169
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.0
> Reporter: Stephan Steiner
> Attachments: Ipt_telefonbuchServiceStub.java, searchDirectory.wsdl
>
>
> Generating the client stub using the commandline
> wsdl2java -uri searchDirectory.wsdl -o <path> -p <package>
> The resulting classes are incomplete. The service returns an element named response of type_searchDirectoryOutput, which in turn is of type __SearchDirectoryResponse, and __SearchDirectoryResponse includes an element called employees which is of type ArrayOf__employee and which in turn consists of an array of employee objects.
> Likewise for the input, __SearchDirectoryRequest ought to have 3 string parameters that are not in the generated code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org