[ 
https://issues.apache.org/jira/browse/AXIS2-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576698#action_12576698
 ] 

Davanum Srinivas commented on AXIS2-3368:
-----------------------------------------

please follow the instructions from amila.

> Unable to generate client stub for wsdl containing multiple ports
> -----------------------------------------------------------------
>
>                 Key: AXIS2-3368
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3368
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: WebLogic 8.1 sp5 , jdk 1.4
>            Reporter: ankur sarkar
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: build.xml, ManageProfile.wsdl
>
>
> Unable to generate client stub for wsdl containing multiple ports. The client 
> stub is generated only for the last porttype in the wsdl. We have used both 
> adb as well as xmlbeans as the databinding framework and also used "-ap" 
> option but could not generate client stub for all the ports.
> PFA the build.xml and the wsdl.
> I have used -sn ManageProfile -pn ClientProfileSyncPort
> -sn ManageProfile -pn ServiceProfileSyncPort in the build.xml i.e.
> <target name="import-wsdl" depends="clean,init">
>       <java classname="org.apache.axis2.wsdl.WSDL2Java">
>                       <arg value="-uri" />
>                       <arg file="${wsdl.dir}/${wsdl.filename}" />
>                       <arg value="-o" />
>                       <arg file="${src.generated.dir}" />
>                       <arg value="-d"/>
>                        <arg value="xmlbeans"/>
>                                     <arg value="-sn"/> 
>                       <arg value="ManageProfile"/> 
>                       <arg value="-pn" />
>                                     <arg value="ClientProfileSyncPort" />
>                       <arg value="-sn"/> 
>                       <arg value="ManageProfile"/>
>                       <arg value="-pn"/>
>                        <arg value="ServiceProfileSyncPort"/> 
>               <classpath refid="axis.classpath" />
>       </java>
>    </target>
> But this creates stub only for ServiceProfileSyncPort. Could you help please.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to