On Mon, 2002-06-10 at 11:43, Jung , Dr. Christoph wrote: > complained means ... It says something about not supporting string.
> Do you have an error message or an exception? It is a long time since now. I solved it my changing the type to string. > Is it a > deployment/wsdl time problem > or a runtime problem? Runtime, when message is received to the bean/jboss.net. > If runtime, which client do you use? Client? MS Soap toolkit v.2. > Was it embedded > into some other type or > a direct argument/return type of a web-method? I don't exactly understand your question. It has nothing to do with web, except that jboss.net is using web. But you probably can get the exception if a int method is included in the testsuite. Does it have such now? > > CGJ > > -----Urspr�ngliche Nachricht----- > Von: Marius Kotsbak [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 10. Juni 2002 10:50 > An: [EMAIL PROTECTED] > Betreff: Re: AW: [JBoss-user] IllegalArgumentException from jboss.net to > SLSB > > > Another problem with jboss.net/axis: > > I had to use only strings, as it complained when I tried a int. Is that a > jboss.net or axis problem? It should be tested in the testsuite. > > On Mon, 2002-06-10 at 10:00, Jung , Dr. Christoph wrote: > > David, > > > > IMO, Collection is a particularily bad type to map XML-Schema to and > > from in Axix. If you use an array or a vector, the automatic mapping > > of Axis will however do something meaningful. > > > > I�m currently working on an additional annotation of the Java-methods > > that will allow to specify the Xml-mapping used, such that a > > Collection argument of return type can be mapped to typed arrays, > > datasets and the like. > > > > CGJ > > > > > > -----Urspr�ngliche Nachricht----- > > Von: David Ward [mailto:[EMAIL PROTECTED]] > > Gesendet: Montag, 10. Juni 2002 09:29 > > An: [EMAIL PROTECTED] > > Betreff: [JBoss-user] IllegalArgumentException from jboss.net to SLSB > > > > > > (JBoss 3.0.0 final, Sun Linux JDK 1.4.0_01.) > > > > I have an axis client hitting jboss.net, which in turn executes a > > stateless ejb of mine. > > > > When I make calls to a method of: > > > > public UserData addUser(UserData pOrigData, PersistenceLevel pLevel) > > > > I have no problem. The problem comes when the first argument turns > > into > > a Collection in another method: > > > > public Collection addUsers(Collection pOrigDatas, PersistenceLevel > > pLevel). > > > > Not sure why the Collection is confusing things (causing an "argument > > type mismatch"). Here's my stack trace - > > > > Thanks for any and all help, > > David > > > > -- > > > > [java] java.lang.IllegalArgumentException: argument type > > mismatch on object "$Proxy74", method name "addUsers", tried argument > > types: [Ljava.lang.Object;, > com.dotech.gizzard.persistence.PersistenceLevel > > [java] at > > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.j > > ava:13 > > 5) > > [java] at > > > org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati > > onContextImpl.java:865) > > [java] at > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528) > > [java] at > > org.apache.crimson.parser.Parser2.content(Parser2.java:1779) > > [java] at > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) > > [java] at > > org.apache.crimson.parser.Parser2.content(Parser2.java:1779) > > [java] at > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) > > [java] at > > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) > > [java] at > > org.apache.crimson.parser.Parser2.parse(Parser2.java:305) > > [java] at > > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) > > [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) > > [java] at > > > org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon > > textImpl.java:201) > > [java] at > > org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:428) [java] > > at > > org.apache.axis.client.Call.invoke(Call.java:1793) > > [java] at org.apache.axis.client.Call.invoke(Call.java:1594) > > [java] at org.apache.axis.client.Call.invoke(Call.java:1513) > > [java] at org.apache.axis.client.Call.invoke(Call.java:1093) > > [java] at > > > com.dotech.gizzard.persistence.axis.AXISPersistenceManagerFactory$1.invoke(A > > XISPersistenceManagerFactory.java:46) > > [java] at $Proxy0.addUsers(Unknown Source) > > [java] at > > com.dotech.gizzard.persistence.test.UserTest.addUsers(UserTest.java:66) > > [java] at > > com.dotech.gizzard.persistence.test.UserTest.main(UserTest.java:31) > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas - > > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ########################################### > > > > This message has been scanned by F-Secure Anti-Virus for Microsoft > > Exchange. For more information, connect to http://www.F-Secure.com/ > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas - > > http://devcon.sprintpcs.com/adp/index.cfm?source > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference August > 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ########################################### > > This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. > For more information, connect to http://www.F-Secure.com/ > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
