by Vjekoslav Babic on January 27, 2012
Once upon a time, Freddy has delivered a great series on connecting to NAV Web Services from a smorgasbord of technology flavors. If you are a .NET enthusiast, like me, the obvious choice is to connect through the tools that are at your disposal in Visual Studio: the proxy classes.
A proxy class is a class which wraps a Web service functionality into a strongly-typed .NET object, and allows simpler communication through Web services. It hides away all intricacies of SOAP communication, authentication, serialization and deserialization, and exposes simple, easy-to-use objects. Every NAV Web service results in a series of proxy classes, and in Visual Studio the generation of those classes is as simple as clicking a mouse a couple of times.
[click to continue reading…]
by Vjekoslav Babic on January 23, 2012
Last Monday I’ve attended my second daughter’s birth, and then spent the week trying to relieve my wife as much as possible from anything but breastfeeding.
As a matter of fact, I’d like to keep doing it, it was not only a great break from daily worries, but also a fantastic occasion to spend all the time available with my closest and dearest, which I am not sure when I will have next.
It seems that there is life to keep going on, so I’ll now try to be back with my work and my blog.
Let me introduce bug #5: fields within a FixedLayout control.
[click to continue reading…]
by Vjekoslav Babic on January 16, 2012
In my country, there’s a saying: “A good horse has a hundred flaws; a bad one has only one.” It’s bad.
People have asked me why I am doing this, and if I hate Web services because I’m blogging about their flaws. In fact, I love Web services, and as I said in the first post in this series – they are great. They are a good horse. A winner.
The reason why I am doing this is because I want to share the problems I encountered over months of working with Web services intensively, as well as the solutions or workarounds I identified.
Today, on the repertoire we have another security-related glitch, which has been confirmed to me by Microsoft, but as far as I know there has not yet been a hotfix for this.
Bug #4: accessing Web services in multi-company scenarios.
[click to continue reading…]
by Vjekoslav Babic on January 13, 2012
Soren has taught me yesterday that some of the bugs I encountered have been properly disinsected by Microsoft, so other than the workarounds I suggested, there is an option to apply the hotfix and forget about that one.
Today, I’ll explain a not so critical bug, as the one yesterday, but depending on what exactly you do with Web services, it may be more than just a nuisance.
Hello, bug #3: accessing WSDL without database-wide permissions.
[click to continue reading…]
by Vjekoslav Babic on January 12, 2012
The bug with which I started this series is nothing critical. It manifests rarely, you can easily work around it. It’s in the “so what” category.
But the one I’ll talk about today is a tough beast, with not-so-easy workarounds that cause as much headache as the bug itself.
So, here comes bug #2: setting a date to 0D.
[click to continue reading…]