Microsoft is pleased to announce the availability of the developer preview for Microsoft Dynamics GP 2015. This partner only preview is available to any registered Microsoft Dynamics GP partner and can be downloaded from PartnerSource. The preview itself is comprised of four parts that once downloaded can be extracted into a single virtual machine instance containing a fully functional installation of the Microsoft Dynamics GP Service Based Architecture (SBA). Information on using the virtual machine can be found in the attached readme document (at bottom of article). The preview is intended to promote the exploration and early adoption of the Microsoft Dynamics GP Service Based Architecture by partners and ISV developers and cannot be used for customer test or production environments. The Service Based Architecture is a set of new component services as well as changes to the Dexterity IDE and runtime that enables the creation of REST based web service operations that leverage existing sanScript code based functionality. The Dexterity IDE has also been significantly enhanced to interoperate with Microsoft's .NET framework making it easier to use .NET classes and objects with in the sanScript language. Users of the preview are encouraged to regularly check our blogs for updates and informational examples on this new architecture.
File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part1.rarFile Size 4193280 KBhttps://mbs2.microsoft.com/fileexchange/?fileID=56a379f7-b982-49cd-aff7-ccc72beace34
File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part2.rarFile Size 4193280 KBhttps://mbs2.microsoft.com/fileexchange/?fileID=0b147e80-0b5d-4087-ba30-3a90e2d95496
File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part3.rarFile Size 4193280 KBhttps://mbs2.microsoft.com/fileexchange/?fileID=e26be271-a258-434f-be22-4258b4ccb796
File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part4.rarFile Size 1084807 KBhttps://mbs2.microsoft.com/fileexchange/?fileID=3d5aa62c-48d7-4d4c-9e7e-07e47f95d2d5
Don't forget to download the Readme document attached to the bottom of this article.
Please post your feedback as comments on the blog.
Until next time
the links don't appear to be working
I think the links work, but you might find that the File Exchange plugin is failing to start. Have you tried from another machine?
Thank you for providing the developer preview. Do you have any examples of how to connect to the web services from a Java client? In particular, I'm interested in the NTLM authentication code.
If the web service returns a status code of 500 (internal error), how can I find out what the error is? I can't find anything in the Event Viewer and I cannot find any log files in the file system. Does the web services log information anywhere?
There are three logs you can look to for information on requests that fail, the GP Service log, Dexterity Service Log and the Request Log. All logs are located in ProgramData\Microsoft Dynamics\GPSvc\Logs. The Dexterity Service log will tell you if the request made it to the Dexterity instance and is in the Inst_DefaultInstance\DexterityService directory. All requests tie together with a correlation ID.
Thanks Kevin! I found the error in this log:
Just in case others have the same issue, here's the details from the log:
2014-09-10_08:44:57.135 (E) --> NonFatalError :: Context:[Forwarding Exception], Content:[System.FormatException: The format of value '*; q=.2, */*; q=.2' is invalid.
at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index)
at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value)
at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
at Microsoft.Dynamics.GP.Svc.GPService.WCF.WebContextHelper.CopyIncomingHeadersToNewRequest(IncomingWebRequestContext context, HttpRequestMessage request) in c:\depots\tfs\GP14.0\Source\GPSvc\Microsoft.Dynamics.GP.Svc.GPService\WCF\WebContextHelper.cs:line 51
at Microsoft.Dynamics.GP.Svc.GPService.Forwarding.RequestRouter.<HandleRequest>d__1.MoveNext() in c:\depots\tfs\GP14.0\Source\GPSvc\Microsoft.Dynamics.GP.Svc.GPService\Forwarding\RequestRouter.cs:line 79]
2014-09-10_08:44:57.135 (E) --> RequestInternalError :: CorrelationId:[61c37ae836a542dbb822abf3779d2168], Message:[No Hosts Available :: Tenant:[DefaultTenant]]
2014-09-10_08:44:57.135 (E) --> RequestError :: CorrelationId:[61c37ae836a542dbb822abf3779d2168], Code:, Message:[CID:[61c37ae836a542dbb822abf3779d2168], Code:, Ex:[No hosts were available to service the request.]]
It seems that the web service does not like the default Accept header that java attached to the request:
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
When I send from a web browser instead of java, the only difference is the Accept header and I don't get errors. Here's the Accept header that the browser sends:
So it seems that I just need to change the Accept header that java sends? I will try that.
Yup, that worked. Here's the code to fix the error with the Accept header:
//...other code goes here
We are trying to dag the Dex Dictionary (GP 2015 Dex Next) which has service procedure. The dag is failing with the message "No DotNet type provided in Metadata for object "inout<0>1" of global script ....
Any one know why we are getting that message? It compiles fine and the .NET assemblies used are added to library of dictionary
actually it worked by using correct dag.exe from dexterity folder
We are trying to see what happens with our product dictionary and Dex 14.0 but the hyper-v demo machine cannot see the server we've got vss on. It gives a socket error 11001.
Is there someplace I can download the beta/preview Dex14.0 from?
Does GP 2015 actively exploit SQL AlwaysOn as a feature, or just passively sit on top of it (as with Team Foundation Server and GP 2013 do)?
I'm hoping that Microsoft products become AlwaysOn "aware" at some point, and have functionality added to them to actively use the feature, rather than passively benefiting from the HA it provides at the database layer.
Has anything been added to GP 2015 in that regard?
PLEASE READ BEFORE POSTING
Please only post comments relating to the topic of this page.
If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.