Deploy WebService using AXIS

xiaoxiao2021-03-06  56

When deploying AXIS, the Java class is changed to the JWS file, put it in the AXIS root directory to use http: // localhost: 8080 / axis, verify, you will miss the activeation.jar, mail.jar, xmlsec.jar, etc. Go to Jakata. Use http: // localhost: 8080 / axis / test.jws? WSDL test to see the WSDL file, automatically compile the Class file to write clients when writing clients under web-inf / jwsclasses directory: Call.Invoke (C ); Object [] c = {"1", new long (1)}; if it is written here, javax.xml.jaxrpcexception: Number of Parameters Passed in (1) Doesnot Match She Number of In / Inout Parameters 4) from the addparameter () Calls Note Axis-> Web-Inf-> Web.xml file is AXIS configuration file, not a website configuration file.

转载请注明原文地址:https://www.9cbs.com/read-113347.html

New Post(0)