ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 用BPEL要访问已经部署好的EJB模块

用BPEL要访问已经部署好的EJB模块

原创 Linux操作系统 作者:jcooper123 时间:2008-04-03 14:13:45 0 删除 编辑

用JDeveloper把当前EJB模块部署到oracle oc4j.

然后在BPEL生成Partnerlink并利用wsdl文件访问EJB模块就正常.

测试了一下内容:

在BPEL console里测试, 如果输入aaa 就会返回000值, 不然就返回111值的简单的例子.

但是换成weblogic 8.1 version来做以上的操作就报错.

用JDeveloper来开发EJB模块并部署到WEBLOGIC SERVER是正常的.

这时候在BPEL console里, BPEL process之中invoke activity(connect EJB module)报以下错误.





111






exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect




 

reference:

wsdl file-


<!--Generated by the Oracle JDeveloper Web Services WSDL Generator-->
<!--Date Created: Wed Mar 19 16:20:20 KST 2008-->
name="MyWebService1"
targetNamespace="http://test1/SessionEJB.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://test1/SessionEJB.wsdl"
xmlns:ns1="http://test1/SessionEJB.xsd"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

targetNamespace="http://test1/SessionEJB.xsd"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema"/>



























wsdl:required="true"/>



 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13676262/viewspace-227880/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2008-04-02

  • 博文量
    1
  • 访问量
    1690