beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daryoush mehrtash (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Commented: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile
Date Wed, 04 May 2005 00:47:06 GMT
     [ 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:
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
>     <wsdl location="http://localhost:8080/wsm-samplesWS/web/complex/RpcLiteralSample.jws?wsdl"
>           packageName="com.bea.ts.tests.utils" />    
> </configuration>
> 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


Mime
View raw message