DavidShields Posted February 24, 2015 Posted February 24, 2015 anyone have a VB.net (VS2013) example of consuming the SOAP api ?
mikecampbell Posted May 7, 2015 Posted May 7, 2015 Can't help you on the VB front. I'm currently working on some Ruby integration but it's been a bit of a nightmare getting my head around WCF. Pretty much got the requests down now, but unable to get any of the parameters described in the API docs working. My Ruby SOAP client produces the following XML for the request (to GetStaff for instance): https://api.progresso.net/Services/PerCall/StaffRecord.svc http://tempuri.org/IProgressoMis/GetStaff Active However, it returns all staff no matter what I change the to (and there's no error, it's as though it's being completely ignored). Same applies for other methods/parameters. Don't s'pose anyone with experience of the API can shed any light on how I need to format these filter params? Would be very grateful. (P.S. Didn't mean to hijack your thread, but thought it would be better here than a new thread)
mikecampbell Posted May 7, 2015 Posted May 7, 2015 Scratch that, sorted it. After digging through the WSDL imports, it appears that the input parameters are named like "p_status", etc, and need the tns namespace too, so Active worked. I'm guessing .NET WCF libraries work all this stuff out for you.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now