BizTalk Server Orchestration - Submit XML string to Web Method via WSE adapter

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > Submit XML string to Web Method via WSE adapter





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Submit XML string to Web Method via WSE adapter
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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com