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 "Samuel Isokpunwu (JIRA)" <ji...@apache.org> on 2007/01/29 22:40:49 UTC

[jira] Created: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java

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


[jira] Commented: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468877 ] 

Davanum Srinivas commented on AXIS2-2060:
-----------------------------------------

Just checked the latest sources of woden and made sure nightly build for woden is working. Bottom line, this patch is not needed at all.

thanks,
dims

> 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


[jira] Closed: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas closed AXIS2-2060.
-----------------------------------

    Resolution: Invalid

> 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


[jira] Updated: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java

Posted by "Samuel Isokpunwu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Isokpunwu updated AXIS2-2060:
------------------------------------

    Attachment: patch.txt

Suggested patch for the compilation error.

> 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