Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • Last Modified:

Insufficient buffer space when creating XML Web Service

Okay, I've never asked a question on this site before so please bear with me if I don't offer enough information!

I've created an asmx file using VB.NET.  Apparently, in order to use it, I need to create a proxy class using WSDL, so I attempted to do it by entering the following at the command prompt:

    C:\>wsdl /l:vb http://localhost/Service1.asmx?WSDL

However, when I try to do that, it gives me the following error!


Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.


Unhandled Exception: System.IO.IOException: Unable to create a transport connect
ion. ---> System.TypeInitializationException: The type initializer for "System.N
et.Sockets.Socket" threw an exception. ---> System.Net.Sockets.SocketException:
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
   at System.Net.Sockets.Socket.InitializeSockets()
   at System.Net.Sockets.Socket..cctor()
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)
   --- End of inner exception stack trace ---
   at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)
Error: There was an error processing 'http://localhost/Service1.asmx?WSDL'.
  - There was an error downloading 'http://localhost/Service1.asmx?WSDL'.
  - The underlying connection was closed: Unable to connect to the remote server.

If you would like more help, please type "wsdl /?".


It's saying that I have insufficient buffer space?  How can that be resolved?

I'm using Win 2000 Pro for this, and I even used a different computer in case the other one was just screwed up.  That didn't work.  I'd appreciate it if anyone can help me with this program!  I have become 3 points more insane as a result of this.

Thanks in advance!
0
psykhaotic
Asked:
psykhaotic
1 Solution
 
psykhaoticAuthor Commented:
Here is the error message that I get when adding a web reference using VB.NET:


There was an error downloading 'http://localhost/LeonardLab6/WebService1/Service1.asmx'.

The underlying connection was closed: Unable to connect to the remote server.
0
 
eekjCommented:
Web Matrix Studio does this for you, its really a wonderful tool and its free:
http://www.asp.net/Default.aspx?tabindex=0&tabid=1
Tools > WebService Proxy Generator

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now