用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)报以下错误.
reference:
wsdl file-
<!--Generated by the Oracle JDeveloper Web Services WSDL Generator-->
<!--Date Created: Wed Mar 19 16:20:20 KST 2008-->
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/">
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema"/>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13676262/viewspace-227880/ ,如需转载,请注明出处,否则将追究法律责任。