Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 56624 invoked from network); 29 Jul 2004 08:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Jul 2004 08:36:06 -0000 Received: (qmail 53858 invoked by uid 500); 29 Jul 2004 08:35:54 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53791 invoked by uid 500); 29 Jul 2004 08:35:54 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 53741 invoked by uid 99); 29 Jul 2004 08:35:54 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=NORMAL_HTTP_TO_IP,NO_REAL_NAME,PLING_PLING X-Spam-Check-By: apache.org Received: from [192.132.34.212] (HELO webmail.unina.it) (192.132.34.212) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 29 Jul 2004 01:35:50 -0700 Received: from webmail.unina.it (localhost [127.0.0.1]) by webmail.unina.it (8.12.11/8.12.11) with ESMTP id i6T8bdbS001652 for ; Thu, 29 Jul 2004 10:37:39 +0200 Received: (from nobody@localhost) by webmail.unina.it (8.12.11/8.12.11/Submit) id i6T8bdsa001651 for axis-dev@ws.apache.org; Thu, 29 Jul 2004 10:37:39 +0200 X-Authentication-Warning: webmail.unina.it: nobody set sender to lcoppoli@unina.it using -f Received: from 143.225.229.248 ([143.225.229.248]) by webmail.unina.it (IMP) with HTTP for ; Thu, 29 Jul 2004 10:37:39 +0200 Message-ID: <1091090259.4108b753ab04c@webmail.unina.it> Date: Thu, 29 Jul 2004 10:37:39 +0200 From: lcoppoli@unina.it To: axis-dev@ws.apache.org Subject: PLEASE HELP ME!!! JSR 172 and axis MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 143.225.229.248 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have a new problem, I don't know if it is axis dependent but I hope to found help here. I'm working with WTK 2.1 and JSR 172. I have published a service (using axis 1.2beta) having the following WSDL ************************************************** ************************************************************* I'have generated client Stubs by using J2ME Wireless Toolkit. Then I'have generated a simple client as follow: ************************************************************* import educato.*; import javax.xml.rpc.*; import java.rmi.RemoteException; public class Client{ final static String serviceURL = "http://127.0.0.1/axis/services/educato"; public static void main(String args[]){ try{ EducatoInt_Stub e = new EducatoInt_Stub(); e._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, serviceURL); e._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, new Boolean(true)); String risposta = e.sayHello(); System.out.println("Ha risposto: " + risposta +"!!!"); }catch(Exception e){ e.printStackTrace(); } } } ************************************************* Now the problem: executing the client by java Client I obtain the following error message: ****************************** java.rmi.MarshalException: Invalid Element in Response: sayHelloReturn at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(Ljavax/microedition/xml/rpc/Type;Ljava/io/InputStream;Ljava/lang/String;J)Ljava/lang/Object;(Unknown Source) at com.sun.j2mews.xml.rpc.OperationImpl.invoke(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source) at educato.EducatoInt_Stub.sayHello()Ljava/lang/String;(EducatoInt_Stub.java:77) at Client.main([Ljava/lang/String;)V(Client.java:15) ***************************** I need help... Luigi Coppolino ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.