By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,309 Members | 1,196 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,309 IT Pros & Developers. It's quick & easy.

Restoring data into SoapMapper <Web Method> failed error

P: n/a
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.

Any help will be highly appreciated.

Thanks in advance
-Chinns

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.