Skip to main content
Participant
April 17, 2009
Question

Add web service proxy generator

  • April 17, 2009
  • 1 reply
  • 555 views

Hi, when I try to add a web service the proxy generator dropdown menu shows the text "Edit proxy generator list".  When I click on it it displays several proxy generators including .net vb, the one I want.  When I click done it returnes to the previous list box but does not list any choices.  As suggested in another forum I reloaded Dreamweaver, but this did not help.  Any ideas?

Thanks, Tom

This topic has been closed for replies.

1 reply

Participant
May 26, 2009

Hi Tom,

I' needed to create a proxy for a web service some days ago too. First think you should know is that web services support for .NET in DW CS4 has been removed. Now there's only web services components for ColdFusion.

Anyway I will explain how I created mine...

I tryed to create the proxy with DW CS3. First think I've noticed is that it ask to install Microsoft .NET Framework SDK.

After installing last version of the .NET SDK I've noticed that DW CS3 doesn't recognized it. What finally did was to look at the edit proxy generator list, there you can see the commands used to create the proxy:

wsdl /l:VB $$WSDLFILE

vbc /t:library /r:System.dll,System.Data.dll,System.Web.Services.dll,System.XML.dll *.vb

The first one creates the proxy source, the second compiles it into a DLL.

I've just opened the DSK command prompt and used this commands manually. This way I finally got the proxy DLL compiled.

It's my first time trying to consume a web service with .NET and it's really hard and confusing to do all this stuff. Now I'm stucked with my proxy DLL, but I can import it in my .NET code.

If you can solve the next step I would be pleased to know.

Regards!