Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 5533 invoked from network); 4 May 2005 00:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 00:47:17 -0000 Received: (qmail 2963 invoked by uid 500); 4 May 2005 00:48:59 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 2919 invoked by uid 500); 4 May 2005 00:48:58 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 2886 invoked by uid 99); 4 May 2005 00:48:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 03 May 2005 17:48:57 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6F2252E0 for ; Wed, 4 May 2005 02:47:06 +0200 (CEST) Message-ID: <912613383.1115167626406.JavaMail.jira@ajax.apache.org> Date: Wed, 4 May 2005 02:47:06 +0200 (CEST) From: "daryoush mehrtash (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Commented: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile In-Reply-To: <697005653.1115164985889.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=comments#action_64424 ] daryoush mehrtash commented on BEEHIVE-599: ------------------------------------------- The problem appears to be in the Axis WSDL generation. It seems that for the Document case it generates the correct WSDL, but in RPC it is not. I have sent out a message to the Axis list on this. I would need to dig deeper into Axis to resolve this bug. > Document Literal Wrapped webservice wsdl fails to compile > --------------------------------------------------------- > > Key: BEEHIVE-599 > URL: http://issues.apache.org/jira/browse/BEEHIVE-599 > Project: Beehive > Type: Bug > Components: Web Services (181) > Versions: V1Alpha, V1Beta, V1 > Environment: N/A > Reporter: Xibin Zeng > Assignee: daryoush mehrtash > Fix For: V1 > > Install the wsm-samples application, using the following wsdl: > http://localhost:8080/wsm-samplesWS/web/complex/RpcLiteralSample.jws?wsdl > Trying to generate stub classes using wscompile caused the following exception: > [wscompile] in message "AddressException", part "fault" must specify a "element" attribute > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.handleLiteralSOA > PFault(WSDLModelerBase.java:2892) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOpera > tionRPCLiteralStyle(WSDLModelerBase.java:2652) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOpera > tion(WSDLModelerBase.java:905) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processPort(WSDL > ModelerBase.java:763) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processService(W > SDLModelerBase.java:519) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.internalBuildMod > el(WSDLModelerBase.java:354) > [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLM > odelerBase.java:238) > [wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88 > ) > [wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63) > [wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714) > [wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43) > [wscompile] at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22) > [wscompile] error: in message "AddressException", part "fault" must specify a "element" at > tribute > [wscompile] Command invoked: wscompile C:\jdk1.5.0_02\jre\bin\java.exe -classpath C:\jdk1. > 5.0_02\lib\tools.jar;D:\Sun\jwsdp-1.5\jwsdp-shared\lib\mail.jar;D:\Sun\jwsdp-1.5\jwsdp-sha > red\lib\activation.jar;D:\Sun\jwsdp-1.5\jaxp\lib\endorsed\dom.jar;D:\Sun\jwsdp-1.5\jaxp\li > b\endorsed\sax.jar;D:\Sun\jwsdp-1.5\jaxp\lib\endorsed\xalan.jar;D:\Sun\jwsdp-1.5\jaxp\lib\ > endorsed\xercesImpl.jar;D:\Sun\jwsdp-1.5\jaxrpc\lib\jaxrpc-api.jar;D:\Sun\jwsdp-1.5\jaxrpc > \lib\jaxrpc-impl.jar;D:\Sun\jwsdp-1.5\jaxrpc\lib\jaxrpc-spi.jar;D:\Sun\jwsdp-1.5\saaj\lib\ > saaj-api.jar;D:\Sun\jwsdp-1.5\saaj\lib\saaj-impl.jar;D:\Sun\jwsdp-1.5\jwsdp-shared\lib\rel > axngDatatype.jar;D:\Sun\jwsdp-1.5\jwsdp-shared\lib\xsdlib.jar;D:\Sun\jwsdp-1.5\jwsdp-share > d\lib\jax-qname.jar;D:\Sun\jwsdp-1.5\apache-ant\lib\ant.jar;D:\dev\standards\jsr181\tck\li > b\javatest.jar;D:\dev\standards\jsr181\tck\lib\sigtestdev.jar;D:\dev\standards\jsr181\tck\ > lib\sigtest.jar com.sun.xml.rpc.tools.wscompile.Main -d D:\dev\sandbox\beehive\v1\wsm\tck\ > build\clientclasses "-features:explicitcontext, useonewayoperations" -gen:client -keep -Xp > rintstacktrace D:\dev\sandbox\beehive\v1\wsm\tck\build\clientclasses\config-template.xml > To repro, you will need to download jwsdp 1.5, and here is the config file for wscompile: > > > packageName="com.bea.ts.tests.utils" /> > > This is encountered during the jsr181 TCK testing process. > Xibin -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira