axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17554] - Integer[] -> int[]
Date Mon, 04 Aug 2003 22:41:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17554>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17554

Integer[] -> int[]





------- Additional Comments From cmcmanaman@rcgit.com  2003-08-04 22:41 -------
We are experiencing the same dilemma!

Our server-config.wsdd has this entry:

 <service name="FuegoZipLoader" provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="scope" value="application"/>
  <parameter name="className" 
value="com.chris.integration.fuego.FuegoZipLoader"/>
   <typeMapping
        xmlns:ns="http://soapinterop.org/xsd"
        qname="ns:ArrayOfbyte"
        type="java:byte[]"
        serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
        deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      /> 
 </service> 

We get the following error message:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Server.generalException</faultcode>
   <faultstring>Tried to invoke method public java.lang.String 
com.chris.integration.fuego.FuegoZipLoader.startInstance(java.lang.String,byte
[]) with arguments java.lang.String,[B.  The arguments do not match the 
signature.; nested exception is: 
	java.lang.IllegalArgumentException: object is not an instance of 
declaring class</faultstring>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

The signature in the class file is: 

    public String startInstance(String value_1, byte[] value_2)
    {

Mime
View raw message