You don't need addressing to run REST clients. remove the statement,
client.engageModule(new QName(Constants.MODULE_ADDRESSING)

and run your code.

-- Chinthaka

Richard Han wrote:
> Hi, I'm new to axis2.
> 
> I try to run the RESTClient example but got:
> 
> org.apache.axis2.AxisFault: Module not found
> 
> the exception was thrown at: client.engageModule(new
> QName(Constants.MODULE_ADDRESSING)
> 
> Can someone tell me what I'm missing?
> 
> Thanks
> 
> Richard
> 
>  
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to