本文介绍了消耗wsdl文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他们

Hi they

public GetStationsResponseType getStations() throws RemoteException {
	// TODO Auto-generated method stub
	if(farePortType == null)
		_initFarePortTypeProxy();
	return farePortType.getStations();
}

@Override
public GetFareResponseType getFare(GetFareRequestType parameters)
		throws RemoteException {
	if(farePortType == null)
		_initFarePortTypeProxy();
	return farePortType.getFare(parameters);
}



我正在使用代理类来重新整理响应类型的数据,上述代码似乎可以正常工作,所以我要调用此方法以通过WSDL从Web服务中检索信息.

问候

Arun



I am using proxy class to retieve data which is response type the above code does seem to work so hw to i call this method to retrieve information from the webservice via WSDL

regards

Arun

推荐答案


org.apache.jasper.JasperException: An exception occurred processing JSP page /Webassign2/test2.jsp at line 25

22:    String getDest = request.getParameter("destin");
23:    farecalculator.setDestinationStation(getDest);
24:    farecalculator.setSourceStation(getsource);
25:    String getFarePortType10mtemp = sampleAreaServiceProxyid.getFare(farecalculator).getCurrency();



我在编译时遇到此错误.希望获得一些帮助.

问候

阿伦(Arun)



this error i get when i compile.Hoping for some help.

Regards

Arun


这篇关于消耗wsdl文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 04:32