Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94327 invoked from network); 27 Jul 2004 15:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 15:46:49 -0000 Received: (qmail 40555 invoked by uid 500); 27 Jul 2004 15:46:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 40444 invoked by uid 500); 27 Jul 2004 15:46:36 -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 40385 invoked by uid 99); 27 Jul 2004 15:46:35 -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; Tue, 27 Jul 2004 08:46:29 -0700 Received: from webmail.unina.it (localhost [127.0.0.1]) by webmail.unina.it (8.12.11/8.12.11) with ESMTP id i6RFmHu5018887 for ; Tue, 27 Jul 2004 17:48:17 +0200 Received: (from nobody@localhost) by webmail.unina.it (8.12.11/8.12.11/Submit) id i6RFmHVF018886 for axis-dev@ws.apache.org; Tue, 27 Jul 2004 17:48:17 +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 ; Tue, 27 Jul 2004 17:48:17 +0200 Message-ID: <1090943297.410679416c9e2@webmail.unina.it> Date: Tue, 27 Jul 2004 17:48:17 +0200 From: lcoppoli@unina.it To: axis-dev@ws.apache.org Subject: RE: PLEASE HELP ME!!! - WS-I Basic Profile compatibility References: In-Reply-To: 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 Ok wrapped is good!!! But now I have a new problem, I don't know if it is axis dependent but I hope to found an help here. I'm working with WTK 2.1 and JSR 172. I have published a service (using axis 1.2beta) by 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 an help... Luigi Coppolino Quoting Tom Jordahl : > > Wrapped is pure document/literal. > > > -- > Tom Jordahl > Macromedia Server Development > > -----Original Message----- > From: lcoppoli@unina.it [mailto:lcoppoli@unina.it] > Sent: Friday, July 23, 2004 6:43 AM > To: axis-dev@ws.apache.org > Subject: RE: PLEASE HELP ME!!! - WS-I Basic Profile compatibility > > Ok I will try wrapped/literal in wsdd but I'm not very trusting in it > because > I'm using the J2ME Wireless Toolkit which support only document/literal > Thanks > > Scrive Tom Jordahl : > > > > > Looks like your toolkit doesn't like the fact that the > "signRequestRequest" > > message has multiple parts in it. You should probably use 'wrapped' mode > > for your service. That will create a single part with a wrapper element. > > > > > > -- > > Tom Jordahl > > Macromedia Server Development > > > > -----Original Message----- > > From: lcoppoli@unina.it [mailto:lcoppoli@unina.it] > > Sent: Thursday, July 22, 2004 12:17 PM > > To: axis-dev@ws.apache.org > > Subject: Fwd: PLEASE HELP ME!!! - WS-I Basic Profile compatibility > > > > > > Hi axis' developers, > > I'm using axis 1.2 beta. I have tryed to generate the stub clients for a > web > > service using the Wireless Toolkit 2.1. The deployed WSDL is: > > > > > > ******************************************************* > > > > > xmlns:apachesoap="http://xml.apache.org/xml-soap" > > xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace" > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > > targetNamespace="http://DefaultNamespace" > > xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > name="signRequestReturn"/> > > > > > > > > > > > > > > > > > name="signRequestRequest"/> > > > > > name="signRequestResponse"/> > > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > **************************************** > > > > > > The Wireless Toolkit give me the following message: > > > > > > warning: ignoring operation "signRequest": more than one part in input > > message > > warning: Port "ca" does not contain any usable operations > > > > > > I need an help please...It seems to be a bug...is it? > > > > Luigi Coppolino > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > ----- End forwarded message ----- > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.