+---------------------+
| Stock Quote Example |
+---------------------+
This example demonstrates how to invoke an ASPX web service from Mule and
transform the result using XSLT and deserialise the result to a StockQuote
JavaBean. The example demonstrates using REST and SOAP to invoke the service.
For more information, refer to http://www.muledocs.org/Examples
+---------------------+
| Running the example |
+---------------------+
Simply use the shell script (Unix/Linux) or batch file (Windows) provided in
this directory to run the example.
Alternatively, if you have added Mule to your executable path as recommended in
INSTALL.txt, you can run the example from the command line as follows:
Linux / Unix
------------
mule -config file:conf/soap-config.xml
mule -config file:conf/wsdl-config.xml
mule -config file:conf/rest-config.xml
or
export MULE_LIB=./conf
mule -config soap-config.xml
mule -config wsdl-config.xml
mule -config rest-config.xml
Windows
-------
mule.bat -config file:conf/soap-config.xml
mule.bat -config file:conf/wsdl-config.xml
mule.bat -config file:conf/rest-config.xml
or
SET MULE_LIB=.\conf
mule.bat -config soap-config.xml
mule.bat -config wsdl-config.xml
mule.bat -config rest-config.xml
+-------------------+
| Firewall settings |
+-------------------+
If you are behind a firewall, you will need to configure the settings for your
HTTP proxy in the ./conf/proxy.properties file. Then you can run the example as
follows:
Linux / Unix
------------
mule -config file:conf/soap-config.xml -props ./conf/proxy.properties
mule -config file:conf/wsdl-config.xml -props ./conf/proxy.properties
mule -config file:conf/rest-config.xml -props ./conf/proxy.properties
Windows
-------
mule.bat -config file:conf/soap-config.xml -props .\conf\proxy.properties
mule.bat -config file:conf/wsdl-config.xml -props .\conf\proxy.properties
mule.bat -config file:conf/rest-config.xml -props .\conf\proxy.properties
+----------------------+
| Building the example |
+----------------------+
First, make sure you have set the MULE_HOME environment variable as recommended
in INSTALL.txt
Depending on the build tool you are using (Ant or Maven), you can build the
example by simply running "ant" or "mvn". This will compile the example
classes, produce a jar file, and copy everything to $MULE_HOME/lib/user, which
is where your custom classes and configuration files should go.
没有合适的资源?快使用搜索试试~ 我知道了~
mule_examples.rar_mule_mule 开发_mule-2.2.1-src
共227个文件
java:89个
xml:64个
properties:29个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 66 浏览量
2022-09-21
04:22:49
上传
评论
收藏 203KB RAR 举报
温馨提示
mule的一些例子注意需要mule-2.0.1的包
资源推荐
资源详情
资源评论
收起资源包目录
mule_examples.rar_mule_mule 开发_mule-2.2.1-src (227个子文件)
loanbroker.bat 2KB
stockquote.bat 1KB
hello.bat 872B
errorhandler.bat 848B
echo.bat 595B
scripting.bat 593B
logging.conf 228B
openejb.conf 168B
openejb.conf 146B
echo 790B
errorhandler 1KB
mule-banner.gif 6KB
hello 1KB
contents.html 2KB
restputget.html 2KB
resthelloworld.html 980B
index.html 697B
footer.html 408B
header.html 408B
welcome.html 301B
LoanBrokerEsbConfigurationBuilder.java 17KB
AbstractLoanBrokerApp.java 8KB
AbstractAsynchronousLoanBrokerTestCase.java 7KB
LoanBrokerApp.java 5KB
HelloSampleTestCase.java 5KB
ExceptionBean.java 4KB
LocaleMessage.java 4KB
HttpRequestToNameString.java 4KB
ErrorManager.java 4KB
Bank.java 3KB
DefaultLoanBroker.java 3KB
AbstractLoanBrokerTestCase.java 3KB
LocaleMessage.java 3KB
AbstractEchoTestCase.java 3KB
JBpmFunctionalTestCase.java 3KB
AbstractExceptionHandler.java 3KB
StockQuote.java 3KB
ErrorHandlerTestDataGenerator.java 2KB
ErrorMessage.java 2KB
CreditAgencyBean.java 2KB
BankQuotesAggregationLogic.java 2KB
RestRequestToCustomerRequest.java 2KB
DefaultLender.java 2KB
SynchronousLoanBroker.java 2KB
AbstractStockQuoteFunctionalTestCase.java 2KB
LoanBrokerQuoteRequest.java 2KB
CxfEchoTestCase.java 2KB
CreditProfileXmlToCreditProfile.java 2KB
BusinessErrorManager.java 2KB
SetLendersAsRecipients.java 2KB
CustomerQuoteRequest.java 2KB
ChatString.java 2KB
TransformersMule2669TestCase.java 2KB
BankQuotesInboundAggregator.java 2KB
LoanBrokerApp.java 2KB
VMLoanBrokerSynchronousFunctionalTestCase.java 2KB
BankQuotesResponseAggregator.java 1KB
NameString.java 1KB
PrepareLoanQuoteRequest.java 1KB
LoanQuoteRequestToCreditProfileArgs.java 1KB
FatalHandler.java 1KB
LocaleMessage.java 1KB
StdinToNameString.java 1KB
DefaultCreditAgency.java 1KB
NameStringToChatString.java 1KB
LoanQuote.java 1KB
ErrorMessageToException.java 1KB
ChatStringToString.java 1KB
BusinessHandler.java 1KB
LoanBrokerApp.java 1KB
CreditProfile.java 1KB
LocaleMessage.java 1KB
DefaultHandler.java 1KB
ExceptionToString.java 1KB
ExceptionBeanToErrorMessage.java 1KB
ErrorMessageToExceptionBean.java 1KB
Customer.java 1KB
Greeter.java 1KB
LoanBrokerService.java 1KB
StringToNameString.java 1KB
ScriptingExampleTestCase.java 1KB
BusinessException.java 1KB
FatalException.java 1KB
AsynchronousLoanBroker.java 1KB
CxfLoanBrokerAsynchronousFunctionalTestCase.java 1KB
ExceptionHandler.java 998B
CxfLoanBrokerSynchronousFunctionalTestCase.java 983B
HandlerException.java 971B
AxisEchoTestCase.java 959B
SimpleEchoComponent.java 957B
LoanBrokerEsbProgramaticTestCase.java 943B
AxisLoanBrokerAsynchronousFunctionalTestCase.java 929B
VMLoanBrokerAsynchronousFunctionalTestCase.java 928B
LoanBrokerException.java 866B
LenderService.java 840B
ErrorHandlerTestCase.java 811B
AxisLoanBrokerSynchronousFunctionalTestCase.java 799B
CreditAgencyHome.java 792B
CreditAgencyService.java 788B
BankService.java 783B
共 227 条
- 1
- 2
- 3
资源评论
朱moyimi
- 粉丝: 61
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功