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 "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/03/16 12:25:09 UTC

[jira] Created: (AXIS2-2332) MTOM sample client fails in Axis2 nightly build

MTOM sample client fails in Axis2 nightly build
-----------------------------------------------

                 Key: AXIS2-2332
                 URL: https://issues.apache.org/jira/browse/AXIS2-2332
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: samples
    Affects Versions: nightly
         Environment: winxp, jdk15, tomcat16
            Reporter: Charitha Kankanamge


I got compile errors when running mtom sample client (ant  run.client -Dfile "file to be send" -Ddest "destination file name" )

    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:33:
 cannot find symbol
    [javac] symbol  : class MTOMSampleStub
    [javac] location: package sample.mtom.service
    [javac] import sample.mtom.service.MTOMSampleStub;
    [javac]                            ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:34:
 package sample.mtom.service.MTOMSampleStub does not exist
    [javac] import sample.mtom.service.MTOMSampleStub.AttachmentRequest;
    [javac]                                           ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:35:
 package sample.mtom.service.MTOMSampleStub does not exist
    [javac] import sample.mtom.service.MTOMSampleStub.AttachmentResponse;
    [javac]                                           ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:36:
 package sample.mtom.service.MTOMSampleStub does not exist
    [javac] import sample.mtom.service.MTOMSampleStub.AttachmentType;
    [javac]                                           ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:37:
 package sample.mtom.service.MTOMSampleStub does not exist
    [javac] import sample.mtom.service.MTOMSampleStub.Base64Binary;
    [javac]                                           ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
 cannot find symbol
    [javac] symbol  : class MTOMSampleStub
    [javac] location: class sample.mtom.client.Client
    [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
    [javac]                 ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
 cannot find symbol
    [javac] symbol  : class MTOMSampleStub
    [javac] location: class sample.mtom.client.Client
    [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
    [javac]                                                  ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
: cannot find symbol
    [javac] symbol  : class AttachmentRequest
    [javac] location: class sample.mtom.client.Client
    [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
    [javac]                 ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
: cannot find symbol
    [javac] symbol  : class AttachmentRequest
    [javac] location: class sample.mtom.client.Client
    [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
    [javac]                                                           ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
: cannot find symbol
    [javac] symbol  : class AttachmentType
    [javac] location: class sample.mtom.client.Client
    [javac]             AttachmentType attachmentType = new AttachmentType();
    [javac]                 ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
: cannot find symbol
    [javac] symbol  : class AttachmentType
    [javac] location: class sample.mtom.client.Client
    [javac]             AttachmentType attachmentType = new AttachmentType();
    [javac]                                                     ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
: cannot find symbol
    [javac] symbol  : class Base64Binary
    [javac] location: class sample.mtom.client.Client
    [javac]             Base64Binary base64Binary = new Base64Binary();
    [javac]                 ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
: cannot find symbol
    [javac] symbol  : class Base64Binary
    [javac] location: class sample.mtom.client.Client
    [javac]             Base64Binary base64Binary = new Base64Binary();
    [javac]                                                 ^
    [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:117
: cannot find symbol
    [javac] symbol  : class AttachmentResponse
    [javac] location: class sample.mtom.client.Client
    [javac]             AttachmentResponse response = serviceStub.attachment(attachmentRequest);
    [javac]                 ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 14 errors

BUILD FAILED

-- 
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] Resolved: (AXIS2-2332) MTOM sample client fails in Axis2 nightly build

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

Keith Godwin Chapman resolved AXIS2-2332.
-----------------------------------------

    Resolution: Fixed

Applied patch. Thanks Charitha...

> MTOM sample client fails in Axis2 nightly build
> -----------------------------------------------
>
>                 Key: AXIS2-2332
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2332
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: nightly
>         Environment: winxp, jdk15, tomcat16
>            Reporter: Charitha Kankanamge
>         Attachments: patch.patch
>
>
> I got compile errors when running mtom sample client (ant  run.client -Dfile "file to be send" -Ddest "destination file name" )
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:33:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: package sample.mtom.service
>     [javac] import sample.mtom.service.MTOMSampleStub;
>     [javac]                            ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:34:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentRequest;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:35:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentResponse;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:36:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentType;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:37:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.Base64Binary;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: class sample.mtom.client.Client
>     [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: class sample.mtom.client.Client
>     [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
>     [javac]                                                  ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
> : cannot find symbol
>     [javac] symbol  : class AttachmentRequest
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
> : cannot find symbol
>     [javac] symbol  : class AttachmentRequest
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
>     [javac]                                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
> : cannot find symbol
>     [javac] symbol  : class AttachmentType
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentType attachmentType = new AttachmentType();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
> : cannot find symbol
>     [javac] symbol  : class AttachmentType
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentType attachmentType = new AttachmentType();
>     [javac]                                                     ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
> : cannot find symbol
>     [javac] symbol  : class Base64Binary
>     [javac] location: class sample.mtom.client.Client
>     [javac]             Base64Binary base64Binary = new Base64Binary();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
> : cannot find symbol
>     [javac] symbol  : class Base64Binary
>     [javac] location: class sample.mtom.client.Client
>     [javac]             Base64Binary base64Binary = new Base64Binary();
>     [javac]                                                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:117
> : cannot find symbol
>     [javac] symbol  : class AttachmentResponse
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentResponse response = serviceStub.attachment(attachmentRequest);
>     [javac]                 ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 14 errors
> BUILD FAILED

-- 
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-2332) MTOM sample client fails in Axis2 nightly build

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

Charitha Kankanamge updated AXIS2-2332:
---------------------------------------

    Attachment: patch.patch

Attached a patch

> MTOM sample client fails in Axis2 nightly build
> -----------------------------------------------
>
>                 Key: AXIS2-2332
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2332
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: nightly
>         Environment: winxp, jdk15, tomcat16
>            Reporter: Charitha Kankanamge
>         Attachments: patch.patch
>
>
> I got compile errors when running mtom sample client (ant  run.client -Dfile "file to be send" -Ddest "destination file name" )
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:33:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: package sample.mtom.service
>     [javac] import sample.mtom.service.MTOMSampleStub;
>     [javac]                            ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:34:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentRequest;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:35:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentResponse;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:36:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.AttachmentType;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:37:
>  package sample.mtom.service.MTOMSampleStub does not exist
>     [javac] import sample.mtom.service.MTOMSampleStub.Base64Binary;
>     [javac]                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: class sample.mtom.client.Client
>     [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:81:
>  cannot find symbol
>     [javac] symbol  : class MTOMSampleStub
>     [javac] location: class sample.mtom.client.Client
>     [javac]             MTOMSampleStub serviceStub = new MTOMSampleStub(
>     [javac]                                                  ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
> : cannot find symbol
>     [javac] symbol  : class AttachmentRequest
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:101
> : cannot find symbol
>     [javac] symbol  : class AttachmentRequest
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentRequest attachmentRequest = new AttachmentRequest();
>     [javac]                                                           ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
> : cannot find symbol
>     [javac] symbol  : class AttachmentType
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentType attachmentType = new AttachmentType();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:102
> : cannot find symbol
>     [javac] symbol  : class AttachmentType
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentType attachmentType = new AttachmentType();
>     [javac]                                                     ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
> : cannot find symbol
>     [javac] symbol  : class Base64Binary
>     [javac] location: class sample.mtom.client.Client
>     [javac]             Base64Binary base64Binary = new Base64Binary();
>     [javac]                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:103
> : cannot find symbol
>     [javac] symbol  : class Base64Binary
>     [javac] location: class sample.mtom.client.Client
>     [javac]             Base64Binary base64Binary = new Base64Binary();
>     [javac]                                                 ^
>     [javac] C:\Axis2\axis2-SNAPSHOT\samples\mtom\build\client\src\sample\mtom\client\Client.java:117
> : cannot find symbol
>     [javac] symbol  : class AttachmentResponse
>     [javac] location: class sample.mtom.client.Client
>     [javac]             AttachmentResponse response = serviceStub.attachment(attachmentRequest);
>     [javac]                 ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 14 errors
> BUILD FAILED

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