Developing for Dynamics GP

by David Musgrave (Perth, Australia) and Microsoft Dynamics GP Developer Support Team (Fargo, ND, USA)

Microsoft announces Developer Preview for Dynamics GP 2015

Microsoft announces Developer Preview for Dynamics GP 2015

Rate This
  • Comments 11

Kevin Racer - Click for blog homepageMicrosoft 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.

 

Part 1

File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part1.rar
File Size 4193280 KB
https://mbs2.microsoft.com/fileexchange/?fileID=56a379f7-b982-49cd-aff7-ccc72beace34

  

Part 2

File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part2.rar
File Size 4193280 KB
https://mbs2.microsoft.com/fileexchange/?fileID=0b147e80-0b5d-4087-ba30-3a90e2d95496

 

Part 3

File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part3.rar
File Size 4193280 KB
https://mbs2.microsoft.com/fileexchange/?fileID=e26be271-a258-434f-be22-4258b4ccb796

 

Part 4

File Name Dynamics_GPServiceISVDrop_Aug132014Parts.part4.rar
File Size 1084807 KB
https://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

Kevin

Attachment: SBA_Preview_Read_Me.txt
  • the links don't appear to be working

  • MGummel

    I think the links work, but you might find that the File Exchange plugin is failing to start. Have you tried from another machine?

    David

  • Hi David,

    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:

    C:\ProgramData\Microsoft Dynamics\GPSvc\Logs\GPService\GPService_Error.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:[500], Message:[CID:[61c37ae836a542dbb822abf3779d2168], Code:[500], 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:

    Accept: */*

    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:

    HttpURLConnection conn;

    //...other code goes here

    conn.setRequestProperty("Accept", "*/*");

  • 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?

    Thank you!

  • 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?

Page 1 of 1 (11 items)
Comments Information

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.

Leave a Comment
  • Please add 4 and 5 and type the answer here:
  • Post