You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Becker (JIRA)" <de...@tuscany.apache.org> on 2008/08/24 19:46:44 UTC

[jira] Commented: (TUSCANY-2561) Soap intents are lower case while the policy framework says that they should be upper case

    [ https://issues.apache.org/jira/browse/TUSCANY-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625200#action_12625200 ] 

Dan Becker commented on TUSCANY-2561:
-------------------------------------

I am reaching a bit of a sticking point with this one. I see xml and composite files that have requires="soap" and change it to requires="SOAP". However when running itests, I still see exceptions of the type:

WARNING: No namespace found: Composite = QuestionMarkWSDLTests
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.687 sec <<< FAILURE!
testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)  Time elapsed: 1.265 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: May Provide Intent - {http://www.osoa.org/xmlns/sca/1.0}soap not found for ExtensionType {http://www.osoa.org/xmlns/sca/1.0}binding.ws
	at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:218)
	at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63)
	at org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)

I am wondering if there are any parts of the code that generate a namespace URL on the fly? I grep for it, but cannot find where these URLs are generated. Any help appreciated.

> Soap intents are lower case while the policy framework says that they should be upper case
> ------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2561
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2561
>             Project: Tuscany
>          Issue Type: Bug
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Dan Becker
>             Fix For: Java-SCA-Next
>
>
> The soap intents define here http://svn.apache.org/repos/asf/tuscany/java/sca/modules/binding-ws-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/definitions.xml read
> soap, soap.1_1, soap.1_2
> and according to the policy framework spec should be
> SOAP, SOAP.1_1, SOAP.1_2
> This difference came about as the Web Services spec uses the lower case version. An OASIS issue has been raised to make the specs consistent. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.