On 3/7/07, Jess Fisher <[EMAIL PROTECTED]> wrote:

From the attached wsdl file:wsrp_v1_interfaces.wsdl, the following are
defined:
<wsdl:portType name="WSRP_v1_Markup_PortType">
<wsdl:portType name="WSRP_v1_ServiceDescription_PortType">
<wsdl:portType name="WSRP_v1_Registration_PortType">
<wsdl:portType name="WSRP_v1_PortletManagement_PortType">

But, when running Axis2's WSDL2Java, the corresponding java classes (for
the wsdl:portType) are not created.
Using Axis 1.4's WSDL2Java, the corresposing java classes were generated.


using axis2 you can not generate the code for portTypes. The reason for this
is the skelton and  and stub interfaces depends on the binding. Why you need
to generate the code for a port type?

I run the WSDL2Java against wsrp_service.wsdl first which imports
wsrp_v1_bindings.wsdl which then imports wsrp_v1_interfaces.wsdl.

Is this a bug?


no I  believe.

If yes, does anybody know of the bug ID ? I cannot find it in JIRA.
Or is there a WSDL2Java option I need to set to generate java classes for
the portType, specifically?


if you do not have specified any parts or namespace ( in rpc) in soap:body
(in your binding)  and generate the code with parameters -ss -sd -ssi  and
with any binding (-d adb, -d jibx, -d xmlbeans, -d jaxbri) I think you can
get what you need. It simply generates the skelton, skelton interface and
the service.xml.

(I've used -ss, -g, -d adb, -ssi)

Thanks.


------------------------------
Need Mail bonding?
Go to the Yahoo! Mail 
Q&A<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091>for
 great
tips from Yahoo! 
Answers<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091>users.
 --0-1424838073-1173226094=:65510--


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Amila Suriarachchi,
WSO2 Inc.

Reply via email to