You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org> on 2008/06/18 09:26:45 UTC
[jira] Commented: (TUSCANY-2400) Logs validation error when it
encounters anyNameSpace attr in binding.ws element
[ https://issues.apache.org/jira/browse/TUSCANY-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605873#action_12605873 ]
Ramkumar Ramalingam commented on TUSCANY-2400:
----------------------------------------------
Hi Hasan,
I tried the same, but there seems to be no issues. I copied the whole of <service> tag from the above said composite xml and replaced them in helloworldws.composite file under helloworld-ws-service sample, and saw no issues from Tuscany processing the same.
Would be helpful if you could also try the same with some samples and see what happens. Also the XMLSchema error mentioned in the JIRA reports an issue noticed in implementation.java tag, rather than reporting at binding.ws. Please confirm if this is the one you are getting.
Thanks,
Ramkumar R
> 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
>
> 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.