Hi!
I'm calling WS and in the invoke method I'm sending String array:
res = (String[])call.invoke(new String[]{"param1","param2"});
But I have strange mistake:

org.jboss.axis.AxisFault: Deserializing parameter 'arrayOfString_1':  could not 
find deserializer for type 
{http://gms.metadata.webservice.oceaninfo.ru/types/arrays/java/lang}StringArray
        at 
org.jboss.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:303)
        at 
org.jboss.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:142)
        at 
org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at 
org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257)
        at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
        at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
        at org.jboss.axis.client.Call.invokeEngine(Call.java:3077)
        at org.jboss.axis.client.Call.invoke(Call.java:3039)
        at org.jboss.axis.client.Call.invoke(Call.java:2629)
        at org.jboss.axis.client.Call.invoke(Call.java:2538)
        at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
        at org.jboss.axis.client.Call.invoke(Call.java:1914)
        at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
        at GMSClient.main(GMSClient.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
 Why did it happen?Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897601#3897601

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897601


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to