开发者

Problem in accessing wsdl from URL(http) from bpel

HI, I want to access wsdl file that is imported in bpel definition, can i do that or i will have to create local copy and then use it? Because whenever it run t开发者_开发问答he process it gives me this:

FATAL - GeronimoLog.fatal(116) | openResource: invalid scheme (should be urn:)  http://localhost:9090/axis2/services/Inverse?wsdl

I am using ODE engine.

thx


AL


Especially with Apache ODE you need to create a local copy of the WSDL. This also makes sense IMO, since your BPEL process is bound to this particular WSDL and by maintaining a local copy you avoid unpredictable results that may occur when the remote WSDL changes for some reason while the process instance is still running. I guess you wouldn't like to implement a Java class that inherits from a Java interface that might be changed at a remote location and thus breaks your implementation.


You need a local copy of the WSDL along with the BPEL File. In the WSDL File you should define PartnerLink Types and in the BPEL File you have to define partner link of those partnerlink types. Then you can access it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