Two Laptop Bag
The moose likes Other Languages and the fly likes Accessing the host name,method and class used by the webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Accessing the host name,method and class used by the webservice " Watch "Accessing the host name,method and class used by the webservice " New topic
Author

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

Sharmilily Sha
Greenhorn

Joined: Feb 17, 2012
Posts: 11
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

Joined: Mar 24, 2008
Posts: 3899
    
    9

Are you talking about the C# code or something else?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Sharmilily Sha
Greenhorn

Joined: Feb 17, 2012
Posts: 11
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

Joined: Mar 24, 2008
Posts: 3899
    
    9

.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

Joined: Feb 17, 2012
Posts: 11
Hi
Yes i want to extract all this from the client side . and then monitor the health of the web service.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3899
    
    9

Moved to Other Languages forum.
Sharmilily Sha
Greenhorn

Joined: Feb 17, 2012
Posts: 11
Hmmm... Has the doubt been cleared?
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3991
    
  18

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.


The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Accessing the host name,method and class used by the webservice
 
jQuery in Action, 3rd edition