Application to monitor thread in webservice and mongodb - web-services

I am trying to monitor my application from end-to-end. My Application consist of a client (Written in asp .net), a webservice (written in java), a database (mongodb). Webservice and mongodb are hosted on one linux server. I already tried installing no of tools on server to analyze data but no one is perfect till now. I have installed munin (Its not showing data for mongodb), wireshark (On linux environment only tshark work, no GUI). JMX from remote machine (Its not showing data for soap based webservice). I find very few tutorial configuring jmx with soap based webservice and no one is good. Please help me to suggest good monitoring tool in my scenario.

Related

When to use standalone web service approach

I just started learning web services. In bottom up approach, I have found some examples without being deployed in any application server. I mean a standalone web service application.
Here is an example of such type.
I have also given a try and done a walk-through of deployable simple web service examples.
So far to my learning of web services, I got to know that firstly, bottom-up- approach is not recommended. Now, in bottom-up approach, this standalone web service. When is it applicable to follow standalone web service procedure?
Endpoint.publish();
I guess, this approach is provided just for beginners and not to follow as a real-time practice. Is my interpretation correct?
I would make my application as a standalone web service if it will have multiple clients like:
Web Client via a web browser
Mobile App Client
Desktop Client
Then I could build every one of them alone using whatever the technology I prefer, and make it consumes my standalone web service.
For example, You could imagine the guys behind Twitter started developing it by building their core system as web service, then they build an independent web interface application for it, then they built the Twitter Android and iPhone APP, and another one came and introduced a Twitter Desktop client like Tweetbot and TweetDeck ... etc

mobile web service server

I have a device running on windowse ce 6.0 I would like the customer to be able go to the device ip and see simlpe reports or change basic settings.
is there is an option in the device to have a simpe asp web site? or only a web service to download an xml file with whats going on in the device?
I dont want to put this information in a server, I want the client to go direct to his device.
There is a commercial product called Padarn that is a lightweight ASP.NET Web Server that could do it.
For full disclosure, I'm the one who wrote and is selling Padarn.
I have done a web server for WM that does special things on the device if the device's web site is invoked with args. The code can make the device beep or do report some information of the device.
I can post the code etc, if you like.
~josef

installing an XML Websevice on Windows7 home basic

i've searched the site for this answer but couldnt find a good answer.
My client has a computer with Windows7 Home Basic Installed in his workstation (Thank you HP).
and i need to install a web service on IIS. Web service is written in c# (.asmx). When i installed IIS into that windows, i've realized that there is no IIS comsole available in windows7 home basic machines.
is there a way to register web service from the command prompt? this web service is a middleware for communication several mobile devices with the sql server on the machine so it has to be able to connect form outer ip's too.
I've tried IISExpress but it only lets connectiong from localhost.
I cannot format his harddisk, also my client doesnt really want an edition upgrade.
Thanks for spending your time.
I did a quick google search on hosting a web service (*.asmx) without IIS, and found this article: Run ASMX Without IIS. A quick glance at it looks like you'd wind up writing your own host and implementing your own web server.
If this is the only solution available, I think you'd be far better off to rewrite your ASMX web service as a WCF web service, and then either self-host it or host it in a Windows Service.

Is there a way to access Microsoft OCS Directory/Presence information using a web service?

We are working on a client app that should search and download directory information from Microsoft OCS server (OCS old as well as Lync).
Does OCS provide web services type api?
From what I understand, the client needs to do sip handshake before it can do directory related queries.
Having dependency on sip stack is not desirable.
So I am wondering if there is a way (like SOAP web service or something like that) to do it.
The client is a C++ client with access to gSoap or curl type library running on Linux platform.
Thanks for your help.
No, there is no web service out of the box that gives you what you need.
I thin your best bet would be to build a UCMA application that would sit on an application server inside your OCS/Lync infrastructure. You could then build a web service to access this.
For OCS 2007, you'd need to use UCMA 1.0. For OCS 2007 R2, UCMA 2.0 and for Lync, UCMA 3.0

server side for mobile application in java me

Im making mobile application in java me and I want to have server side from where Ill get some information for the application (not to have much information in xml file in the application).
I dont have much experience with servers, so I would like to know how to deal with it.
Probably I should make some web services.
Im working in NetBeans 6.7
Thanks in advance!
Milan
Assuming you want to stick with Java, I would implement your server side as a simple Servlet. If all you want to do is send an XML file to the client I think using a proper web services stack is probably overkill and will over complicate things.
Using this approach your mobile app simply makes an HTTP connection to your Servlet, which responds with your XML file.
In fact, if it's a static XML file you don't need any kind of server side code, any web server would suffice.
The Glassfish application server that probably comes with Netbeans will let you run a Java servlet on your local computer.
Accessing it from a J2ME emulator running on the same computer is easy.
Accessing a servlet from a MIDlet running on a real mobile phone is more complicated.
I would suggest looking at Google App Engine for easy deployment of a test server that can be accessed from a mobile phone.
I recommend you to use Http Post instead of Web services. Some mobile devices does not support web services (defined in JSR 172)