Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 27th, 2005, 03:31 PM
Registered User
 
Join Date: Jun 2005
Location: , IL, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help - Restoring data into SoapMapper failed error

Hello folks,

I'm getting following error message in the reference.vb (created using add web feature of VS.Net) when invoking
the our vendor web service which was created using Soap Toolkit 1.0.

 An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in
 system.web.services.dll Additional information: SoapMapper: Restoring data into SoapMapper

Inventory.ListInventory.XMLQuery failed

 I'm passing XML as an input, Here is code, where I'm getting the error,

<System.Web.Services.Protocols.SoapRpcMethodAttrib ute("http://tempuri.org/action/Inventory.ListInventory",
 RequestNamespace:="http://tempuri.org/message/",
 ResponseNamespace:="http://tempuri.org/message/") _

 Public Function ListInventory(ByVal XMLQuery As Object) As
 <System.Xml.Serialization.SoapElementAttribute("Re sult") Object

 ' ------I'm getting error in the line below
     Dim results() As Object = Me.Invoke("ListInventory", New Object() {Nothing, XMLQuery})

     Return CType(results(0), Object)

 End Function

I was able to consume above web service using soap toolkit 3.0 using vb 6.0, but i'm getting when consuming above web service using dot net windows application.

Web Service functions take a NodeList as their payload rather than a complete XML document. So we convert this NodeList object consisting of all children nodes of the main XML Document Node and pass it to the web service method.

Any help will be highly appreciated.

Thanks in advance
-Chinns


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to retrieve data from database saleha Crystal Reports 1 March 7th, 2009 12:00 AM
Error During Restoring a DB..!. vaasmru SQL Server 2005 2 October 26th, 2006 02:19 PM
Error restoring thePhile DB dinble BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 20th, 2006 07:58 AM
Data.SqlClient.SqlException: Login failed csun ASP.NET 1.0 and 1.1 Basics 3 October 15th, 2004 04:01 PM
Error restoring database in Enterprise Manger sasi SQL Server 2000 2 June 12th, 2003 10:13 PM



All times are GMT -4. The time now is 08:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.