ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Web-Related >> Web-Related-AllOther
 
 


 

Back to Questions Page
 
Question
what is the difference between weblogic and 
websphere,jboss,tomcat?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
well.....weblogic acts as application server,wheras tomcat 
act as webserver.......

weblogic supports ejb...wheras tomcat doesn't...
   
WebServer is supposed to support HTTP and/or FTP, SSL 
HTTPS, etc protocols..Doesnt have to do anything with Java. 

An Appserver is an extension of WebServer, which basically 
should support all the technologies in J2EE spec 
(JavaServlets, JSP, JMS ...) ..

coming to websphere and jboss both belongs to application 
server......
 
0
Amit....
 
 
Question
How to Identify the first string and last string in a HTML 
page (source code)?
Rank Answer Posted By  
 Question Submitted By :: Ashok J
I also faced this Question!!   © ALL Interview .com
Answer
<html>
</html>
 
0
Rafiq
 
 
Question
actually, i have integrated oscommerce and forum in my
joomla website.And have made common login to all of
these.when i register a new user, it'll get registered
successfully.But when i try to login from the frontend and
also from the forum ,it is displaying the msg "you are not
authorised to view this resource". but  logging in
successfully through oscommerce.why it is so?
Rank Answer Posted By  
 Question Submitted By :: Manjula
I also faced this Question!!   © ALL Interview .com
Answer
its not the interview question.its the problem which i m
facing in my work.If someone knows the answer, please
forward your answer to me.

thankz in advance.
 
0
Manjula
 
 
 
Question
How do I provide information to the Web Service when the 
information is required as a SOAP Header?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
The key here is the Web Service proxy you created using 
wsdl.exe or through Visual Studio .NET's Add Web Reference 
menu option. If you happen to download a WSDL file for a 
Web Service that requires a SOAP header, .NET will create a 
SoapHeader class in the proxy source file. Using the 
previous example:     
      public class Service1 : 
System.Web.Services.Protocols.SoapHttpClientProtocol 
        {    
            public AuthToken AuthTokenValue;        
        
        [System.Xml.Serialization.XmlRootAttribute
(Namespace="http://tempuri.org/", IsNullable=false)]        
            public class AuthToken : SoapHeader {        
public string Token;    }}   
     
In this case, when you create an instance of the proxy in 
your main application file, you'll also create an instance 
of the AuthToken class and assign the string:     
     Service1 objSvc = new Service1();
     processingobjSvc.AuthTokenValue = new AuthToken();
     objSvc.AuthTokenValue.Token = <ACTUAL token value>;
     Web Servicestring strResult = 
objSvc.MyBillableWebMethod();   
 
0
Swapna
 
 
Question
What is WSDL?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
WSDL is the Web Service Description Language, and it is 
implemented as a specific XML vocabulary. While it's very 
much more complex than what can be described here, there 
are two important aspects to WSDL with which you should be 
aware. 

First, WSDL provides instructions to consumers of Web 
Services to describe the layout and contents of the SOAP 
packets  the Web Service intends to issue. It's an 
interface description document, of sorts. And second, it 
isn't intended that you  read and interpret the WSDL. 

Rather, WSDL should be processed by machine, typically to 
generate proxy source code (.NET) or create dynamic proxies 
on the fly (the SOAP Toolkit or Web Service Behavior).
 
0
Swapna
 
 
Answer
Web Service Description language
WSDL is an XML format for describing network services as a 
set of endpoints operating on messages containing either 
document-oriented or procedure-oriented information.
 
0
Kanu
 
 
Question
How does dynamic discovery work?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
ASP.NET maps the file name extension VSDISCO to an HTTP 
handler that scans the host  directory and subdirectories 
for ASMX and DISCO files and returns a dynamically 
generated DISCO document. 

A client who requests a VSDISCO file gets back what appears 
to be a static DISCO document.

Note that VSDISCO files are disabled in the release version 
of ASP.NET. You can reenable them by uncommenting the 
line   in the <HTTPHANDLERS>section of Machine.config that 
maps *.vsdisco to 
System.Web.Services.Discovery.DiscoveryRequestHandler and 
granting the ASPNET  user account permission to read the 
IIS metabase. However, Microsoft is actively discouraging 
the use of VSDISCO files because they could represent a 
threat to Web server security.
 
0
Swapna
 
 
Question
What are VSDISCO files?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
VSDISCO files are DISCO files that support dynamic 
discovery of Web services. If you place the following 
VSDISCO file in a directory on your Web server, for 
example, it returns   references to all ASMX and DISCO 
files in the host directory and any subdirectories not 
noted in <EXCLUDE>elements:

             
                <DYNAMICDISCOVERY
                  xmlns="urn:schemas-
dynamicdiscovery:disco.2000-03-17">
                  <EXCLUDE path="_vti_cnf" />
                  <EXCLUDE path="_vti_pvt" />
                  <EXCLUDE path="_vti_log" />
                  <EXCLUDE path="_vti_script" />
                  <EXCLUDE path="_vti_txt" />
                </DYNAMICDISCOVERY>   
 
0
Swapna
 
 
Answer
VSDISCO files are DISCO files that enable dynamic discovery 
of Web Services. ASP.NET links the VSDISCO to a HTTP 
handler that scans the host directory and subdirectories 
for ASMX and DISCO files and returns a dynamically 
generated DISCO document. A client who requests a VSDISCO 
file gets back what appears to be a static DISCO document
 
0
Guest
 
 
Question
What are the various ways of accessing a web service?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
1. Asynchronous Call

Application can make a call to the Webservice and then 
continue to do whatever it wants to do. When the service is 
ready it will notify the application. Application can use 
BEGIN and END method to make asynchronous call to the web 
method. We can use either a WaitHandle or a Delegate object 
when making asynchronous call.


The WaitHandle class share resources between several 
objects. It provides several methods which will wait for 
the resources to become available.


The easiest and most powerful way to implement an 
asynchronous call is using a delegate object. A delegate 
object wraps up a callback function. The idea is to pass a 
method in the invocation of the web method. When the web 
method has finished  it will call this callback function to 
process the result.
 
2. Synchronous Call
Application has to wait until execution has completed.
 
 


 
 
0
Swapna
 
 
Question
True or False: To test a Web service you must create a 
windows application or Web application to consume this 
service?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
False.
 
0
Swapna
 
 
Answer
False but not always
 
0
Ashish
 
 
Answer
false
 
0
Shivani
 
 
Question
What is the transport protocol you use to call a Web 
service SOAP?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
HTTP with SOAP.
 
0
Swapna
 
 
Question
Can you give an example of when it would be appropriate to 
use a web service as opposed to non-serviced .NET component?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
Web service is one of main component in Service Oriented 
Architecture. You could use web services when your clients 
and servers are running on different networks and also 
different platforms. 

This provides a loosely coupled system. And also if the 
client is behind the firewall it would be easy to use web 
service since it runs on port 80 (by default) instead of 
having some thing else in Service Oriented Architecture 
applications.
 
0
Swapna
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com