【发布时间】:2015-04-23 12:36:39
【问题描述】:
我正在使用 WSO2 BPS 3.2.0。
我使用本教程开发了一个简单的 bpel 流程: http://thiliniishaka.blogspot.com/2012/10/develop-ws-bpel-process-using-wso2.html
有一个问题,因为两个 ws 使用相同的命名空间导入 http://ws.apache.org/axis2
所以我决定用不同的命名空间实现我自己的 Web 服务。 现在我在 Adder 和 Square 服务中遇到了这个问题:
The file cannot be imported because the namespace 'http://square.org.jorgesoftdevelop' does not match the target
namespace 'http://ws.apache.org/axis2' of the imported
document. EquationBPELProccesArtifacts.wsdl
The file cannot be imported because the namespace
'http://adder.org.jorgesoftdevelop' does not match the target
namespace 'http://ws.apache.org/axis2' of the imported
document. EquationBPELProccesArtifacts.wsdl
我的导入看起来像:
<import location="http://localhost:9765/services/AdderService?wsdl" namespace="http://adder.org.jorgesoftdevelop"/>
<import location="http://localhost:9765/services/MultiplyService?wsdl" namespace="http://multiply.org.jorgesoftdevelop"/>
<import location="http://localhost:9765/services/SubtractService?wsdl" namespace="http://org.jorgesoftdevelop"/>
<import location="http://localhost:9765/services/SquareService?wsdl" namespace="http://square.org.jorgesoftdevelop"/>
命名空间没问题。 我不在任何 ws 中使用 http://ws.apache.org/axis2 命名空间。
【问题讨论】: