axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Perner <philipp.per...@healthgate.at>
Subject Re: AW: Axis2: Problems with running MTOM Sample
Date Thu, 23 Nov 2006 08:12:12 GMT
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:csethil@gmail.com]
>> Gesendet: Dienstag, 21. November 2006 18:14
>> An: axis-user@ws.apache.org
>> 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 <peter.neu@gmx.net> 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:6CB603287ADB2373DE11641216232963@apache.org
>>> 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: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>       
>> --
>> http://webservices.apache.org/~thilina/
>> http://thilinag.blogspot.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>     
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message