3 Replies Latest reply on Jun 17, 2008 8:06 AM by webwann

    Did not understand "MustUnderstand" header message with WCF Service

    Bryant Byrd
      I have created a simple WCF "Web" Service so that we can see how they work with ColdFusion MX 7. When the service is called from a ColdFusion page, we get the following error information:

      faultCode: { http://www.w3.org/2003/05/soap-envelope}MustUnderstand
      faultString: Did not understand "MustUnderstand" header(s):{ http://www.w3.org/2005/08/addressing}Action
      { http://xml.apache.org/axis/}stackTrace:
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
      at org.apache.axis.client.Call.invoke(Call.java:2748)
      at org.apache.axis.client.Call.invoke(Call.java:2424)
      at org.apache.axis.client.Call.invoke(Call.java:2347)
      at org.apache.axis.client.Call.invoke(Call.java:1804)
      at org.tempuri.WSHttpBinding_IPersonServiceStub.getPersonByNetworkId(WSHttpBinding_IPersonSe rviceStub.java:202)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.refle...

      The identical code running in an ASP .NET 2.0 Web Service works fine in CFMX7 so it looks like there is something different about WFC and ASP2. The WSDL appears to be fine (at least as well as I can detect with the naked eye). Is there something special I need to do to allow CF to consume WCF services?