You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <ji...@apache.org> on 2006/01/18 22:05:43 UTC

[jira] Created: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Some WSDLs used by the test cases don't conform to the WSDL schema
------------------------------------------------------------------

         Key: TUSCANY-14
         URL: http://issues.apache.org/jira/browse/TUSCANY-14
     Project: Tuscany
        Type: Bug
  Components: Java SCA Axis Integration  
    Reporter: Raymond Feng
    Priority: Minor


I noticed those problems with the WTP1.0. It seems that they're WSDL
validation related issues. I observed the following cases.

1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
2) the "location" attribute is missing from "soap:address". (schema for the
attibute: <attribute name="location" type="uriReference" use="required"/>)


-- 
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] Resolved: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-14?page=all ]
     
Jean-Sebastien Delfino resolved TUSCANY-14:
-------------------------------------------

    Resolution: Fixed

Thanks for the patch. I made similar changes to all the WSDL files missing definition names or soap addresses. 

> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng
>     Assignee: Jean-Sebastien Delfino
>     Priority: Minor
>  Attachments: AccountService.wsdl, StockQuoteWebService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

-- 
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: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-14?page=all ]

Jean-Sebastien Delfino reassigned TUSCANY-14:
---------------------------------------------

    Assign To: Jean-Sebastien Delfino

> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng
>     Assignee: Jean-Sebastien Delfino
>     Priority: Minor
>  Attachments: AccountService.wsdl, StockQuoteWebService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

-- 
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: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Raymond Feng (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-14?page=all ]

Raymond Feng updated TUSCANY-14:
--------------------------------

    Attachment: AccountService.wsdl

Fixed the missing required "location" attribute for "soap:address" element

> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng
>     Priority: Minor
>  Attachments: AccountService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

-- 
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] Closed: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-14?page=all ]
     
Jean-Sebastien Delfino closed TUSCANY-14:
-----------------------------------------


> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding
>     Reporter: Raymond Feng
>     Assignee: Jean-Sebastien Delfino
>     Priority: Minor
>  Attachments: AccountService.wsdl, StockQuoteWebService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

-- 
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: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Raymond Feng (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-14?page=all ]

Raymond Feng updated TUSCANY-14:
--------------------------------

    Attachment: StockQuoteWebService.wsdl

change name="" to name="stockquoteservice" for "wsdl:definition" element

> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng
>     Priority: Minor
>  Attachments: AccountService.wsdl, StockQuoteWebService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

-- 
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: (TUSCANY-14) Some WSDLs used by the test cases don't conform to the WSDL schema

Posted by "Raymond Feng (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-14?page=comments#action_12363176 ] 

Raymond Feng commented on TUSCANY-14:
-------------------------------------

Here's the patch in diff format:

Index: sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl
===================================================================
--- sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(revision 369942)
+++ sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(working copy)
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="">
+<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="stockquote">
     <!--WSDL created by Apache Axis version: 1.2.1
 Built on Jun 14, 2005 (09:15:57 EDT)-->
     <wsdl:types>
Index: sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/account/AccountService.wsdl
===================================================================
--- sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(revision 369942)
+++ sca/model/src/test/java/org/apache/tuscany/model/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(working copy)
@@ -72,7 +72,7 @@
     <wsdl:service name="AccountService">
         <wsdl:port binding="tns:AccountServiceSOAP"
                    name="AccountServiceSOAP">
-            <soap:address location=""/>
+            <soap:address location="http://localhost:8080/AccountService/services/AccountService"/>
         </wsdl:port>
     </wsdl:service>
 </wsdl:definitions>
Index: sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl
===================================================================
--- sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(revision 369942)
+++ sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(working copy)
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="">
+<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="stockquote">
     <!--WSDL created by Apache Axis version: 1.2.1
 Built on Jun 14, 2005 (09:15:57 EDT)-->
     <wsdl:types>
Index: sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/account/AccountService.wsdl
===================================================================
--- sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(revision 369942)
+++ sca/container.java/src/test/java/org/apache/tuscany/container/java/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(working copy)
@@ -72,7 +72,7 @@
     <wsdl:service name="AccountService">
         <wsdl:port binding="tns:AccountServiceSOAP"
                    name="AccountServiceSOAP">
-            <soap:address location=""/>
+            <soap:address location="http://localhost:8080/AccountService/services/AccountService"/>
         </wsdl:port>
     </wsdl:service>
 </wsdl:definitions>
Index: sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl
===================================================================
--- sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(revision 369942)
+++ sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl	(working copy)
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="">
+<wsdl:definitions targetNamespace="http://webservice.stockquote" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.stockquote" xmlns:intf="http://webservice.stockquote" xmlns:tns1="http://stockquote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="stockquote">
     <!--WSDL created by Apache Axis version: 1.2.1
 Built on Jun 14, 2005 (09:15:57 EDT)-->
     <wsdl:types>
Index: sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/account/AccountService.wsdl
===================================================================
--- sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(revision 369942)
+++ sca/binding.axis/src/test/java/org/apache/tuscany/binding/axis/assembly/tests/bigbank/account/services/account/AccountService.wsdl	(working copy)
@@ -72,7 +72,7 @@
     <wsdl:service name="AccountService">
         <wsdl:port binding="tns:AccountServiceSOAP"
                    name="AccountServiceSOAP">
-            <soap:address location=""/>
+            <soap:address location="http://localhost:8080/AccountService/services/AccountService"/>
         </wsdl:port>
     </wsdl:service>
 </wsdl:definitions>


> Some WSDLs used by the test cases don't conform to the WSDL schema
> ------------------------------------------------------------------
>
>          Key: TUSCANY-14
>          URL: http://issues.apache.org/jira/browse/TUSCANY-14
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng
>     Priority: Minor
>  Attachments: AccountService.wsdl, StockQuoteWebService.wsdl
>
> I noticed those problems with the WTP1.0. It seems that they're WSDL
> validation related issues. I observed the following cases.
> 1) The "name" attribute "wsdl:definition" is illegal (name=""). (schema for
> the attribute: <attribute name="name" type="NMTOKEN" use="optional"/>).
> 2) the "location" attribute is missing from "soap:address". (schema for the
> attibute: <attribute name="location" type="uriReference" use="required"/>)

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