wsit
  1. wsit
  2. WSIT-973

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: not determined
    • Component/s: tests
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      973

      Description

      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.

      1. HostedClientSoapImpl.cs
        28 kB
        jbenoit
      2. mtomtest.xml
        22 kB
        jbenoit
      3. tango_qe-tests_mtom_interop-indigo2tango.log
        209 kB
        jbenoit
      4. test4u.log
        0.6 kB
        jbenoit
      5. xtest.properties
        0.6 kB
        jbenoit

        Activity

        Hide
        jbenoit added a comment -

        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.

        −
        <!--
        Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI
        2.1.4.1-hudson-327-.
        -->
        −
        <wsdl:definitions name="MtomService" targetNamespace="http://tempuri.org/">
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:AsymmetricBinding>
        −
        <wsp:Policy>
        −
        <sp:InitiatorToken>
        −
        <wsp:Policy>
        −
        <sp:X509Token
        sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
        −
        <wsp:Policy>
        <sp:WssX509V3Token10/>
        </wsp:Policy>
        </sp:X509Token>
        </wsp:Policy>
        </sp:InitiatorToken>
        −
        <sp:RecipientToken>
        −
        <wsp:Policy>
        −
        <sp:X509Token
        sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
        −
        <wsp:Policy>
        <sp:WssX509V3Token10/>
        </wsp:Policy>
        </sp:X509Token>
        </wsp:Policy>
        </sp:RecipientToken>
        −
        <sp:AlgorithmSuite>
        −
        <wsp:Policy>
        <sp:Basic256/>
        </wsp:Policy>
        </sp:AlgorithmSuite>
        −
        <sp:Layout>
        −
        <wsp:Policy>
        <sp:Lax/>
        </wsp:Policy>
        </sp:Layout>
        <sp:IncludeTimestamp/>
        <sp:OnlySignEntireHeadersAndBody/>
        </wsp:Policy>
        </sp:AsymmetricBinding>
        −
        <sp:Wss10>
        −
        <wsp:Policy>
        <sp:MustSupportRefKeyIdentifier/>
        <sp:MustSupportRefIssuerSerial/>
        </wsp:Policy>
        </sp:Wss10>
        −
        <sp:Trust10>
        −
        <wsp:Policy>
        <sp:MustSupportIssuedTokens/>
        <sp:RequireClientEntropy/>
        <sp:RequireServerEntropy/>
        </wsp:Policy>
        </sp:Trust10>
        <wsoma:OptimizedMimeSerialization/>
        <wsap:UsingAddressing/>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryAsString_Input_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryAsString_output_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoStringAsBinary_Input_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoStringAsBinary_output_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy
        wsu:Id="CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_Input_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy
        wsu:Id="CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_output_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryFieldAsString_Input_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryFieldAsString_output_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryHeaderAsString_Input_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="ByteArray" Namespace="http://xmlsoap.org/Ping"/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        <sp:Header Name="ByteArray" Namespace="http://xmlsoap.org/Ping"/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        −
        <wsp:Policy
        wsu:Id="CustomBinding_IMtomTest_EchoBinaryHeaderAsString_output_policy">
        −
        <wsp:ExactlyOne>
        −
        <wsp:All>
        −
        <sp:SignedParts>
        <sp:Body/>
        <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="From"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="FaultTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="ReplyTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="MessageID"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="RelatesTo"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        <sp:Header Name="Action"
        Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
        </sp:SignedParts>
        −
        <sp:EncryptedParts>
        <sp:Body/>
        </sp:EncryptedParts>
        </wsp:All>
        </wsp:ExactlyOne>
        </wsp:Policy>
        <wsdl:import namespace="http://xmlsoap.org/Ping"
        location="http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl=1"/>
        <wsdl:types/>
        −
        <wsdl:binding name="CustomBinding_IMtomTestLite" type="i0:IMtomTestLite">
        <wsp:PolicyReference URI="#CustomBinding_IMtomTest_policy"/>
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        −
        <wsdl:operation name="EchoBinaryAsString">
        <soap12:operation soapAction="http://xmlsoap.org/echoBinaryAsString"
        style="document"/>
        −
        <wsdl:input>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryAsString_Input_policy"/>
        <soap12:body use="literal"/>
        </wsdl:input>
        −
        <wsdl:output>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryAsString_output_policy"/>
        <soap12:body use="literal"/>
        </wsdl:output>
        </wsdl:operation>
        −
        <wsdl:operation name="EchoStringAsBinary">
        <soap12:operation soapAction="http://xmlsoap.org/EchoStringAsBinary"
        style="document"/>
        −
        <wsdl:input>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoStringAsBinary_Input_policy"/>
        <soap12:body use="literal"/>
        </wsdl:input>
        −
        <wsdl:output>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoStringAsBinary_output_policy"/>
        <soap12:body use="literal"/>
        </wsdl:output>
        </wsdl:operation>
        −
        <wsdl:operation name="EchoBinaryArrayAsStringArray">
        <soap12:operation soapAction="http://xmlsoap.org/EchoBinaryArrayAsStringArray"
        style="document"/>
        −
        <wsdl:input>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_Input_policy"/>
        <soap12:body use="literal"/>
        </wsdl:input>
        −
        <wsdl:output>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_output_policy"/>
        <soap12:body use="literal"/>
        </wsdl:output>
        </wsdl:operation>
        −
        <wsdl:operation name="EchoBinaryFieldAsString">
        <soap12:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
        −
        <wsdl:input>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryFieldAsString_Input_policy"/>
        <soap12:body use="literal"/>
        </wsdl:input>
        −
        <wsdl:output>
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryFieldAsString_output_policy"/>
        <soap12:body use="literal"/>
        </wsdl:output>
        </wsdl:operation>
        −
        <!--

        Removed from WCF 3.5 interop testsuite
        <wsdl:operation name="EchoBinaryHeaderAsString">
        <soap12:operation
        soapAction="http://xmlsoap.org/Ping/IMtomTest/EchoBinaryHeaderAsString"
        style="document"/>
        <wsdl:input name="InputMessageContract">
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryHeaderAsString_Input_policy"/>
        <soap12:header message="i0:InputMessageContract"
        part="ByteArray" use="literal"/>
        <soap12:body parts="" use="literal"/>
        </wsdl:input>
        <wsdl:output name="OutputMessageContract">
        <wsp:PolicyReference
        URI="#CustomBinding_IMtomTest_EchoBinaryHeaderAsString_output_policy"/>
        <soap12:body use="literal"/>
        </wsdl:output>
        </wsdl:operation>

        -->
        </wsdl:binding>
        −
        <wsdl:service name="MtomService">
        −
        <wsdl:port name="CustomBinding_IMtomTestLite"
        binding="tns:CustomBinding_IMtomTestLite">
        <soap12:address
        location="http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest"/>
        −
        <wsa:EndpointReference>
        −
        <wsa:Address>
        http://localhost:8080/jaxws-soap12mtomutf8securityaug04/mtomtest
        </wsa:Address>
        −
        <Identity>
        −
        <KeyInfo>
        −
        <X509Data>
        −
        <X509Certificate>

        MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI=

        </X509Certificate>
        </X509Data>
        </KeyInfo>
        </Identity>
        </wsa:EndpointReference>
        </wsdl:port>

        Show
        jbenoit added a comment - 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. − <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net . RI's version is JAX-WS RI 2.1.4.1-hudson-327-. --> − <wsdl:definitions name="MtomService" targetNamespace="http://tempuri.org/"> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:AsymmetricBinding> − <wsp:Policy> − <sp:InitiatorToken> − <wsp:Policy> − <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> − <wsp:Policy> <sp:WssX509V3Token10/> </wsp:Policy> </sp:X509Token> </wsp:Policy> </sp:InitiatorToken> − <sp:RecipientToken> − <wsp:Policy> − <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> − <wsp:Policy> <sp:WssX509V3Token10/> </wsp:Policy> </sp:X509Token> </wsp:Policy> </sp:RecipientToken> − <sp:AlgorithmSuite> − <wsp:Policy> <sp:Basic256/> </wsp:Policy> </sp:AlgorithmSuite> − <sp:Layout> − <wsp:Policy> <sp:Lax/> </wsp:Policy> </sp:Layout> <sp:IncludeTimestamp/> <sp:OnlySignEntireHeadersAndBody/> </wsp:Policy> </sp:AsymmetricBinding> − <sp:Wss10> − <wsp:Policy> <sp:MustSupportRefKeyIdentifier/> <sp:MustSupportRefIssuerSerial/> </wsp:Policy> </sp:Wss10> − <sp:Trust10> − <wsp:Policy> <sp:MustSupportIssuedTokens/> <sp:RequireClientEntropy/> <sp:RequireServerEntropy/> </wsp:Policy> </sp:Trust10> <wsoma:OptimizedMimeSerialization/> <wsap:UsingAddressing/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryAsString_Input_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryAsString_output_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoStringAsBinary_Input_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoStringAsBinary_output_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_Input_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_output_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryFieldAsString_Input_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryFieldAsString_output_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryHeaderAsString_Input_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="ByteArray" Namespace="http://xmlsoap.org/Ping"/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> <sp:Header Name="ByteArray" Namespace="http://xmlsoap.org/Ping"/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> − <wsp:Policy wsu:Id="CustomBinding_IMtomTest_EchoBinaryHeaderAsString_output_policy"> − <wsp:ExactlyOne> − <wsp:All> − <sp:SignedParts> <sp:Body/> <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/> </sp:SignedParts> − <sp:EncryptedParts> <sp:Body/> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <wsdl:import namespace="http://xmlsoap.org/Ping" location="http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl=1"/> <wsdl:types/> − <wsdl:binding name="CustomBinding_IMtomTestLite" type="i0:IMtomTestLite"> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_policy"/> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> − <wsdl:operation name="EchoBinaryAsString"> <soap12:operation soapAction="http://xmlsoap.org/echoBinaryAsString" style="document"/> − <wsdl:input> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryAsString_Input_policy"/> <soap12:body use="literal"/> </wsdl:input> − <wsdl:output> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryAsString_output_policy"/> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> − <wsdl:operation name="EchoStringAsBinary"> <soap12:operation soapAction="http://xmlsoap.org/EchoStringAsBinary" style="document"/> − <wsdl:input> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoStringAsBinary_Input_policy"/> <soap12:body use="literal"/> </wsdl:input> − <wsdl:output> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoStringAsBinary_output_policy"/> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> − <wsdl:operation name="EchoBinaryArrayAsStringArray"> <soap12:operation soapAction="http://xmlsoap.org/EchoBinaryArrayAsStringArray" style="document"/> − <wsdl:input> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_Input_policy"/> <soap12:body use="literal"/> </wsdl:input> − <wsdl:output> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryArrayAsStringArray_output_policy"/> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> − <wsdl:operation name="EchoBinaryFieldAsString"> <soap12:operation soapAction="http://xmlsoap.org/Ping" style="document"/> − <wsdl:input> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryFieldAsString_Input_policy"/> <soap12:body use="literal"/> </wsdl:input> − <wsdl:output> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryFieldAsString_output_policy"/> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> − <!-- Removed from WCF 3.5 interop testsuite <wsdl:operation name="EchoBinaryHeaderAsString"> <soap12:operation soapAction="http://xmlsoap.org/Ping/IMtomTest/EchoBinaryHeaderAsString" style="document"/> <wsdl:input name="InputMessageContract"> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryHeaderAsString_Input_policy"/> <soap12:header message="i0:InputMessageContract" part="ByteArray" use="literal"/> <soap12:body parts="" use="literal"/> </wsdl:input> <wsdl:output name="OutputMessageContract"> <wsp:PolicyReference URI="#CustomBinding_IMtomTest_EchoBinaryHeaderAsString_output_policy"/> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> --> </wsdl:binding> − <wsdl:service name="MtomService"> − <wsdl:port name="CustomBinding_IMtomTestLite" binding="tns:CustomBinding_IMtomTestLite"> <soap12:address location="http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest"/> − <wsa:EndpointReference> − <wsa:Address> http://localhost:8080/jaxws-soap12mtomutf8securityaug04/mtomtest </wsa:Address> − <Identity> − <KeyInfo> − <X509Data> − <X509Certificate> MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI= </X509Certificate> </X509Data> </KeyInfo> </Identity> </wsa:EndpointReference> </wsdl:port>
        Hide
        jbenoit added a comment -
        Show
        jbenoit added a comment - Created an attachment (id=685) http://t24u-1.east.sun.com:8080/jaxws-soap12mtomutf8securityaug04/mtomtest?wsdl
        Hide
        jbenoit added a comment -

        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)|

        Show
        jbenoit added a comment - 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)|
        Hide
        jbenoit added a comment -

        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
        <PortTypeName>IMtomTestLite</PortTypeName> after the <WsdlUri/> 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.

        Show
        jbenoit added a comment - 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 <PortTypeName>IMtomTestLite</PortTypeName> after the <WsdlUri/> 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.
        Hide
        jbenoit added a comment -

        Created an attachment (id=720)
        new HostedClientSoapImpl.cs file from MS

        Show
        jbenoit added a comment - Created an attachment (id=720) new HostedClientSoapImpl.cs file from MS

          People

          • Assignee:
            jitu
            Reporter:
            jbenoit
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: