.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

WSDL made the call to web services but returned nothing

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :ASP.Net

Hi all,

Provided wsdl from link below:


I've been given merely a wsdl above from client, without any further information given, to make a call using c# code but i added as web reference, used the codes below and the client side detected my request and they've returned us proper format xml too, but i cant retrieve it in the string array from the method returned. the "stringset" has became null instead of array[10]. Can anyone give a hint what kind of web service call is it, since it is not using the simple and classic way to invoke?Thanks for help~

static void Main(string[] args)
            //added web reference for wsdl as poccrm
            string[] stringset = new string[10];
            poccrm.poclib caller = new ConsoleApplication1.poccrm.poclib();
            poccrm.SE1I2001 callerItem = new poccrm.SE1I2001();
            callerItem.AcctNo = "0010241000007914";

View Complete Post

More Related Resource Links

Web Services: Increase Your App's Reach Using WSDL to Combine Multiple Web Services


The very tools that have helped drive the growing adoption of Web services, and the enabling abstractions that they provide, can often prevent developers from peeking behind the curtains at the XML standards that make up the Web services stack. This article will offer a solution that enables type sharing between proxies created for complementary Web services, while at the same time providing an opportunity to examine the Web Services Description Language (WSDL) and its interaction with the Web services tools you know and love.

Gerrard Lindsay

MSDN Magazine March 2005

error HRESULT E_FAIL has been returned from a call to a COM component

hello every one i see this error some times when i designed the page and close the program and came back.but this error do not stop debugging the page and hide all controls is my page and i cant use smart tag and see the controls.what should i do?

Access Denied and Null Returned while Accessing Web Services from remote server.

Please go through following scenario.  I am writing a web Service and one of its web method, I want it to download a png file in form of buffer from remote server. And My consume application will write that buffer retured by Web service in to file on User's Computer. However, I am able to do this using Local Web Service but when I published that service on my web server, I always get null retuned And even in one of my test code while copying file from that server , I always get Access Denied.  Following things I have done for above issue. 1] I even tried making the Anonymous user for the web service the system administrator (with the correct password), to no avail. 2] I also tried sharing out the folder I'm pulling files from to allow access from Everyone.   [Previously same service was working fine on another remote server with IIS 7.0, we checked server IIS Settings but in vain.]   if you know where we are mistaken please guide me to resolve this issue as its very urgent. Please go through following scenario.                  

WSDL not working for SQL Reporting Services 2008

I have seutp reporting services successfully, but now i want to generate a proxy to be able to interact progromatically with the reporting services 2008 like I did in 2000 and 2005.  I have tried viewing the WSDL from a command like this:   http://localhost/reportserver/reportservice.asmx?WSDL and I get an error like this:   The path of the item 'WSDL' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath) Get Online Help Any thoughts?  I also tried from WSDL.exe, no dice. Thanksl Ben

Web Services Task Editor: The input Web Services Description Language (WSDL) file is not valid

I am trying to prove I can use SSIS to connect to a web service.  The WS I am trying to connect to was developed by a vendor and covered by a NDA, but I was able to reproduce the issue with a public WS. Here are the steps to reproduce the issue: In the Web Services Connection Manager, I entered http://office.microsoft.com/Research/Providers/MoneyCentral.asmx?wsdl in the URL window.  I am able to successfully "test" the connection I pasted the above link into IE and saved the resulting XML as a .wsdl file on my local machine.  In the Web Services Task Editor, General Tab, I specify the path to the .wsdl file and click on "Download WSDL" button.  No Issues When I click on "Input" and select "MoneyCentralRemote" from the drop-down for Service, I receive an error message saying "This version of the Web Services Description Language (WSDL) is not supported" So the questions are: Did I perform the above steps correctly? What WSDL versions are supported in SSIS? How can I tell what WSDL version was used to create the .wsdl I am trying to access? If the WSDL is an unsupported version, is there a work-around to fix the issue?

URL location of the WSDL File for Web Services File Task

I am finding that in order to have the Web Services Task work successfully the location of the WSDL file has to be on a local drive that SSIS is executing upon.  Is the current intended behavior? In my SSIS task I use a URL path to store information extracted from the Web Service.  The information is stored on a different server than the one that SSIS is running upon.  This works properly without error. I have confirmed that SSIS has appropriate permissions to read/write to that directory on that server.  When I attempt to reference the WSDL file (located in the same URL directory that I am saving the information) I get a web services error, 'The Web Services Name is empty, Verify that a valid web service name is available." When I update the Web Service Task attribute to point to the WSDL file located on a local drive it works correctly.  I have confirmed that both WSDL documents are exactly the same. The behavior seems a little strange...so I must be missing something subtle. ...cordell...

WSDL file for Web Services task

I'm trying to use a Web Service for the first time in SSIS.  I have the httpConnection specified, and the test succeeded.  I have put in a text file the code below, and renamed the file with a .WSDL extension.  I'm getting the error below.  What is wrong with my WSDL file?  Thanks!   Could not read the Web Services Description Language (WSDL) file.  The input WSDL file is not valid.  The follwing error occurred while reading the file.  There is an error in XML document (3,3)...   Code Snippet<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><helloworld xmlns="http://lesl.com/" /></soap:Body></soap:Envelope>

How to develop WCF services and host them only using WSDL and schemas provided by client(consumer)?

