Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing the host name,method and class used by the webservice

 
Sharmilily Sha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to access the
Host name
Method
Class
parameters to method
of a webservice in c# ?
I know it is with an xml reader but it is helping in accessing specific parameteric values.
Help needed.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about the C# code or something else?
 
Sharmilily Sha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Yes a c# code for the same.I need to extract the method name,host and class and the parameters of the web service method being used.
Also,I would like to know which of the following is a better option for reading an xml file when working with credentials:
1. XmlTextReader
2. XmlDocument
3. System.Xml.Linq
4. XmlNodeReader.

Please reply ASAP.
Thank you.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.I need to extract the method name,host and class and the parameters of the web service method being used.

Can you elaborate this more? Where are you going to extract this, from client side while invoking the services or...? If not what kind of a setup/environment are you talking about?
 
Sharmilily Sha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Yes i want to extract all this from the client side . and then monitor the health of the web service.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to Other Languages forum.
 
Sharmilily Sha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm... Has the doubt been cleared?
 
Stephan van Hulst
Bartender
Pie
Posts: 5589
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, the description of what you want to do is really vague. Please be detailed in what you're trying to achieve, your requirements, and what problems you're running into.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic