| David Yao 2005-07-04, 2:47 am |
| I have a web method signatured like this
[WebMethod]
public string MyMethod(string XmlString) { return someXmlString;} whit WSE
2.0 enabled.
I call this Method from other WebServices or DLL files , there is no problem
at all, however, when I try to call this from BTS WSE adapter port, I allways
got an error said the input is not valid unless the above XmlString is a pure
string format rather xml format.
eg, if I passed something like this
<ns0:MyMethod
xmlns:ns0="http://www.company.co.nz/webservices/"><ns0:XmlString><hello
/></ns0:XmlString></ns0:MyMethod>
the orchestration failed to pass the message to webservice.
if I pass something like this
<ns0:MyMethod
xmlns:ns0="http://www.company.co.nz/webservices/"><ns0:XmlString>hello</ns0:XmlString></ns0:MyMethod>
then the call success. the only difference is HELLO is xml format or not
Any help would great
Thanks,
David
|