it depends on the commandline environment you are using.
For example:

When you use cmd.exe (in windows) you have to type:
ant run.client -Dfile c:\out.txt -Ddest c:\in.txt

Or in linux command line environments like cygwin:
ant[.sh] run.client -Dfile c:/out.txt -Ddest c:/in.txt

Don't use quotes or hyphens!!!

cheers,
Philipp




Peter Neu schrieb:
Hi,
I used that as well. Didn't work out. Any ideas what I could try beside
that?

Cheers,
Pete
-----Ursprüngliche Nachricht-----
Von: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 21. November 2006 18:14
An: [email protected]
Betreff: Re: Axis2: Problems with running MTOM Sample

Hmm... Strange...

Please try using inverted commas to the file names as follows.
ant run.client -Dfile "C:\out.txt" -Ddest "C:\in.txt"

Thanx,
~Thilina

On 11/21/06, Peter Neu <[EMAIL PROTECTED]> wrote:
Hello,

I'm trying to get the MTOM example from the sample directory to work.
When I trying to run the client I get this exception:

Exception in thread "main" org.apache.axis2.AxisFault: org.apache.ax
iom.om.OMException: Referenced Attachment not found in the MIME Message.
Content
ID:1.urn:uuid:[EMAIL PROTECTED]
at org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java:308)
at sample.mtom.service.MTOMSampleStub.attachment(Unknown Source)

at sample.mtom.client.Client.transferFile(Unknown Source)
at sample.mtom.client.Client.main(Unknown Source)
Java Result: 1

I start the ant script with these parameters (tried parameters also in
hyphens):

ant run.client -Dfile C:/out.txt -Ddest C:\in.txt

Don't see what I did wrong. Any idea what to check?

Cheers,
Pete



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to