[
https://issues.apache.org/jira/browse/TUSCANY-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ant elder closed TUSCANY-2400.
------------------------------
Resolution: Invalid
> Logs validation error when it encounters anyNameSpace attr in binding.ws
> element
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-2400
> URL: https://issues.apache.org/jira/browse/TUSCANY-2400
> Project: Tuscany
> Issue Type: Bug
> Environment: All
> Reporter: Hasan Muhammad
> Priority: Critical
> Fix For: Java-SCA-Next
>
>
> Simon,
> Tuscany is logging the following validation error:
> [6/17/08 9:41:04:899 EDT] 00000052 ValidatingXML E XMLSchema validation
> error occured in: null ,line = -1, column = -1, Message =
> 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,
> WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is expected.
> The schema for ws bindings contains this:
> <anyAttribute namespace="##any" processContents="lax"/>
> The composite file is as such:
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
> xmlns:qos="http://www.ibm.com/xmlns/prod/websphere/sca/1.0/2007/06"
> targetNamespace="http://erww.workload"
> name="OrderStatusComposite">
> <component name="OrderStatusServiceComponent">
> <implementation.java
> class="orderstatus.sca.jdbc.OrderStatusServiceImpl"
> requires="managedTransaction.local"/>
> <service name="OrderStatusService" requires="suspendsTransaction">
> <interface.wsdl
> xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
>
> interface="http://jdbc.sca.orderstatus#wsdl.interface(OrderStatusService)"
>
> wsdli:wsdlLocation="http://jdbc.sca.orderstatus
> OrderStatusService.wsdl"/>
> <binding.ws
> wsdlElement="http://jdbc.sca.orderstatus#wsdl.port(OrderStatusServiceWebService/OrderStatusServiceSOAP11port)"
> qos:wsPolicySet="WSHTTPS default" />
> </service>
> </component>
>
> </composite>
> In this composite file, the problem seems to be qos:wsPolicySet="WSHTTPS
> default". If we remove that, then it goes through fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.