Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

java - Create web service using Eclipse -


i trying create first webservice using eclipse javaee under axis2, following turorial eclipse tutorial learn how make it.i make webservice when want assure ws has been deployed through viewing through url, http status 400 occure. how can know error?? here make exactly:

  • i make settings in preferences [ ant , axis2, tomcat , java ].
  • new -> new dynamic web page
  • new ->java (i create class want convert ws)
  • new ->web service (i want create bottom ws).
  • type http://localhost:8080/axis2/services/listservices in url of browser

this return http status 404 - /services/listservices

can 1 tell me how can know error? or how can define it?

edit: exception happen in console of eclipse :

org.apache.axis2.transport.http.axisadminservlet java.lang.classnotfoundexception: org.apache.axis2.transport.http.axisadminservlet 

what should ,in configuration specify axis2 , eclipse shows

axis2 runtime loaded 

after creating new work space , create webservice again, output appears in console

 dec 20, 2010 8:32:04 pm org.apache.catalina.core.aprlifecyclelistener init  info: apr based apache tomcat native library allows optimal performance in  production environments not found on java.library.path: c:\program        files\java\jdk1.6.0_18\bin;.;c:\windows\sun\java\bin;c:\windows\system32;c:\windows;f:/alaa college/year 4/1st     semester/advance sw/libraries/eclipse/jre/bin/client;f:/alaa college/year 4/1st     semester/advance sw/libraries/eclipse/jre/bin;d:\app\alooosh\product\11.1.0\db_1\bin;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program files\java\jdk1.6.0_18\bin;%ant_home%\bin;%axis2_home%\bin;%catalina_home%\bin;c:\program files\matlab\r2008a\bin;c:\program files\matlab\r2008a\bin\win32; dec 20, 2010 8:32:05 pm org.apache.tomcat.util.digester.setpropertiesrule begin warning: [setpropertiesrule]{server/service/engine/host/context} setting property 'source'      'org.eclipse.jst.jee.server:testfirst' did not find matching property.  dec 20, 2010 8:32:05 pm org.apache.coyote.http11.http11protocol init info: initializing coyote http/1.1 on http-8080 dec 20, 2010 8:32:05 pm org.apache.catalina.startup.catalina load info: initialization processed in 401 ms dec 20, 2010 8:32:05 pm org.apache.catalina.core.standardservice start info: starting service catalina  dec 20, 2010 8:32:05 pm org.apache.catalina.core.standardengine start info: starting servlet engine: apache tomcat/6.0.29 [info] deploying module: addressing-1.4 -     file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testf  irst/web-inf/modules/addressing-1.4.mar [info] deploying module: metadataexchange-1.4 -      file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/modules/mex-1.4.mar  [info] deploying module: ping-1.4 -      file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/modules/ping-1.4.mar  [info] deploying module: script-1.4 -  file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/modules/scripting-1.4.mar  [info] deploying module: smtpfault - file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/modules/smtpfault.mar [info] deploying module: soapmonitor-1.4 - file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/modules/soapmonitor-1.4.mar  [info] deploying web service: converter - file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/services/converter/ [info] deploying web service: version.aar - file:/d:/eclipseexcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testfirst/web-inf/services/version.aar  dec 20, 2010 8:32:06 pm org.apache.coyote.http11.http11protocol start  info: starting coyote http/1.1 on http-8080  dec 20, 2010 8:32:06 pm org.apache.jk.common.channelsocket init info: jk: ajp13 listening on /0.0.0.0:8009 dec 20, 2010 8:32:06 pm org.apache.jk.server.jkmain start  info: jk running id=0 time=0/19  config=null dec 20, 2010 8:32:06 pm org.apache.catalina.startup.catalina start info: server startup in 1383 ms 

these own post creating webservice , use service in android. work properly.

try once below link

http://lukencode.com/2010/04/27/calling-web-services-in-android-using-httpclient/#comment-179


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -