java - Error in Axis generate webservice client -


i've generated webservice client using axis 1. webservice worked fine @ first, have problems specific method.

there method retrieve information 1 item, , method retrieve information several items. first method requires string id of item, second method requires string[] wiht id items.

i've googled problem , found site describes problem having: https://issues.apache.org/jira/browse/axis-2669

unfortunatly can not tell webservice or disclose wsdl, i'm hoping there axis expert can me find workaround or fix problem, preferably without changes webservice server (since third party).

kind regards,

johannisk

---------------------- editted wsdl ---------------

<?xml version="1.0" encoding="utf-8"?>-<wsdl:definitions targetnamespace="<url>" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:tns="<url>" xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> -<wsdl:types> -<xsd:schema targetnamespace="<url>"> -<xsd:complextype name="arrayarray"> -<xsd:complexcontent> -<xsd:restriction base="soap-enc:array"><xsd:attribute wsdl:arraytype="soap-enc:array[]" ref="soap-enc:arraytype"/></xsd:restriction></xsd:complexcontent></xsd:complextype> -<xsd:complextype name="intarray"> -<xsd:complexcontent> -<xsd:restriction base="soap-enc:array"><xsd:attribute wsdl:arraytype="xsd:int[]" ref="soap-enc:arraytype"/></xsd:restriction></xsd:complexcontent></xsd:complextype> -<xsd:complextype name="stringarray"> -<xsd:complexcontent> -<xsd:restriction base="soap-enc:array"><xsd:attribute wsdl:arraytype="xsd:string[]" ref="soap-enc:arraytype"/></xsd:restriction></xsd:complexcontent></xsd:complextype></xsd:schema></wsdl:types><wsdl:message name="getsyncidrequest"/> -<wsdl:message name="getsyncidresponse"><wsdl:part name="getsyncidreturn" type="xsd:string"/></wsdl:message> -<wsdl:message name="senditemsdatarequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="sattr1" type="xsd:string"/><wsdl:part name="sattr2" type="xsd:string"/><wsdl:part name="sattr3" type="xsd:string"/><wsdl:part name="sattr4" type="xsd:string"/><wsdl:part name="sattr5" type="xsd:string"/><wsdl:part name="sattr6" type="xsd:string"/><wsdl:part name="sattr7" type="xsd:string"/><wsdl:part name="sattr8" type="xsd:string"/><wsdl:part name="sattr9" type="xsd:string"/><wsdl:part name="sattr10" type="xsd:string"/><wsdl:part name="sattr11" type="xsd:string"/><wsdl:part name="aitemsparts" type="tns:arrayarray"/><wsdl:part name="aitemscomments" type="tns:arrayarray"/></wsdl:message> -<wsdl:message name="senditemsdataresponse"><wsdl:part name="senditemsdatareturn" type="tns:arrayarray"/></wsdl:message> -<wsdl:message name="getitemsidsbychangedstatusrequest"><wsdl:part name="sid" type="xsd:string"/></wsdl:message> -<wsdl:message name="getitemsidsbychangedstatusresponse"><wsdl:part name="getitemsidsbychangedstatusreturn" type="tns:arrayarray"/></wsdl:message> -<wsdl:message name="getitemsstatusbyidsrequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="aitemsids" type="tns:intarray"/></wsdl:message> -<wsdl:message name="getitemsstatusbyidsresponse"><wsdl:part name="getitemsstatusbyidsreturn" type="tns:arrayarray"/></wsdl:message> -<wsdl:message name="getitemsstatusbysendersrefsrequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="asendersrefs" type="tns:stringarray"/></wsdl:message> -<wsdl:message name="getitemsstatusbysendersrefsresponse"><wsdl:part name="getitemsstatusbysendersrefsreturn" type="tns:arrayarray"/></wsdl:message> -<wsdl:message name="getitemsstatusbysendersrefrequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="asendersref" type="xsd:string"/></wsdl:message> -<wsdl:message name="getitemsstatusbysendersrefresponse"><wsdl:part name="getitemsstatusbysendersrefreturn" type="xsd:int"/></wsdl:message> -<wsdl:message name="getitemsstatusrequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="iitemsid" type="xsd:int"/></wsdl:message> -<wsdl:message name="getitemsstatusresponse"><wsdl:part name="getitemsstatusreturn" type="xsd:int"/></wsdl:message> -<wsdl:message name="getextrainformationrequest"><wsdl:part name="sid" type="xsd:string"/><wsdl:part name="ssendersref" type="xsd:string"/></wsdl:message> -<wsdl:message name="getextrainformationresponse"><wsdl:part name="getextrainformationreturn" type="tns:arrayarray"/></wsdl:message> -<wsdl:porttype name="portalinterfaceporttype"> -<wsdl:operation name="getsyncid"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getsyncidrequest"/><wsdl:output message="tns:getsyncidresponse"/></wsdl:operation> -<wsdl:operation name="senditemsdata"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:senditemsdatarequest"/><wsdl:output message="tns:senditemsdataresponse"/></wsdl:operation> -<wsdl:operation name="getitemsidsbychangedstatus"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getitemsidsbychangedstatusrequest"/><wsdl:output message="tns:getitemsidsbychangedstatusresponse"/></wsdl:operation> -<wsdl:operation name="getitemsstatusbyids"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getitemsstatusbyidsrequest"/><wsdl:output message="tns:getitemsstatusbyidsresponse"/></wsdl:operation> -<wsdl:operation name="getitemsstatusbysendersrefs"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getitemsstatusbysendersrefsrequest"/><wsdl:output message="tns:getitemsstatusbysendersrefsresponse"/></wsdl:operation> -<wsdl:operation name="getitemsstatusbysendersref"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getitemsstatusbysendersrefrequest"/><wsdl:output message="tns:getitemsstatusbysendersrefresponse"/></wsdl:operation> -<wsdl:operation name="getitemsstatus"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getitemsstatusrequest"/><wsdl:output message="tns:getitemsstatusresponse"/></wsdl:operation> -<wsdl:operation name="getextrainformation"><wsdl:documentation></wsdl:documentation><wsdl:input message="tns:getextrainformationrequest"/><wsdl:output message="tns:getextrainformationresponse"/></wsdl:operation></wsdl:porttype> -<wsdl:binding name="portalinterfacebinding" type="tns:portalinterfaceporttype"><soap-env:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/> -<wsdl:operation name="getsyncid"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getsyncid"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="senditemsdata"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=senditemsdata"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getitemsidsbychangedstatus"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getitemsidsbychangedstatus"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getitemsstatusbyids"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getitemsstatusbyids"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getitemsstatusbysendersrefs"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getitemsstatusbysendersrefs"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getitemsstatusbysendersref"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getitemsstatusbysendersref"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getitemsstatus"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getitemsstatus"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation> -<wsdl:operation name="getextrainformation"><soap-env:operation style="rpc" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapaction="http://<url>/service.php?method=getextrainformation"/> -<wsdl:input><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:input> -<wsdl:output><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/></wsdl:output></wsdl:operation></wsdl:binding> -<wsdl:service name="portalinterface"><wsdl:documentation/> -<wsdl:port name="portalinterfaceport" binding="tns:portalinterfacebinding"><soap-env:address location="http://<url>/service.php"/></wsdl:port></wsdl:service></wsdl:definitions> 

how generate client? have xsd file can give more information. can post similar wsdl or code not give hint of original wsdl...


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -