wood burning stoves 2.0*
The moose likes Web Services and the fly likes Parameters appears null on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parameters appears null on server" Watch "Parameters appears null on server" New topic
Author

Parameters appears null on server

Arpit Gupta
Greenhorn

Joined: May 17, 2009
Posts: 6
I am using EJB Provider for axis2. I am trying to access my web service through browser by passing parameter as

http://localhost:8080/..../..../methodName?param1="xyz"&param2="abc" but all my parameters appear null on server.

i don't know why this is happening though my web service is running fine for a SOAP call.
if anybody can help...
Thanks in advance...


SCJP 5.0, Preparing for SCWCD
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
If your server is an Axis2 SOAP server, why do you expect it to respond to a plain GET?

In theory, a WSDL 2 style server can be set up for a RESTful interface - is that what you are trying to do?

Bill
Arpit Gupta
Greenhorn

Joined: May 17, 2009
Posts: 6
yes, My server can handle soap and rest both.
in fact i have one service which is accessed on soap and rest fine. but one that is based on EJB is creating problems.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Parameters appears null on server