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[]
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
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
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
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
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
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 :
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
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
|
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
10 matches
Mail list logo