• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem Parameter Order Axis1.4

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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-
 
reply
    Bookmark Topic Watch Topic
  • New Topic