我一直在尝试将BizTalk业务流程连接到外部axis2 Web服务几天,并遇到各种问题。
我采取的步骤是:
尝试接收回复时,我总是收到以下消息:
Inner exception: Invalid envelope namespace
Exception type: SoapException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: System.Web.Services.Protocols.SoapException ReadSoapException(System.Xml.XmlReader)
The following is a stack trace that identifies the location where the exception occured
at Microsoft.BizTalk.ExceptionUtil.ReadSoapException(XmlReader reader)
at Microsoft.BizTalk.XLANGs.BTXEngine.SoapExceptionMsg.SoapExceptionFormatter.Deserialize(XLANGMessage msg, Stream stm)
at Microsoft.BizTalk.XLANGs.BTXEngine.SoapExceptionMsg.get_TheException()
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXLogicalPortBinding.VerifyMessage(Envelope env, String typeName, Context cxt, OperationInfo op)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx)
该服务抛出SOAP异常,但消息(通过浏览器和Fiddler测试)不会返回SOAP信封包装。
另一个奇怪的是,在Fiddler中,消息中包含一些奇怪的字符。在大多数情况下:
70
{expected message}
0
我的问题是由于: