Not able to call OutboundService web service in C# usng the following code:
B2BWSDefaultPortClient client = new B2BWSDefaultPortClient();
OutboundServiceRequest req = new OutboundServiceRequest();
PartyId fromParty = new PartyId();
fromParty.Value = "Receiver_AS84";
fromParty.type = "string";
PartyId toParty = new PartyId();
toParty.Value = "Sender_AS84";
toParty.type = "string";
req.from = fromParty;
req.to = toParty;
req.messageId = "1000111";
req.encoding = "UTF-8";
ItemsChoiceType[] docPropertyNames = new ItemsChoiceType[] {ItemsChoiceType.documentProtocolVersion,ItemsChoiceType.documentTypeName};
req.ItemsElementName = docPropertyNames;
string[] docProps = new string[] { "AS84_Protocol_Ver", "AS84_Type_Xml" };
req.Items = docProps;
req.payload = File.ReadAllText("C:\\Temp\\TEST_XML.XML");
OutboundServiceResponse resp = client.Outbound(req);
Getting the below error
[org.xml.sax.SAXParseException; XML-24129: (Error) prefix of qname "xsd" can not be resolved, org.xml.sax.SAXParseException; XML-24065: (Error) xsi:type "xsd:string" not resolved to a type definition]