472,961 Members | 2,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

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",
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
0 2165

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hallvard B Furuseth | last post by:
What's the difference between a built-in method and a method-wrapper object? Why has only the former a __self__, even though both are tied to the object on which to perform the operation? Why do...
1
by: bryja_klaudiusz[at]poczta[dot]fm | last post by:
Hi, I have code that load DataSet with data from SQL Server Database using OLE DB. When I want to fill datagrid with data I got error 0x80070057 (something like 'Zero is not valid value, use...
2
by: I am Sam | last post by:
Can someone tell me what is wrong with this web.config file? Whenever I try to open a file in the protected directory "Administration" I get an error message indicating that the <system.web>...
3
by: MikeM | last post by:
I've been trying to locate some property or method that will allow programmatic access to the "loginUrl" attribute in the web.config file in the <system.web> -> <authentication> element when the...
0
by: Chinns Arumugam | last post by:
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. ...
5
by: Nathan Sokalski | last post by:
My Web.config file contains the following section to register some of my UserControls: <pages> <controls> <add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/> <add tagPrefix="NATE"...
1
by: kpap | last post by:
Hi, I started programming with DB2 recently. I have a C# .NET application that selects data from DB2 database into a DataSet object, changes the data in the DataSet object, copies the changed...
0
by: nappingcub | last post by:
This is my first time coding a web service in .NET and ran into a slight snag that I was hoping that anyone could help me out on. I'm using the generic Hello World web service that is stubbed out on...
0
by: enggwaqas | last post by:
I am exposing my Biztalk orchestration as a web service and want to consume this web service asyncly, but when i added web reference in my visual studio project it isn't displying Begin<Web Method...
4
by: cghost | last post by:
I'm attempting to build website that was previously published using VS.NET 2005 and the .Net framework 2.0, the site is using a local sql server as the data source. This copy i'm attempting to...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.