aspose file tools
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
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: 12871
    
    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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Parameters appears null on server