Forum Discussion

martinbelic's avatar
martinbelic
New Contributor
12 years ago

Problem generating code - .NET 2.0 wsdl directory must be se

Please, please help me.

I cant generate code. I found on forum that you must change: File -> Preferences -> WSDL Settings -> Schema Directory
to: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin

I have Windows 7, 64bit and I have under that directory v6.0A, v7.0A and 8.0A. I also tried all 64 bit subdirs under that directories. The error is still there and I really dont know what to do.

How do I get that working. I would really appreciate any help.

5 Replies

  • Im using 32bit version and yes I saw that thread.

    I have missed the part where you have to have .net 2.0 installed. I will install it and try again. I will also try again with 64 bit version and I will post results.

    Thanks for reply. If you have any other idea please respond.
  • Still does not work.

    My configuration:
    64 bit SoapUI
    Windows 7 64Bit with .Net 3.5 and 4 and 4.5 installed - As I read 3.5 include 2.0 framework

    Under C:\Program Files (x86)\Microsoft SDKs\Windows\

    I have 3 directories: v6.0A, v7.0A and v8.0A

    I have tried all the subdirs that contains wsdl.exe and the error is still showing.
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
    C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin
    C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools

    Can someone point out the configuration that should work. Should I uninstall all frameworks and leave only 3.5 or even new pc with Windows XP and .NET 2.0 ?
    Please help I am stuck. Thank you
  • Hi,

    Please try .net 2.0 and see if that works. I don't think windows 7 or XP should matter.
  • In the .Net 2.0 Artifacts window(under the tools menu) click on "Tools" button..
    You need to set the path here,at .Net 2.0 wsdl.exe: