How to run a SOAP request in C# or VB.net

Hey guys!!

I have a SOAP request that when it is copied into a procedure just about all the key words have red squiggly lines under them:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:alc="http://alchemy.goldstandard.com/">;
<soapenv:Header/>;
<soapenv:Body>;
<alc:ADRAdverseReactionsByDrugRequest>;
<alc:DrugIdentifier>;
<alc:ProductID>32717</alc:ProductID>;
</alc:DrugIdentifier>;
<alc:FilterBy>;
<alc:Severity>Severe</alc:Severity>;
<alc:Onset>Rapid</alc:Onset>;
</alc:FilterBy>;
</alc:ADRAdverseReactionsByDrugRequest>;
</soapenv:Body>;
</soapenv:Envelope>;

I think I can run this in C# or VB.Net(I have added Microsoft.VisualBasic) if I can get some help with the syntax.

Thanks,
Jerry
JDL129Asked:
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.

Monica PSoftware DeveloperCommented:
Hi Check this

http://stackoverflow.com/questions/5396671/how-to-send-receive-soap-request-and-response-using-c


http://mikehadlow.blogspot.in/2006/05/making-raw-web-service-calls-with.html


If you have Soap Web service URL ., then you can go for adding it as "Service Reference" (WINDOW) or "Web reference " (Web)

(right click on your project and select “Add Web Reference”, there you’ll need to write the address of the web service application.)
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
JDL129Author Commented:
Thanks for the directions!!!!!
0
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
Visual Basic.NET

From novice to tech pro — start learning today.