469,950 Members | 1,610 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

Restoring data into SoapMapper <Web Method> 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",
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

Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 23 '05 #1
0 1940

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Hallvard B Furuseth | last post: by
1 post views Thread by bryja_klaudiusz[at]poczta[dot]fm | last post: by
2 posts views Thread by I am Sam | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.