axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Commented: (AXIS2-3368) Unable to generate client stub for wsdl containing multiple ports
Date Fri, 07 Dec 2007 05:06:43 GMT


Amila Chinthaka Suriarachchi commented on AXIS2-3368:

here the problem is that your two ports refers to two different PortTypes. -ap option generates
the code for all ports with same portTypes.
if you consider the wsdl, portType is like an interface for a service. (this is why wsdl2.0
ask you to declare the interface in service it self). so if you have two different interfaces
that means you have two services.
Therefore the only option you have is to declare those two porst in two services.
<service name="ManageProfile1">
    <port binding="s1:ClientProfileSyncBinding" name="ClientProfileSyncPort">
      <s2:address location=""/>
<service name="ManageProfile2">
      <port binding="s1:ServiceProfileSyncBinding" name="ServiceProfileSyncPort">
      <s2:address location=""/>

you can do this only if you are the service author. other wise your option is to generate
the stub by giving the servicename -sn and portname -pn for both ports.
-sn ManageProfile -pn ClientProfileSyncPort
-sn ManageProfile -pn ServiceProfileSyncPort

> Unable to generate client stub for wsdl containing multiple ports
> -----------------------------------------------------------------
>                 Key: AXIS2-3368
>                 URL:
>             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
>         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.

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:
For additional commands, e-mail:

View raw message