0
Java 기반 클라이언트에 문자열을 반환하는 WCF 웹 서비스가 있습니다.WCF webmethod xml 문자열 문제
<OperationContract()>
Function SomeSvc(ByVal fileString As String) As String
fileString은 xml의 묶음입니다. 클라이언트가 응답을 받으면 my xmlstring이 텍스트로 인코딩됩니다.
<s:Body u:Id="_0">
<SomeSvcResponse xmlns="http://tempuri.org/">
<SomeSvcResult>> </ns2:FailureMessage> </ns:BOD> </ns:ConfirmDataArea> </ns:Confirm>
</SomeSvcResult>
</SomeSvcResponse>
</s:Body>
</s:Envelope>
왜 내 서비스가 xml 대신 인코딩 된 텍스트를 반환합니까?
non.net 클라이언트가 반환되는 XElement를 처리 할 수 있습니까? – Jacob
예 순수 XML로 반환되며 WSDL은 메시지 내용을 xsd : any로 정의합니다. –