Click here to Skip to main content
15,916,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to use SOAP return parameters from endpoint in C# application. I am able to find all parameters from Firefox browser using steps given below:-

1. Open website eg. "www.xyz.com".
2. RC on browser and select Inspect Element(Q) (Firefox browser).
3. There are lots of method(GET/POST) in "Network" section of Inspect Element.
4. Select a POST method, then i got return SOAP content type XML in "Param" section of Inspect Element.


Now, I want to get that SOAP XML in my c# code. Please suggest any solution.
Posted
Updated 20-Sep-15 21:27pm
v2

1 solution

If i got this right from the question, you need the content of
www.xyz.com/thewebservice.asmx?wsdl
So do a get in the above url to get the xml
 
Share this answer
 
v3
Comments
uniquedeepak 21-Sep-15 4:26am    
Not like that, Actually i just have a website, After login there are lots of data that i want to use in my application.

In Inspect Element, i got some details given below:-

Method :- POST
File :- https://app2102.bws.birst.com/SMIWeb/services/Adhoc.AdhocHttpSoap11Endpoint/
Domain :- https://app2102.bws.birst.com/SMIWeb/services/Adhoc.AdhocHttpSoap11Endpoint/

And Soap :-<soap-env:envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:body><ns:executequery xmlns:ns="http://adhoc.WebServices.successmetricsinc.com">

<ns:querystring>SELECT USING OUTER JOIN (DRANK([Dim Date.Date BK]) <= 6) 'COL0' , [Amount] 'COL1' , [Dim Company.Environment ID] 'COL2' ,
[Dim Date.Date BK] 'COL3' , [Dim Organizational Levels-CompressedLevels.Level1 Name] 'COL4' FROM [ALL] WHERE
( ( ([Dim Date.Calendar Year] <= GetVariable('CURRENT_YEAR')) ) AND ( [Dim Company-Client Hierarchy.Company Name]='Fantasy World' )
AND ( [Dim Company.Client BK]=6001463 ) AND ( [Dim Date-CY Hierarchy.Calendar Year]=2015 ) AND ( [Dim Date.Date BK]='2015-02-04' ) )
DISPLAY WHERE ( ( [COL0]='true' ) AND ( [COL2]=1 ) )




I have to get "Quesrystring" in my app.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900