You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2007/09/18 20:21:44 UTC
[jira] Closed: (TUSCANY-1738) WSDL validation reports errors for
correct WSDL
[ https://issues.apache.org/jira/browse/TUSCANY-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder closed TUSCANY-1738.
------------------------------
Resolution: Invalid
> WSDL validation reports errors for correct WSDL
> -----------------------------------------------
>
> Key: TUSCANY-1738
> URL: https://issues.apache.org/jira/browse/TUSCANY-1738
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Assembly Model
> Affects Versions: Java-SCA-1.0
> Environment: All
> Reporter: Simon Nash
> Fix For: Java-SCA-1.0
>
>
> I am seeing WSDL validation errors for WSDL that is correct. The following WSDL gives a validation error:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://helloworld"
> xmlns:hw="http://helloworld"
> name="helloworldws">
> <component name="HelloWorldServiceComponent">
> <service name="HelloWorldService">
> <interface.java interface="helloworld.HelloWorldService"/>
> <binding.ws uri="http://localhost:8085/HelloWorldService"/>
> </service>
> <implementation.java class="helloworld.HelloWorldImpl" />
> </component>
> </composite>
> The validation error is as follows:
> 18-Sep-2007 12:10:56 org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1 error
> WARNING: XMLSchema validation problem in:
> file:/H:/tuscany52/sca-1.0/itest/ws-void-args-return/target/classes/helloworldws.composite, line: 30, column: 9
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'implementation.java'.
> One of '{"http://www.osoa.org/xmlns/sca/1.0":service, "http://www.osoa.org/xmlns/sca/1.0":reference,
> "http://www.osoa.org/xmlns/sca/1.0":property}' is expected.
> If the <implementation.java> line is moved before the <service> line, the error does not occur.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org