beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jongjin Choi (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Commented: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid
Date Sat, 07 May 2005 04:23:04 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-596?page=comments#action_64682 ]
     
Jongjin Choi commented on BEEHIVE-596:
--------------------------------------

I tested the wsdl (http://localhost:8080/wsm-samplesWS/web/webparam/WebParamRpcLiteralSample.jws?wsdl
) using patched axis. 

The wscompile still complains about wsdl like this:
(I used the wscompile included in SUN Java Server 2005Q1, but got similar error under JWSDP
1.5)
-----------------------------
D:\tests\beehive\BEEHIVE-599>c:\Sun\AppServer\bin\wscompile.bat -gen -d generated -Xprintstacktrace
config-wsdl-rpclit.xml
"namein" specified in the parameterOrder attribute of message "sayHelloInHeader" is not a
valid part of the message.
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processParameterOrder(WSDLModelerBase.java:2101)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOperationRPCLiteralStyle(WSDLModelerBase.java:2316)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOperation(WSDLModelerBase.java:905)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processPort(WSDLModelerBase.java:763)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processService(WSDLModelerBase.java:519)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.internalBuildModel(WSDLModelerBase.java:354)
        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:238)
        at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
        at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
        at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)

        at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
        at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
error: "namein" specified in the parameterOrder attribute of message "sayHelloInHeader" is
not a valid part of the message.
--------------------------------

I also tested using SUN's JAX-RPC 2.0EA. I generated the WSDL from beehive samples source,
the genearted wsdl from JAX-RPC 2.0EA was not processed using wscompile with similar error.


I guess that SUN's wscompile (in JWSDP 1.5) is not ready for this kind of wsdl.



> WebParamRpcLiteralSample's wsdl is not valid
> --------------------------------------------
>
>          Key: BEEHIVE-596
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-596
>      Project: Beehive
>         Type: Bug
>   Components: Web Services (181)
>     Reporter: daryoush mehrtash
>     Assignee: daryoush mehrtash
>  Attachments: Emitter.java.patch
>
> WSM sample's WebParamRpcLiteralSample generates a wsdl that is not compliant with the
> R2205 A wsdl:binding in a DESCRIPTION MUST refer, in each of its soapbind:header, soapbind:headerfault
and soapbind:fault elements, only to wsdl:part element(s) that have been defined using the
element attribute.
>  
> The http://localhost:8080/wsm-samplesWS/web/webparam/WebParamRpcLiteralSample.jws?wsdl
> should not use type in 
> wsdl:message name="sayHelloInBodyRequest">
> <wsdl:part name="namein" type="xsd:string"/>
> </wsdl:message>
> it should be an element.

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