Friday July 14, 2006
RESOLVED: WSIT and WCF Jun CTP Interop Bug
Taking on from previous post ...
Even though the list of breaking changes from Feb
CTP to Vista Beta 2 and Vista
Beta 2 to Jun CTP are documented. The list is missing a "minor"
detail of changing the WS-Addressing
1.0 WSDL Binding namespace from http://www.w3.org/2005/08/addressing
(same as SOAP
Binding namespace) to http://www.w3.org/2006/05/addressing/wsdl
(WSDL Binding CR namespace). As a result a user reported
interop problems between Jun CTP and WSIT.
I updated the namespace for WS-Addressing WSDL Binding in WSIT this morning. After deploying one of the JAX-WSA unit tests and invoking svcutil.exe to generate proxy, got the following warning:
Warning: The optional WSDL extension element 'UsingAddressing' from namespace 'http://www.w3.org/2006/05/addressing/wsdl' was not handled. XPath: //wsdl:definitions[@targetNamespace='http://example.org/wsaTestService2']/wsdl:binding[@name='wsaTestPortTypeBindingAddressingRequired']
Seems like this CTP completely ignores a standard W3C extension
element to indicate WS-Addressing on a binding/port. It generated the proxy
correctly but of course the client did not send expected WS-Addressing headers
and thus the endpoint faulted appropriately. Anyway, I specified UsingAddressing
within a policy assertion, regenerated the proxy and invoked the client. The
server returned the response correctly and CTP client displayed the response in
console.
WSIT is now again interoperating with Jun CTP.
Technorati: WSIT WCF Indigo Interoperability Web Services
Posted by Arun Gupta in webservices |
|
|
|
|
| WSIT and WCF Jun CTP Interop Bug
One of WSIT user reported an issue with WCF June CTP in WSIT user forums. And thus I tried installing the latest CTP from Microsoft. But as always, there are different runtime and SDKs floating on the website (dejavu). Lets see which one are required.
The runtime components can be downloaded from here. There is a separate link for .NET Framework 3.0 Runtime Components Beta2 for Windows XP + SP2. But similar runtime components for Jun CTP are available for Windows XP only, no SP2. This is confusing but I took "Jun CTP" in the link name as the main indicator and hoped it was just a typo. Plug and Pray and yep, that was the correct runtime component.
The Windows SDK can be downloaded from here. If I click on 3rd bullet to download Windows SDK, then this is SDK for Beta2 of Vista and WinFX Runtime Components. This seemed incorrect but I still tried installing it and hoping it was a typo as in the previous case. But nope, not this time. Related Resources on the runtime website finally showed a link to the correct Windows SDK.
Why cant the runtime and SDK be published together in a consistent manner ? Once again, here is the correct runtime and SDK that gives you the functionality of Jun CTP.
Now I can get back to my work.
BTW, The svcutil version is 3.0.4219.0.
Technorati: WCF Indigo Bugs WSIT
Posted by Arun Gupta in webservices |
|
|
|
|
| Sang Shin is starting a FREE 10-week "AJAX Programming" online course from August 4th, 2006. This course is for anyone who wants to learn AJAX for the first time or increase their knowledge on AJAX. In this 10-week course, students learn basic concept of AJAX as well as how to use various AJAX frameworks and toolkits such as Dojo toolkit, jMaki, Google Web Toolkit, and AJAX-fied JavaServer Faces (JSF) components.
More details are available here.
The only thing you have to do in order to register for the course is sending an blank email to ajaxworkshop-subscribe-AT-yahoogroups-DOT-com.
Technorati: ajax codecamp Dojo Google Web Toolkit Java Server Faces Programming
Posted by Arun Gupta in web2.0 |
|
|
|
|
|
Today's Page Hits: 77
Total # blog entries: 1002