473,383 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

SOAP Response question

Hi,
I have problem getting the right information out of a SOAP response.. I get the xml response, and everything looks right, but I would like to be able to extract the information that I need from the response.

I've tried with the code below, but found out that it doesn't work with VB.NET 2010.

Can anyone give me an example that would work instead?

Expand|Select|Wrap|Line Numbers
  1. Dim strReturn As String
  2. Dim objReturn As New MSXML.DOMDocument
  3.  
  4. strReturn = request.responseText
  5. objReturn.loadXML(strReturn)
  6.  
  7. strQuery = "SOAP:Envelope/SOAP:Body/GetBalanceResult"
  8. NewBalance = objReturn.selectSingleNode(strQuery).text
  9.  
Mar 23 '11 #1
0 1061

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Artur Niesporek | last post by:
Hi guys, when receiving a soap response posted back from a server i get the following error when deserializing the soap message. The problem seems to be with the item-collection of the...
0
by: McIndoeLab | last post by:
I am using .net Web Service to get SOAP response back to a consuming ASP.NET web page. My object model has a class called Strain. I have a Web Service class with exposed method GetStrains(int...
4
by: Jit Prasad | last post by:
I have been consuming a IBM Websphere (Java) web service using .Net 1.0 front end writen in VB.NET. The proxy class submits a soap request and gets a soap response. When I migrated the front-end...
4
by: Christian Wilhelm | last post by:
Hi! I have a Problem understanding the deserialisation of SOAP-Responses. The "normal" way, calling a XML WebService is to use WSDL 1) Send Request 2) Get SOAP-Response 3) With Informations...
2
by: Bob | last post by:
The .NET web service proxy class is great for transparent app process via SOAP calls. I have a need to log the raw SOAP response messages. Is there an easy way to do this? I saw there is already...
1
by: Sagaar | last post by:
Hi I want to wait for SOAP response for 10 sec if it doesnt come up I want to cancel and notify the user... how to do this in asp.net using c#..any ideas? Any pointers, links Thn in...
5
by: Robbert van Geldrop | last post by:
Hello, I have a problem consuming a WebService which appears to be dependent of the type of network I am on: The following SOAP response is not processed when I am connected over the internet...
1
by: Bert Leu | last post by:
Hi I've got two questions to Soap unter VB.Net 1) if one creates a WebService with a method i.g. "MethodX" (with VB.Net), the Soap-Response looks like: <soap:Envelope...>...
1
by: EradicusMax | last post by:
We have a vendor which does not use SOAP. I would like to create a web service to wrap all the http requests and responses to and from the vendor so that our clients can use SOAP. On the reporting...
0
by: Leafy | last post by:
Looks like it had to do with my breakpoints. It must have slowed my transaction time causing a timeout. It just appeared that SOAPUI wasn't returning a response. Thanks! Leafy --------- ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.