Josef Prinz

Computer scientist by passion

Computer Scientist by passion

Hello and Welcome

My name is Josef Prinz

I am a software developer, based in Berlin, Germany. The main focus of my programming interests are developments for production and automation planning in the areas of simulation, optimization and data standards.

This website showcases some of my favorite projects. I would like to tell something about these projects here and also talk about new ideas.

External Profiles

My NuGet profile

My GitHub profile

Contact

mail: devspace@berlin-prinz.de

GitHub Pages

This website is hosted on GitHub Pages.

Supported By Chris Rhymes Bulma-clean-theme

Chris Rhymes has kindly provided an open source license to his Bulma-clean-theme to build a GitHub hosted web site.

Bulma-clean-theme

Latest Posts

Next steps with the AMLBaseX Client
Next steps with the AMLBaseX Client

AMLBaseX Rest client

I have spent quite a bit of time trying to figure out how to send an XQuery expression via http post request to the rest service of the BaseX database without errors. I had the problem that the XQuery expression could be processed without errors in the BaseX GUI application, but the same expression when submitted via HTTP request from the C# program was always incorrect. For the implementation I followed the RESTPost.Java example which presents the HTTP POST method as java code. In this example the content type for the post request is defined as “application/query+xml”. This corresponds to the following statement when using the .NET HttpClient in c#:

The AMLBaseX Client
The AMLBaseX Client

Client Server Architecture

For running the AMLBaseX plugin as a BaseX client application, the basexhttp.bat start script is used which starts the BaseX database server and the HTTP server for REST as a background process. The REST interface uses basic authorization (that’s why we had to sign in when we asked the browser to display http://localhost:8080/rest/) and without it the request will return an “unauthorized” error. Once the connection is established, http requests can be sent to the server via the REST interface. Results are returned as XML fragments.

Interactions between AMLEditor and AMLBaseX
Interactions between AMLEditor and AMLBaseX

XML Data Processing by AutomationML Editor

The AutomationML Editor uses the XML processor of the AutomationML Engine. The engine always loads the entire AutomationML document, mapped to a CAEX domain model. This behavior must be maintained.