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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parameters appears null on server" Watch "Parameters appears null on server" New topic

Parameters appears null on server

Arpit Gupta

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

Joined: Mar 22, 2000
Posts: 13018
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?

Arpit Gupta

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Parameters appears null on server
It's not a secret anymore!