[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]