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 2007/12/10 10:03:43 UTC

[jira] Assigned: (AXIS2-3368) Unable to generate client stub for wsdl containing multiple ports

     [ https://issues.apache.org/jira/browse/AXIS2-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-3368:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

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