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

[jira] Created: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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
 Assigned to: daryoush mehrtash 


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


[jira] Updated: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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

daryoush mehrtash updated BEEHIVE-596:
--------------------------------------

    Fix Version: TBD

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


[jira] Commented: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-596?page=comments#action_64451 ]
     
Jeremiah Johnson commented on BEEHIVE-596:
------------------------------------------

Here is a link to the message in the mail archive to make it easy to check for follow-ups: http://marc.theaimsgroup.com/?l=axis-dev&m=111516315320440&w=2

> 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

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


[jira] Commented: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

Posted by "Jongjin Choi (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-596?page=comments#action_64630 ]
     
Jongjin Choi commented on BEEHIVE-596:
--------------------------------------

Daryoush,

I made a WS-I R-2205 patch for Axis. 
I am doing all-tests(i.e. DRT in Beehive term) for Axis now.
If this meets our currents need, I'll apply it to axis with normal process.
Pls, check the generated wsdl.
Patch will be attached.



> 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


[jira] Commented: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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


[jira] Commented: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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

I applied the patch to my local axis build and tried it out.  It appears to have fixed some of the problems with the WSDL.  The WSDL compiler  is still having issues with the generated wsdl, I will need to dig deeper into this bug.  

This bug and fix for it should not be a showstopper for the V1 release.

> 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


[jira] Updated: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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

Jeremiah Johnson updated BEEHIVE-596:
-------------------------------------

    Description: 
WSM sample's WebParamRpcLiteralSample generates a wsdl that is not compliant with the BP 1.0:

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="sayHelloInHeaderRequest">
  <wsdl:part name="namein" type="xsd:string"/>
</wsdl:message>

it should be an element.

  was:
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.

        Version: v1m1
                 V1Beta
    Environment: 

Updated the description to note that it is the header message part that is incorrect, not the body message part.

> 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)
>     Versions: v1m1, V1Beta
>     Reporter: daryoush mehrtash
>     Assignee: daryoush mehrtash
>      Fix For: TBD
>  Attachments: Emitter.java.patch
>
> WSM sample's WebParamRpcLiteralSample generates a wsdl that is not compliant with the BP 1.0:
> 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="sayHelloInHeaderRequest">
>   <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


[jira] Updated: (BEEHIVE-596) WebParamRpcLiteralSample's wsdl is not valid

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

Jongjin Choi updated BEEHIVE-596:
---------------------------------

    Attachment: Emitter.java.patch

WS-I BP 1.0 R2205 patch for Axis

> 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