简体   繁体   中英

Does anyone know where I can find a good example of using the OFX wsdl file with C#?

I am looking for a good example of OFX combined with C#. I have search for examples, but cannot find any. I have never worked with OFX and the code has little documentation available and I have never worked with wsdl's before. I know how to include it in the project, but actually using the code is confusing. Any help would be appreciated.

For WSDL client you can use WSDL.EXE to generate client side proxy classes.

wsdl /out:myProxyClass.cs http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL

You can look at OFXSharp . It is an open source C# parser for OFX protocol.

var parser = new OFXDocumentParser();
var ofxDocument = parser.Import(new FileStream(@"c:\ofxdoc.ofx", FileMode.Open));

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM