If it helps, I can post fine using axis2 1.5. You do nothing special in your 
web service. The post contents for

public void myMethod(String myParam);

would be:

myParam=data here

I don't know how you are testing, but be sure to header "Content-Type" to 
"application/x-www-form-urlencoded" to use it this way or change the contents 
to suit.

hth
charles

On Dec 22, 2010, at 4:17 PM, Yashwanth Rajaram -X (yrajaram - Zensar at Cisco) 
wrote:

> Andreas/Devlopers,
> 
> Good job on smart mouthing me there :) 
> 
> Don't get me wrong for being persistent but I am able to reproduce this issue 
> in Axis2 1.4 too. I am unable to test on Axis2 1.5.x because of the 
> unavailability of Eclipse JST Web Services project 
> (https://issues.apache.org/jira/browse/AXIS2-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761835#action_12761835)
>  
> However I am sure that this could be a bug unless I am doing something wrong.
> 
> Here is the issue I am facing - pls help:
>> I want to process the parameters submitted via POST and GET (for REST
>> handling) inside my Axis2 module. However I am unable to get hold of the
>> parameters that were submitted using POST - but I am able to get the same 
>> parameters
>> if I submitted the request using GET.
>> 
>> So am wondering if there is a known issue in Axis2 (1.3 and 1.4) similar to 
>> the one
>> here http://wso2.org/forum/thread/9645 ... 
> 
> I don't need a working solution, if you can point me to the right packages in 
> source code I will read through and post back my findings.
> 
> thanks,
> --
> Yashwanth
> 
> 
> -----Original Message-----
> From: Andreas Veithen [mailto:[email protected]] 
> Sent: Monday, December 20, 2010 2:20 PM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: FW: Question on REST and Axis 1.3
> 
> There are lots of questions posted to the mailing list that remain
> unanswered (and Axis2 is no different than other Open Source projects
> in that respect). In most cases, this is not because nobody knows the
> answer [1], but because the questions are not asked in a smart way.
> You may find it useful to read the following article to get some ideas
> how to increase the probability to get an answer:
> 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> In addition, you should keep in mind that developers will generally
> only find the motivation to work on your question if they think that
> this may help improving the product. After all, we are all volunteers
> who love to code, and not paid support personnel. Investigating a
> question related to an Axis2 version that was released more than 3
> years ago and that is no longer maintained is less likely to yield
> something useful that could improve the product. Therefore it is also
> less likely that a developer will be interested by the question.
> 
> [1] With the notable exception of questions about NTLM...
> 
> On Mon, Dec 20, 2010 at 22:33, Yashwanth Rajaram -X (yrajaram - Zensar
> at Cisco) <[email protected]> wrote:
>> Hi Dev,
>> 
>> 
>> 
>> Can you pls help me with this question - no one in the user mailing list
>> seem to know the answer...
>> 
>> 
>> 
>> Would greatly appreciate any pointers on how to access the POST parameters
>> within an Axis2 module.
>> 
>> 
>> 
>> I want to process the parameters submitted via POST and GET (for REST
>> handling) inside my module. However I am unable to get hold of the
>> parameters submitted using POST - but I am able to get the same parameters
>> if I submitted the request using GET.
>> 
>> 
>> 
>> So am wondering if there is a known issue in Axis2 (1.3) similar to the one
>> here http://wso2.org/forum/thread/9645 ...
>> 
>> 
>> 
>> thanks,
>> 
>> --
>> 
>> Yashwanth
>> 
>> 
>> 
>> From: Yashwanth Rajaram -X (yrajaram - Zensar at Cisco)
>> Sent: Wednesday, December 08, 2010 3:58 PM
>> To: axis-user
>> Subject: Question on REST and Axis 1.3
>> 
>> 
>> 
>> Hi All:
>> 
>> 
>> 
>> I modified the version service to take a parameter and am able to access
>> this from a browser using the URL:
>> 
>> http://localhost:8080/MyClient/services/RestService/getVersion?name=yash
>> which  displays the response fine.
>> 
>> 
>> 
>> Could someone tell me what I have to do to access the same service using
>> this URL instead?
>> http://localhost:8080/MyClient/services/RestService/getVersion/yash
>> 
>> 
>> 
>> I found Keith's article (http://wso2.org/print/3726) which is a bit dated so
>> I don't know if I could follow it to have the URL changed as desired.
>> 
>> 
>> 
>> thanks,
>> 
>> --
>> 
>> Yashwanth
>> 
>> 
> 
> ---------------------------------------------------------------------
> 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