File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Problem Parameter Order Axis1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem Parameter Order Axis1.4" Watch "Problem Parameter Order Axis1.4" New topic

Problem Parameter Order Axis1.4

Jacques deMolay

Joined: Mar 13, 2007
Posts: 1
Hello, I built a Java Web Service(Tomcat 6.0, Axis1.4) which has 7 methods. Several methods accepts strings parameters. Now I would like to test the service by calling it from my browser with the following url


CalleGIT.cEntSing.Parametro provincia����������� >> entidadco��� �would be provincia
CalleGIT.cEntSing.Parametro municipio���������� >> provincia����� would be municipio
CalleGIT.cEntSing.Parametro entidadColectiva >> entidadsi���� would be entidadco
CalleGIT.cEntSing.Parametro�entidadSingular� >> municipio��� wolud be entidadsi

Since the assignment should depent on the name of the passed parameter I cannot understand why this happens. I then called the service with completely different parameter names


Output is ok


public class CalleGIT {

public String cEntSing(String provinc,String municip,String entidco,String entidsi) {
System.out.println("CalleGIT.cEntSing.Parametro provincia >>" + provinc);
System.out.println("CalleGIT.cEntSing.Parametro municipio >>" + municip);
System.out.println("CalleGIT.cEntSing.Parametro entidadColectiva>> " + entidco);
System.out.println("CalleGIT.cEntSing.Parametro entidadSingular >> " + entidsi);
return "retorno cEntSing";

Any ideas what could be wrong here?

King Regards

-Jacques de Molay-
I agree. Here's the link:
subject: Problem Parameter Order Axis1.4
It's not a secret anymore!