axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java
Date Tue, 30 Jan 2007 08:48:33 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468540
] 

Deepal Jayasinghe commented on AXIS2-2060:
------------------------------------------

We are not get any comiple error when we run the build.

Thanks
Deepal

> Compilation error in WSDL20ToAxisServiceBuilder.java
> ----------------------------------------------------
>
>                 Key: AXIS2-2060
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2060
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>         Environment: Win XP
>            Reporter: Samuel Isokpunwu
>         Attachments: patch.txt
>
>
> Getting compilation error in org.apache.axis2.description.WSDL20ToAxisServiceBuilder.java
trying to build the latest Axis2 src extract.
> There are type mismatch btw Description and DescriptionElements in three diferent areas
of the code in statements like:
>        Description description = wsdlReader.readWSDL(wsdlUri);
> Not sure why there are statements like:
>         WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
>         Description description = wsdlReader.readWSDL(wsdlUri);
>         DescriptionElement descriptionElement = description.toElement();
> Instead of:
>         WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
>         DescriptionElement descriptionElement = wsdlReader.readWSDL(wsdlUri);
> But if the right approach is to get DescriptionElement through Description.toElement(),
then to fix the compilation error will simply be by
> type casting wsdlReader.readWSDL(wsdlUri) to Description.
>         Description description = (Description)wsdlReader.readWSDL(wsdlUri);

-- 
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


Mime
View raw message