WMB问题,使用WebService客户端调
我用程序调用时,使用的是一个Webservice的客户端,Webservice的客户端发送的是soap报文。
未加Soap Extract 节点之前内容为:
XMLNSC
XmlDeclaration
Version:CHARACTER:1.0
Encoding:CHARACTER:UTF-8
Envelope
soapenv:CHARACTER:http://schemas.xmlsoap.org/soap/envelope/
xsd:CHARACTER:http://www.w3.org/2001/XMLSchema
xsi:CHARACTER:http://www.w3.org/2001/XMLSchema-instance
Body
exchange
ns1:CHARACTER:http://www.chinatelecom.edc.com
encodingStyle:CHARACTER:http://schemas.xmlsoap.org/soap/encoding/
arg0:CHARACTER:<?xml version="1.0" encoding="UTF-8"?>
在Route之前加一个Soap Extract 节点, soap 的envelope和header 都去掉了,
内容为:
XMLNSC
XmlDeclaration
Version:CHARACTER:1.0
Encoding:CHARACTER:UTF-8
exchange
ns1:CHARACTER:http://www.chinatelecom.edc.com
encodingStyle:CHARACTER:http://schemas.xmlsoap.org/soap/encoding/
arg0:CHARACTER:<?xml version="1.0" encoding="UTF-8"?>
我现在的问题是:
XmlDeclaration如何去掉呢?还有exchange如何去掉?这些大概就是我WebService客户端调不成功的原因吧。