You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Martin Gainty <mg...@hotmail.com> on 2008/06/03 18:56:54 UTC

RE: Axis2 w/ HttpClient

Thanks for the solution jeff
curiously enough axis.xmlEncoding was a configurable parameter for Axis1.x but not Axis2.x
is the elimination of axis.xmlEncoding parameter for Axis2 by design
?
Many Thanks for the encoding solution
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Date: Tue, 3 Jun 2008 09:49:40 -0400
> From: jeffrey.s.garrett@gmail.com
> To: axis-user@ws.apache.org
> Subject: Re: Axis2 w/ HttpClient
> 
> Problem is solved.  It can be done using an HTTP header.
> 
> If anyone comes across this needing the solution, put the following
> line of code just before sending the request using the HttpClient,
> substitute the variables for your info.
> 
> PostMethod post = new PostMethod(URL);
> post.setRequestEntity(new
> StringRequestEntity(STRING_VERSION_OF_REQUEST, 'text/xml', 'utf-8'));
> post.addRequestHeader('SOAPAction', '\'' + OPERATION + '\'');
> CLIENT.executeMethod(post);
> 
> Thanks.
> Jeff
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 

_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008