Hi,I am new to WCF. I have just gone through sample calculator service examples and have very hazy understanding of WCF. I have one requirement  where i need to develop WCF services. I have been provided with WSDL and SCHEMAS and has been asked to develop WCF services part.The client part is ready and they need us to write webservices so they can consume it. Can anyone please xplain how could i begin with and from where ? Also what are schemas (XSD's) used for ? Also how would I make sure that after building webservices I have hosted the webservices in such a way that other people in our network could access them ?I have read forums where you have webservices  but need to write clients which can consume it, but not sure how to approach the above requirement. Any help would be greatly appreciated. Please explain it considering I AM NOVICE/BEGINNER.  Thanks

Need help in Webservices.How to make external Web Services method call in case of proxy in Asp.net 2


How to make external Web Services method call in case of proxy in Asp.net 2.0? 


The scenario is I have webservice Client dll.Now when  i Invoke the One of the Method in Client.dll,its not sending the request to server bcz the system is blocked with Proxy settings.I need to know call this method by bypassing the Proxy settings.

@Note:The client.dll is in different location.we are trying to contact the server with this dll.but its not contacting

pls help .its deeply appreciated .





Can I call reporting services 2005 from a sharepoint workflow?


Hi there,

I am wondering if it is possible to call reporting services from within a sharepoint workflow and to get a report in HMTL format back?

Many Thanks and Regards

Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.


I have two small programs that I wrote in C# that are basically just executing calls to cuteFTP Pro 8 (a scriptable FTP client). 

Program #1: needs to connect to a remote server using standard FTP protocol.  This program works fine whether I run it or schedule it through the Windows Task Scheduler (Server 2003 Standard). 

Program #2:  needs to connect to a remote server using FTPS_IMPLICIT or FTPS, I've tried using either of these two protocols and the same result is produced.

If I run Program #2 on my user account while logged in to the server it works correctly, however if I schedule it through Windows Task Scheduler (in exactly the same fashion as Program #1) I get the COM error that I put in the thread title.  A stack trace shows that it happens


at ftpteLib.TEConnectionClass.Connect()

which is one of the cuteFTP methods.  For the sake of isolating the problem I removed most of the functional code in Program#1 and Program #2 so taht they are identical other than the fact that one connects to a remote server needing FTP and the other to one needing FTPS or FTPS_IMPLICIT.

Is there anything I can do to correct this?

Implementing call to XML-RPC web services in .NET



I'm working with a third party which has XML-RPC web services. I've worked with SOAP web serices so far but never had to implement a call to a XML-RPC web service. Can anyone give me some pointers as to how that should be done in Visual Studio (2008)?

I know implementing SOAP is a charm and I try to find more information on how to implement XML-RPC but no luck so far... The only thing I've found is the XML-RPC.NET library but I'm a naturally curious guy so instead of just using the library, I'd like to know how it's done without it : )

Any help is appreciated!



Philippe Robert - Belron international

Browsing a cube: Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft V


When I try to reconnect using the cube browser (in both Visual Studio and SQL Management Studio) I get the following error:

Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)
Program Location:
   at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.TranslatePivotTable()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdatePivotTable(Boolean translate)
   at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdateAll(Boolean translate)
   at Microsoft.AnalysisServices.Browse.CubeBrowser.ReconnectCanFail()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.SupportFunctionWhichCanFail(FunctionWhichCanFail function)

And when I try to drag stuff from the measure group (the left panel) I get:

Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)
Program Location:
   at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets()
   at Microsoft.AnalysisServices.Controls.PivotTableHash.get_FieldSetsEnumerator()
   at Microsoft.AnalysisServices.Controls.PivotTableHash.GetFieldSet(String uniqueName)
   at Microsoft.AnalysisServices.Controls.PivotTableBoundMetadataBrowser.GetPiv

How to call WSDL web service in a device using C#


Hi All,

I am trying to exceute some web service method on a CCTV camera running the web service written using WSDL. I have written a small code snippet using Visual Studio 2008. but when I am executing the code I am getting the below mention exception.


"System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive."

COde Snippet :-


DeviceBinding service = new WindowsFormsApplication2.device.DeviceBinding();


WebProxy proxy =

Custom WSDL File generation for Classic Web Services (not WCF)


Hello Folks,

I'm about a custom WSDL File Generation for a Classic ASP.NET XML Web Service.

The issue is I didn't find out how to specify mandatory parameters in my WSDL, since ASP.NET  Web Services are generated on ?WSDL location, I thought I would do that from Web Method Annotations, but I found no issue.

Also I have been on a pose where the developer could hide WSDL Generation by specifying a custom WSDL Binding. But in my case I need to let other system access ?WSDL location with a Customized WSDL.


Thanks for Any Help.



Detecting Data Returned from an Ajax.ActionLink Call



How can I detect if an Ajax.ActionLink call returned any data?  See below:

	<div id="moreResults">
	<script type="text/javascript">
		var index = 1;
		function MoreResultsComplete() {
			// ***** How do I detect if data awas returned here? *****
			$(this).attr('href', '/Controller/MoreResults?index=' + ++index);
	<img class="loading" src="/content/images/loading.gif" alt="Loading results..." />
	<%: Ajax.ActionLink("More Results", "MoreResults", new { index = 1 }, new AjaxOptions() { LoadingElementId="loading", UpdateTargetId = "moreResults", InsertionMode = InsertionMode.InsertAfter, OnSuccess = "MoreResultsComplete" }, new { @id = "moreResultsLink" })%>


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend