Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 26829 invoked from network); 4 Aug 2004 11:12:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Aug 2004 11:12:50 -0000 Received: (qmail 31224 invoked by uid 500); 4 Aug 2004 10:49:59 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 31193 invoked by uid 500); 4 Aug 2004 10:49:59 -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 31155 invoked by uid 99); 4 Aug 2004 10:49:57 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 04 Aug 2004 03:49:56 -0700 Received: (qmail 7256 invoked from network); 4 Aug 2004 10:51:19 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 4 Aug 2004 10:51:19 -0000 Message-ID: <1100866361.1091616679859.JavaMail.apache@nagoya> Date: Wed, 4 Aug 2004 03:51:19 -0700 (PDT) From: axis-dev@ws.apache.org To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-1490) interoperability Sun's JSR 172 and Axis In-Reply-To: <1810112678.1091607439819.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: luigi coppolino (mailto:lcoppoli@unina.it) Date: Wed, 4 Aug 2004 3:50 AM Comment: server side Changes: Attachment changed to server.zip --------------------------------------------------------------------- For a full history of the issue, see: http://issues.apache.org/jira/browse/AXIS-1490?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AXIS-1490 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXIS-1490 Summary: interoperability Sun's JSR 172 and Axis Type: Bug Status: Unassigned Priority: Major Project: Axis Assignee: Reporter: luigi coppolino Created: Wed, 4 Aug 2004 1:17 AM Updated: Wed, 4 Aug 2004 3:50 AM Environment: Sun's WTK 2.1 and axis 1.2beta Description: I have generated a simple service it make the sum between two integer. I used Java2WSDL and WSDL2Java to obtain the wsdd. Now I have edited the .wsdd to: 1- change the implementation class to my class 2- change rpc/encoded to wrapped/literal (required by Sun's WTK) I deployed the service and I can see the service endpoint with its WSDL. I have generated client's stubs with the Wireless Toolkit and a simple client that uses those stubs. Here is the deployed wsdl: ************* - - - - - - - - - - - - - - - - - - - - ************* Executing the client I obtain the following message: **************** Invalid Element in Response: sommaReturn java.rmi.MarshalException: Invalid Element in Response: sommaReturn at calcolatore.Calculator_Stub.somma(+89) at CalculatorClient.startApp(+26) at javax.microedition.midlet.MIDletProxy.startApp(+7) at com.sun.midp.midlet.Scheduler.schedule(+266) at com.sun.midp.main.Main.runLocalClass(+28) at com.sun.midp.main.Main.main(+116) **************** I have used the tcpmonitor and here are the request and response: >*************** >REQUEST: > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:tns="http://DefaultNamespace"> > > > 3 > 7 > > > > >RESPONSE: > > >xmlns:xsd="http://www.w3.org/2001/XMLSchema" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > 10 > > > > >**************** I'm not very practical with SOAP but it seems as the response (Somma return) missing something... I have seen a service deployed by sun (the example in WTK) and its response is untyped. I think the problem is ' xmlns="" ' but I don't know how I can resolve it Thanks for your help --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira