Resturn value of WSDL

Hi,
I am trying to use a webservice which checks the driving licence in UK with the given information such as name surname and DOB. The return text I got is

<wddxPacket version='1.0'><header/><data><struct><var name='LICENSE_MATCH'><string><wddxPacket version='1.0'><header/><data><string>0</string></data></wddxPacket></string></var></struct></data></wddxPacket>

In this case, the licence number didn't match (0) and when it is matched the value is (1)

is there anyway to parse this output? (I am thinking something like XML and searching withing the document)

Regards,
Bill
bilgehanyildirimAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wildzeroCommented:
A real cheap and nasty way would be do check if this exists "<string>0</string>" and if so then u know it didn't match otherwise it did.

;-)
0
bilgehanyildirimAuthor Commented:
any better idea :)
0
wildzeroCommented:
It seems my nasty way is probly the best way, otherwise you'll have to try and sort out the xml etc.
A quick
AnsiPOs('<string>0</string>', YourText) > 0
would be fine
=)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.