You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Xibin Zeng (JIRA)" <be...@incubator.apache.org> on 2005/05/04 02:03:05 UTC

[jira] Created: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Document Literal Wrapped webservice wsdl fails to compile
---------------------------------------------------------

         Key: BEEHIVE-599
         URL: http://issues.apache.org/jira/browse/BEEHIVE-599
     Project: Beehive
        Type: Test
  Components: Web Services (181)  
    Versions: V1Alpha    
 Environment: N/A
    Reporter: Xibin Zeng


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


[jira] Updated: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=all ]

Eddie O'Neil updated BEEHIVE-599:
---------------------------------

      Assign To: daryoush mehrtash
           type: Bug  (was: Test)
        Version: V1Beta
                 V1
    Fix Version: V1

Daryoush, another WSM issue.  I've fixed this one up (converted it into a bug) and passed it along.

If anyone else wants to step in and help fix WSM issues, feel free to grab this one!

> 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


[jira] Updated: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=all ]

daryoush mehrtash updated BEEHIVE-599:
--------------------------------------

    Fix Version: TBD
                     (was: V1)

> 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: TBD

>
> 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


[jira] Commented: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=comments#action_64427 ]
     
Eddie O'Neil commented on BEEHIVE-599:
--------------------------------------

Daryoush -- is it possible that this would be fixed the proposed final version of Axis 1.2?

> 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


[jira] Commented: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Assigned: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=all ]

daryoush mehrtash reassigned BEEHIVE-599:
-----------------------------------------

    Assign To: daryoush mehrtash  (was: daryoush mehrtash)

> 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


[jira] Commented: (BEEHIVE-599) Document Literal Wrapped webservice wsdl fails to compile

Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-599?page=comments#action_64975 ]
     
daryoush mehrtash commented on BEEHIVE-599:
-------------------------------------------

This problem was not fixed with Axis 1.2 upgrade.

I have stepped through the Axis code, there may be some issues with the header processing that we need to look at more closely.  This problem should not be a show stopper for V1, we need to look at it after the V1 release.



> 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