axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "#CHEN XINJUN#" <>
Subject RE: Passing Parameters
Date Wed, 14 Sep 2005 06:04:04 GMT
You cannot trust the WSDL. You can try another way to call your service. You specify the parameters
according to alphabetic order of the parameters. E.g, you try to call the service as follows:


If you want to avoid this problem, update your Axis to the latest version. 

-----Original Message-----
From: Jean-Marc Herzet [] 
Sent: Tuesday, September 13, 2005 7:05 PM
Subject: RE: Passing Parameters

I have the same problem !
It seems that the parameters are passed in reverse my case


-----Message d'origine-----
De : Flocken, Holger (C&I EMEA ISG) [] Envoyé : mardi 13
septembre 2005 10:36 À : Objet : Passing Parameters

Hi everybody,

I'm currently trying to implement a web service with Axis and I'm struggling with passing
the parameters to Axis from a URL. The URL calling the Web Service looks as follows:


The WSDL for this call can be found below and the function in Java is defined as public int
requestNewUir(String ut, String as, String ec, String an, StringHolder stat).

What now happens is that the parameters seem to be passed in random order to the variables
in my java code, e.g. that ut contains "as1"
instead of "ut1". Any hints what is going wrong here? Thanks in advance for your help!

Best regards,
  Holger Flocken

<?xml version="1.0" encoding="UTF-8"?>
xmlns:tns1="http://DHL" xmlns:wsdl=""
<!--WSDL created by Apache Axis version: 1.2.1 Built on Jun 14, 2005 (09:15:57 EDT)-->
  <schema elementFormDefault="qualified" targetNamespace="http://DHL"
   <element name="requestNewUir">
      <element name="ut" type="xsd:string"/>
      <element name="as" type="xsd:string"/>
      <element name="ec" type="xsd:string"/>
      <element name="an" type="xsd:string"/>
      <element name="stat" type="xsd:string"/>
   <element name="requestNewUirResponse">
      <element name="requestNewUirReturn" type="xsd:int"/>
   <element name="updateStatus">
      <element name="uir" type="xsd:int"/>
      <element name="status" type="xsd:string"/>
   <element name="updateStatusResponse">
      <element name="updateStatusReturn" type="xsd:int"/>

View raw message