axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: MTOM Sample Error ?
Date Wed, 13 Aug 2008 15:14:09 GMT
Since you r getting a NPE, also check whether the file path you gave is
correct...

thanks,
Thilina

2008/8/13 Charitha Kankanamge <charitha@wso2.com>

> Hi,
>
> Which Axis2 version are you using?
>
> regards
> Charitha
>
> Şükrü Uzel wrote:
>
>  I have error when mtom run client in axis2 sample ( MTOM ).
>>
>>
>> Error :
>>
>>
>> Exception in thread "main" org.apache.axis2.AxisFault
>>
>>    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>
>>    at
>> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:90)
>>
>>    at
>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)
>>
>>    at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
>>
>>    at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
>>
>>    at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>>
>>    at
>> org.apache.ws.axis2.mtomsample.MTOMSampleMTOMSampleSOAP11Port_httpStub.attachment(Unknown
>> Source)
>>
>>    at sample.mtom.client.Client.transferFile(Unknown Source)
>>
>>    at sample.mtom.client.Client.main(Unknown Source)
>>
>> Caused by: java.lang.NullPointerException
>>
>>    at
>> org.apache.axiom.attachments.Attachments.getSOAPPartContentType(Attachments.java:438)
>>
>>    at
>> org.apache.axis2.builder.MIMEBuilder.processDocument(MIMEBuilder.java:40)
>>
>>    at
>> org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:164)
>>
>>    at
>> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
>>
>>    at
>> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)
>>
>>
>> what is problem ?
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> Internal Virus Database is out-of-date.
>> Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1543 - Release
>> Date: 7/9/2008 6:32 PM
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne - http://thilinag.blogspot.com
Mime
View raw message