我的url是:http://localhost:8084/PriceWebservice/services/CreatePrice?wsdl
用以下java语句可以调用,但是怎么用javascript调用呢
谁做过,帮帮我吧!谢谢了
package testwebserver.generated;import org.apache.axis.client.Service;
import org.apache.axis.client.Call;
import javax.xml.rpc.ServiceException;
import java.net.MalformedURLException;
import java.rmi.RemoteException;public class Bean1 {    public Bean1() {
    }    public static void main(String[] args) throws ServiceException,
            MalformedURLException, RemoteException {
        Bean1 bean1 = new Bean1();
        String endpoint = "http://localhost:8084/WebModule1/services/CreatePrice?wsdl";
    String method = "getPrice";
    Service service = new Service();
    Call call = (Call)service.createCall();
    call.setTargetEndpointAddress(new java.net.URL(endpoint));
    call.setOperationName(method);
    float myFund =(Float)call.invoke(new Object[]{100.0f});
    System.out.print(myFund);
    }
}