[
https://issues.apache.org/jira/browse/AXIS2-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi resolved AXIS2-2906.
-------------------------------------------------
Resolution: Won't Fix
Axis2 stubs can only be used to invoke the service. if you want to get the
documentation part of the wsdl you can create an Axis2Service object using
wsdl11ToAxisService builder.
> Null returns when getting the service documentation programmatically
> --------------------------------------------------------------------
>
> Key: AXIS2-2906
> URL: https://issues.apache.org/jira/browse/AXIS2-2906
> Project: Axis2
> Issue Type: Bug
> Affects Versions: nightly
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assignee: Amila Chinthaka Suriarachchi
>
> I was trying to get the service documentation programmatically using the
> generated stubs.
> stub._getServiceClient().getAxisService().getDocumentation()
> But the above code always returns NULL. The deployed service contained
> service description and it was shown in the WSDL <documentation> element.
> Please correct me if this is not the way of retrieving service documentation.
> Steps to reproduce:
> ================
> 1. Deploy the attached service
> 2. Generated stubs using ADB (soap11 port)
> 3. Write a client with
> stub._getServiceClient().getAxisService().getDocumentation()
--
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]