Restoring data into SoapMapper <Web Method> failed error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chinns Arumugam

    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.Ser vices.Protocols .SoapException' occurred in
    system.web.serv ices.dll Additional information: SoapMapper: Restoring data into SoapMapper Inventory.ListI nventory.XMLQue ry failed

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

    <System.Web.Ser vices.Protocols .SoapRpcMethodA ttribute("http://tempuri.org/action/Inventory.ListI nventory",
    RequestNamespac e:="http://tempuri.org/message/",
    ResponseNamespa ce:="http://tempuri.org/message/") _

    Public Function ListInventory(B yVal XMLQuery As Object) As
    <System.Xml.Ser ialization.Soap ElementAttribut e("Result") Object

    '------I'm getting error in the line below
    Dim results() As Object = Me.Invoke("List Inventory", 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/
Working...