473,382 Members | 1,389 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,382 software developers and data experts.

SOAP help -- parsing returned string

YYZ
I've got a piece of code provided by a third party that we are trying
to integrate with. We are using VB 2003, and the code is supposed to
send a SOAP request to their servers and receive a message. All works
great, I just don't know what to do with the returned data in the
format it is in. I get back a whole bunch of SOAP stuff wrapped
around a valid XML document (well, it WOULD be valid) but the XML is
all escaped. Here is a small sample...

<noname xsi:type="xsd:string">&lt;RESPONSE_GROUP MISMOVersionID=&quot;
2.1&quot;&gt;

As you can see, the last part of the SOAP (envelope?) is the
<noname....stuff, then the information I want starts. But < is now
&lt; and is not &gt; and quotes are &quot;

I remember all of this from my HTML days, but my thinking is that I
don't want to do some fancy string manipulation to pull out all the
stuff I need, then do a bunch of replace calls to change those escape
sequences to <. and " - -I mean, what if they escape somethign else
that I forget to check for?

My thinking is that this is standard SOAP stuff, and that if I only
had some direction, I could create some kind of SOAP message, and call
the "Decode" function or whatever on it, and I'd get what I really
wanted.

Is that correct? Can someone help me?

Thanks for any hints.

Matt

Feb 16 '07 #1
1 1369
"YYZ" <ma********@gmail.comwrote in news:1171648927.651283.300370
@k78g2000cwa.googlegroups.com:
<noname xsi:type="xsd:string">&lt;RESPONSE_GROUP MISMOVersionID=&quot;
2.1&quot;&gt;

As you can see, the last part of the SOAP (envelope?) is the
<noname....stuff, then the information I want starts. But < is now
&lt; and is not &gt; and quotes are &quot;

I remember all of this from my HTML days, but my thinking is that I
don't want to do some fancy string manipulation to pull out all the
stuff I need, then do a bunch of replace calls to change those escape
sequences to <. and " - -I mean, what if they escape somethign else
that I forget to check for?

Use HTMLDecode to unescape the string.

HTMLDecode is located in the System.Web.HttpServerUtility namespace.
My thinking is that this is standard SOAP stuff, and that if I only
had some direction, I could create some kind of SOAP message, and call
the "Decode" function or whatever on it, and I'd get what I really
wanted.
Feb 16 '07 #2

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

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
0
by: Marc van Boven | last post by:
I'm stuck with the following problem: My nusoap-client calls a server-function giveCombination(). The function giveCombination should return something like array( => array( 'a_id' => 6,...
1
by: Dr. Frankenchurn | last post by:
I have a question regarding SOAP. A basic "Hello World" web service was written then requested from an IIS server via TELNET. When a malformed request was sent, a SOAP exception was returned,...
0
by: S. Shawn Mehaffie | last post by:
I really need some help and know there are a lot of .Net Guru's taht read these post and I need help.Below is what I am trying to do: I have a web service that returns a class object that...
3
by: JRey | last post by:
Does .Net generate the classes for Faults when they are specified in the WSDL. I tried defining them and then generating a proxy, and it did not appear to do it. On the Java side it did generate...
31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
6
by: John | last post by:
I'm trying to call a Webservice (Non-.NET) That requires the insertion of security credentials into the SOAP header. Up until know I've been creating Dynamic proxy classes to call web services and...
4
by: stroudg2 | last post by:
Situation: I have been tasked to provide a non-intrusive solution to allow .NET web services to grab an incoming SOAP header and process the credentials stored within in such a way that a...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.