[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2006-01-02 Thread ameisinger
Hello geekgurl. Try to implement a complex type for your arrays. For an int-Array the complex type should look like: | public class IntArray { | private int[] intArray; | | public int[] getIntArray() { | return intArray; | } | | public void setIntArray(int[]

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-21 Thread ameisinger
Hi, I've tested it with an int-Array, too. And I have to use a IntArray-JavaBean. With that it works. | public class IntArray { | private int[] intArray; | | public int[] getIntArray() { | return intArray; | } | | public void setIntArray(int

[JBoss-user] [JBossWS] - Re: SimpleDeserializer encountered a child element which is

2005-06-15 Thread ameisinger
Hi, I created my mapping.xml and wsdl file with wscompile. Now it works. Before this I've created the files with Java2WSDL. Althaugh it seems to work for single custom type, for arrays it does not work, because of the Java2WSDL command, I guess. During generating the client-files the IDE create

[JBoss-user] [JBossWS] - SimpleDeserializer encountered a child element which is not

2005-06-13 Thread ameisinger
Hi there, I tried to implement a webservice which returns a String of my int Array, but it does not work. The following error will appear: Error-Message: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. Web-Service | public St

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-08 Thread ameisinger
Hello Tom, anonymous wrote : | Once again do not use soap encoding, use document/literal or rpc/literal. Arrays need to be nested in a javabean in order to work properly. | I did what you've recommended and for datatypes like int, string and my complex type Animal it works. But for arrays

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-07 Thread ameisinger
Hi to everyone! I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. I tried a new method: String setStrings(String[]) and there is the same error like before: No deserializer defined for array type {http://www.w3.org/2003/05/soap-encodi

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-06 Thread ameisinger
I forgot to write a META-INF/ws4ee-deployment.xml file (similar to: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping). After this it worked. | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880556#3880556 Reply to the post :

[JBoss-user] [JBossWS] - Could not find deserializer for type

2005-05-31 Thread ameisinger
Hi, I have created a webservice and deployed it on jboss. The webservice has three different methods. Testing the business-methods: sayHello is OK, meetAnimal is not OK, createAnimal is not OK, too. Any ideas what's going wrong? How can I prevent: could not find deserializer and No serialize

[JBoss-user] [JBossWS] - EJB 2.1 Service Endpiont: Custom Types

2005-05-30 Thread ameisinger
Hi, I am using JBoss 4.0.2, Eclipse 3.0.2 with JBossIDE 1.4.1e30 and xDoclet 1.2.3. I wrote a ejb 2.1 service endpoint with standard data types - it works fine. Now I want to add a custom object (Person). Which steps must be done? My file-structure is as follows: | /Tutorial | /src |

[JBoss-user] [Advanced Documentation] - Web Service Endpoint Interface with JBoss IDE

2005-05-10 Thread ameisinger
Hi, is there any Tutorial or Weblink where I can find a solution to create a Web Service Endpoint Interface (EJB 2.1) with JBoss IDE in Eclipse. I have found a good start at: http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ I failed when I started to insert the Wsee doclet (create a new