?
Solved

Insufficient buffer space when creating XML Web Service

Posted on 2004-10-07
2
Medium Priority
?
388 Views
Last Modified: 2008-01-09
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
Comment
Question by:psykhaotic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:psykhaotic
ID: 12251295
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
 
LVL 3

Accepted Solution

by:
eekj earned 500 total points
ID: 12257425
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question