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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/25 10:41:45 UTC
[jira] Resolved: (AXIS2-3834) Multiple port types not recongnized
by wsdl2java
[ https://issues.apache.org/jira/browse/AXIS2-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-3834.
-------------------------------------------------
Resolution: Won't Fix
By design Axis2 Service can not support multiple port types. Hence it can not be fixed in the code generation.
However you can create a service per each port type in your wsdl and generates the code. that with generate code for each port type stub.
> Multiple port types not recongnized by wsdl2java
> ------------------------------------------------
>
> Key: AXIS2-3834
> URL: https://issues.apache.org/jira/browse/AXIS2-3834
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4
> Environment: Windows XP , JDK1.5
> Reporter: ajay samant
>
> We have a WSDL that has multiple port types defined. Each port type having one port name.
> Now we are trying to use wsdl2java at command prompt to generate the stub with default databinding
> The code gets generated with no errors. We could compile into jar file. But all the port types were not available in stub code.
> How do we get all port types in stub? When we used the old version of Axis ( Axis 1.4 not Axis 2 1.4) through the WebSphere tool code generattor we could see all the port types. Looks like old Axis could generate whereas the new Axis2 fails to do so.
> Is this a bug? Is there a workaround ?
> Regards
> Ajay
--
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