| Author |
Problem Parameter Order Axis1.4
|
Jacques deMolay
Greenhorn
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 http://localhost:8080/axis/DefaultNamespace/CalleGIT.jws?method=cEntSing&provinc=provincia&municip=municipio&entidco=entidco&entidsi=entidsi 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 http://localhost:8080/axis/DefaultNamespace/CalleGIT.jws?method=cEntSing&p4=provincia&p3=municipio&p2=entidco&p1=entidsi Output is ok CODE 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-
|
 |
 |
|
|
subject: Problem Parameter Order Axis1.4
|
|
|