users@jax-rpc.java.net

Using perl to access a JAX-RPC Web Service

From: Lars Preben S. Arnesen <l.p.arnesen_at_USIT.UIO.NO>
Date: Fri, 25 Apr 2003 10:01:58 +0200

This might not be the best forum for this post, but I hope that some
of you have the knowledge to solve my problem.... :)

I have created Web Service that works just fine when accessing it from
another Java-application (using JAX-RPC). (I'm using the jwsdp from
Sun.)

Now I need to create example code of how to use the Web Service with
different languages. On top of my list is: Perl, Python and PHP. I
started with Perl, but didn't get very far. When trying to access the
Web Service with the SOAP::Lite module I get an error message from
Tomcat:

[ERROR] server - -unexpected array element type: expected={http://www.w3.org/2001/XMLSchema}string, actual={http://www.w3.org/1999/XMLSchema}string <unexpected array element type: expected={http://www.w3.org/2001/XMLSchema}string, actual={http://www.w3.org/1999/XMLSchema}string>


For me it seems like the wrong type of schema is beeing used to
transfer the parameters (array of strings). I don't know how to change
this. Any ideas?

--
Lars Preben S. Arnesen