javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

MTOM Interop 3.5 (M->S) endpoint associated with contract not found #973

Open glassfishrobot opened 16 years ago

glassfishrobot commented 16 years ago

Problem previously reported in wsit issue 951 is still occurring for MTOM Interop tests using 3.5 endpoints, scenario M->S (Indigo Client -> Tango endpoint) (see https://wsit.dev.java.net/issues/show_bug.cgi?id=951)

all the tests associated with Soap11Utf8SecureSignEncrypt, and Soap12Utf8WithSecurityEnabledAug2004 failing with message: "The endpoint associated with contract :IMtomTest is not found."

Details for failed test/tests with errors:

Soap11Utf8SecureSignEncrypt:EchoBinaryAsString:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap11Utf8SecureSignEncrypt:EchoStringAsBinary:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap11Utf8SecureSignEncrypt:EchoBinaryArrayAsStringArray:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap11Utf8SecureSignEncrypt:EchoBinaryFieldAsString:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryAsString:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap12Utf8WithSecurityEnabledAug2004:EchoStringAsBinary:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryArrayAsStringArray:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryFieldAsString:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at indigoclient.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:78) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

Not sure if a setup/configuration issue with these two set of tests.

Environment

Operating System: All Platform: Sun

Affected Versions

[1.3]

glassfishrobot commented 16 years ago

Reported by jbenoit@java.net

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=674) mtom_interop-indigo2tango.log test4u log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=675) test4u setup/installation log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=676) xtest properties file from test4u which contains systems info involved in tests

glassfishrobot commented 16 years ago

jbenoit@java.net said: system hosting indigo 3.5 MTOM endpoints/HostedClient is yinyang.india.sun.com

glassfishrobot commented 16 years ago

jitu@java.net said: [jvmTestRunner] Generating the proxy for http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl [jvmTestRunner] ERROR: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found.

I cannot access this WSDL.Please fix the config.

glassfishrobot commented 16 years ago

jbenoit@java.net said: These tests are using Rama's CVS created branch name MTOM_INTEROP_UPDATE, which was created by Rama when doing his MTOM interop testing after attending MS Plugfest for 3.5 endpoints. Rama has not communicated to me the reasons for all these config changes to this CVS branch, I can only assume that these changes were to support working with 3.5 endpoints. Perhaps Rama can respond since he knows why he made these changes to this workspace? I've previously sent en email to Rama regarding changes in this MTOM_INTEROP_UPDATE branch, but I have not yet heard a response. In the mean time, I can try to look into these changes, but it seems that it would be quicker if the person who made these changes could explain the justification for doing so?

glassfishrobot commented 16 years ago

jbenoit@java.net said: I can access this wsdl just fine:

http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl

You have to ensure that the GF is started. it's located under /var/Sun/glassfish on t24u-1.east.sun.com box. ssh into this box as user Test4U, password is available on the tango_qa wiki page listing all machines and password used for testing. (see http://wikihome.sfbay.sun.com/wts/Wiki.jsp?page=TangoQaQeMachines)

The test4u testrun used to execute these tests is lcoated here: http://test4u.czech.sun.com/test4u/editcomposedtestrun?testrunid=20080709000907

The wsdl contains this content:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

−

−

− − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − [http://localhost:8080/jaxws-soap12mtomutf8securityaug04/mtomtest](http://localhost:8080/jaxws-soap12mtomutf8securityaug04/mtomtest) − − − − MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI=
glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=685) http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl

glassfishrobot commented 16 years ago

jbenoit@java.net said: regarding these failed tests:

Tests: Soap11Utf8SecureSignEncrypt:EchoBinaryAsString Soap11Utf8SecureSignEncrypt:EchoStringAsBinary Soap11Utf8SecureSignEncrypt:EchoBinaryArrayAsStringArray Soap11Utf8SecureSignEncrypt:EchoBinaryFieldAsString

Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryAsString Soap12Utf8WithSecurityEnabledAug2004:EchoStringAsBinary Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryArrayAsStringArray Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryFieldAsString

moving bug from MTOM to test sub-category, as following engineers state it's a test config issue:

Ashutosh writes: In the recent run I see all the tests associated with Soap11Utf8SecureSignEncrypt, and Soap12Utf8WithSecurityEnabledAug2004 failing with message: "The endpoint associated with contract :IMtomTest is not found. " It looks like a setup/configuration issue with these two set of tests.

Jitu writes: it looks some config issue on the indigo side.

Soap12Utf8WithSecurityEnabledAug2004:EchoBinaryFieldAsString:

junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace)

Jitu

Rama writes: Hi Jon, I have earlier communicated with you that there are changes made to the MTOM tests to work with the updated WCF 3.5 tests. There were changes in the wsdl and some test code changes in the endpoint and client to not use UTF8/UTF16 instead of platform default encoding/decoding of Strings. I tend to keep information in the cvs messages whenever I make the changes. I would encourage you to see from the cvs log what changes have been made to these tests. Being Metro SQE, I would assume that you would figure out the changes. Let me know if there are any changes that are not clear.

I bear no responsibility further to the workspace and changes once everything is running correctly. Its up to the SQE to treat it as SQE testcase and follow up on issues accordingly. Regarding the issue, I suspect it is an issue with the Indigo clients. Communication on that issue is attached. I would consider this as a test configuration issue and not an Metro implementation issue.

Rama email to MS: We recompiled the sources to fix the other WCF MTOM Client issue. We now are getting errors when we invoke Hosted Indigo Client with Metro endpoints. The stacktrace is given below.

I suspect the problem is due to the change in wsdl definitions when two MTOM scenarios were updated last time. The scenarios are Soap11Utf8SecureSignEncrypt and Soap12Utf8WithSecurityEnabledAug2004 There was a change in wsdls where wsdl:portType is updated from IMtomTest to IMtomTestLite. The WCF client is invoking the dynamic proxy client using IMtomTest instead of IMtomTestLite.

Seems the HostedClient in Indigo has a bug where it is hardcoded to figure out if it is LiteService using keywords used by IndigoEndpoints.

static readonly string[] liteServices =

{ "Soap11MtomUtf8SignEncrypt.svc", "Soap12Utf8WithSecurityAug04.svc" }

;

static bool IsLiteContract(string serviceUri) { if (serviceUri == null)

{ return false; }

foreach (string liteService in liteServices) { if (serviceUri.Contains(liteService))

{ return true; }

} return false; }

Our endpoints use a different URL and Indigo Client is invoking using the wrong proxy. Instead scenario name should have used for such comparison. I wonder how this worked fine during the last plugfest.

Can we get a fix for this Indigo Client if you confirm that it a is bug.

thanks, Rama

System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters)

| junit.framework.AssertionFailedError: System.ArgumentException: The endpoint associated with contract :IMtomTest is not found. at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName, String contractNamespace) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicProxyFactory.GetEndpoint(String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.CreateProxy(String wsdlUri, String contractName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters) |

at indigoclient.client.IndigoMTOMClient.testMTOMClient(IndigoMTOMClient.java:69) at indigoclient.client.IndigoMTOMClient.runTest(IndigoMTOMClient.java:41)|

glassfishrobot commented 15 years ago

jbenoit@java.net said: Received response fromMS;

You're correct this code is making assumptions inappropriate for an interop test. You have two choices:

1) Update MTOM_Service_Indigo.irt.xml in the c:\binaries.x86chk tree to add

IMtomTestLite after the element in the entries describing the Soap11Utf8SecureSignEncrypt and Soap12Utf8WithSecurityEnabledAug2004 scenarios. This is a partial solution though it addresses the particular exception you described. 2) Use the attached version of the MTOM Client implementation. This avoids dependencies on the WSDL URI, except when generating the dynamic proxy. I threw this together so our next download may take a slightly different approach. Yes, this file includes a fix for the previous (illegal Unicode characters in an XML instance) issue.
glassfishrobot commented 15 years ago

jbenoit@java.net said: Created an attachment (id=720) new HostedClientSoapImpl.cs file from MS

glassfishrobot commented 15 years ago

File: HostedClientSoapImpl.cs Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: mtomtest.xml Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: tango_qe-tests_mtom_interop-indigo2tango.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: test4u.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: xtest.properties Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

Was assigned to jitu

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-973