Open glassfishrobot opened 16 years ago
Reported by ramapulavarthi@java.net
ramapulavarthi@java.net said: Sudhir, I don't have the set up with WCF 3.5 to verify the bug. I would appreciate any help from QE to confirm and reproduce the issue. Please see if the documentation in WSIT Tutorial for the specified sample works.
Jendrock, Also it would be helpful, If you can confirm the issue that its still applicable and not a temporary glitch.
snajper said: Sreekanth, would you please confirm this is still valid? Thanks.
Was assigned to msreekanth
This issue was imported from java.net JIRA WSIT-1003
In Metro user guide, there is a chapter explaining creating WCF client. https://metro.dev.java.net/guide/Creating_a_WCF_Client.html In the prerequisites section it says, You must have the following software installed to create the WCF client:
Since FCS versions are available now , this needs to be updated with the current versions that are available for download.
Also, the build.bat in csclient-enabled-fromjava.zip needs to be updated.
It currently has svcutil /config:Client.exe.config http://localhost:8080/wsit-enabled-fromjava/addnumbers?wsdl C:\WINNT\Microsoft.NET\Framework\v2.0.50727\csc.exe /r:"C:\WINNT\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\System.ServiceModel.dll" /r:"C:\WINNT\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\System.Runtime.Serialization.dll" Client.cs AddNumbersImplService.cs
Its better to change the script to use %PROGRAMFILES% and %WINDIR% env vaiables instead of hardcoding to C:\WINNT etc, as on my windows xp it was C:\WINDOWS\ instead of C:\WINNT.
When I try to use this build script after fixing the paths, I got an error saying c:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\System.ServiceMod
el.dll: error CS1703: An assembly with the same identity 'System.ServiceModel,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
already been imported. Try removing one of the duplicate references.
c:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\System.
ServiceModel.dll: (Location of symbol related to previous error)
c:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\System.Runtime.Se
rialization.dll: error CS1703: An assembly with the same identity
'System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' has already been imported. Try removing
one of the duplicate references.
c:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\System.
Runtime.Serialization.dll: (Location of symbol related to previous error)
After I removed the explicit references to those dlls, it worked.
Please verify if the instructions for the sample works with latest .Net 3.5 framework and Windows SDK.
Environment
Operating System: All Platform: Macintosh
Affected Versions
[current]