You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Updated) (JIRA)" <ax...@ws.apache.org> on 2012/01/11 12:37:39 UTC

[jira] [Updated] (AXIS-2636) Problem Parameter order

     [ https://issues.apache.org/jira/browse/AXIS-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS-2636:
----------------------------------

    Affects Version/s: 1.4
        Fix Version/s:     (was: 1.4)
    
> Problem Parameter order 
> ------------------------
>
>                 Key: AXIS-2636
>                 URL: https://issues.apache.org/jira/browse/AXIS-2636
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.4
>         Environment: Windows XP ,Tomcat 4.1,  Axis 1.4, Java
>            Reporter: Diego Sanchez
>            Priority: Critical
>
> Hello, 
> I have a webservice which has several methods. Some methods accepts several string parameters as input.  I deployed the service to the tomcat 4.1 container. Everything seems to be fine. Now I would like to test the service by calling it from my browser with the following url
> http://localhost:8080/axis/services/CalleGIT.jws?method=cEntSing&provinc=provincia&municip=municipio&entidco=entidadco&entidsi=entidadsi
> It first writes out  the transferred parameters but the assignment is not corrent. The output is
> Calling cEntSing method with provincia entidadco and municipio provincia and entidadco entidadsi and entidadsi municipio
> However, the same url but with distinct parameter name  (p4,p3,p2,p1) is OK
> http://localhost:8080/axis/services/CalleGIT.jws?method=cEntSing&p4=provincia&p3=municipio&p2=entidadco&p1=entidadsi
> Calling cEntSing method with provincia provincia and municipio municipio and entidadco entidadco and entidadsi entidadsi
> CODE
> public class CallEGIT {
> ......
> public String cEntSing(String provinc, String municip, String entidco, String entidsi) {
> System.out.println("Calling cEntSing method with provincia " + provinc+ " and municipio " + municip + "and entidadco " + entidco + " and entidadsi " + entidsi);  
> }
> }
> WSSDD (partly)
>      <<operation name="cEntSing" qname="operNS:services.cEntSing" xmlns:operNS="http://services" returnQName="cEntSingReturn" returnType="rtns:string" xmlns:rtns="http://services" >
>        <parameter name="provinc"   type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>        <parameter name="municip"   type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>        <parameter name="entidco"   type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>        <parameter name="entidsi"   type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>      </operation>
>  
> Any ideas what could be wrong here?
> Diego Sanchez

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org