Discussions tagged XML

hi GURUs, Would like to get your advise how PB datawindow XML template can be build according to UBL-Invoice-2.0.XSD  and ultimately the datawindow can export to XML format accordingly (see example output xml file einvoice.xml as attached). Please f...
Good morning, During these days an automatic process is carried out from my PB application. When working with XML files, I use the PBDOM and when reading XML files and then making inserts to the DB, I get this error, which can be seen in the Image....
  We have a piece of code that exports XML from datawindows to make an extract between our system and another. This has not been tried in development as it was a link only available in one site's production environment. Other XML extracts do work ...
Hi there,   I need to call a webservice using HTTPclient. The service have several parameters (strings) and one parameter should contain XML-query. When post with XML-query 400/Bad request is returned. With empty parameter 200/Ok is returned. Ho...
PowerBuilder version: 2019 R3 Build 2779 SQL Server 2019 ODBC Driver 17 for Sql Server Can you cast to XML in PowerBuilder?  This stmt crashes the IDE.  txt is a varchar(max) SELECT cast(txt as xml) into :ls_string from documents where doc_id = 1...
Hello, With Powerbuilder 2022, we are unable to save any datawindow object with 'XML' as  template in 'Data Export' tab of datawindow object properties. Once saved, closed and opened again, the 'Format to Configure' property is changed to 'PDF'. In...
How to create XML files in UTF-8? It seems that windows always produces UTF-16LE files, but I need it to produce in UTF-8. Example code I've already tried: PBDOM_Document xml_doc PBDOM_ProcessingInstruction xml_process PBDOM_Element xml_root co...
Hello,   Is a simple way to generate a DataWindow object from an XML file? I have an XML file and can I quickly create/generate DataWindow based on this file structure ? Regards Pawel...
Hello, We are testing Powerbuilder 2022 before installing it on our working environment. When we generate XML files through the datastore's SAveAs feature using an xml template, the first line of the XML file always ends with character LF (Unix mod...
Hi all, I use Powerbuilder 2021, build 1506 I want to export Data once datastore is retrieved. Simple as that. I got XML Template like this (this is extraction from Edit source of datawindow): export.xml(usetemplate="efaktura_avans" headgroups="1...
Can anybody suggest a solution to apply c14n11 canonical algorithm in a xml file....
PowerBuilder 2019 R3 build 2728 Windows 10   I am having a silly isue that is probably all my fault, but I can't seem to work it out. I am exporting four datastores to an XML file using this command      ads.SaveAs(as_file, XML!, true, EncodingU...
Does anyone have either any successful examples of using HTTPClient to consume a .Net Web API that requires XML to be passed to it? OR know why I’m receiving the error\issues below when trying to pass the XML? I’m using PowerBuilder 2021 Profe...
We have a complex (400 item) menu built in PB 2017. This menu is also viewable as a tree view. I am trying to convert the menu to a ribbonbar.   The security code for the menu looks hierarchically through the menu at the tag of each menu item and ...
Are there any alternatives available in PowerBuilder that assist us in creating XSLT for a Datawindow? I've been experimenting with the XML Template in the DataWindow Painter and it appears to be able to rename the elements, add attributes and some ...
I have a problem with new Chromium based WebBrowser to show XML-files in spite I have used constructor and  WebBrowserSet("allow-file-access-from-files","true") seems that it only reads first row. Files like *.pdf or *.jpg are shown correctly. XML-f...
Hi.   Is there a way for pretty print XML? We receive on long string of XML data, but want to pretty print this in a MLE og RTF edit for better viewing. An online REST solution could work, but I cannot seem to find any.   br,   Bjarne Anker ...
Hello all   I am trying to read an xml file from my app - just using the standard way . fileopen , fileread , pos and mid to get the data . The file contains Hebrew letters which shown on screen as symbols .  I have tried encoding ans so on but n...
Hello everyone!   I have request to create XML invoice file and electronically sign it with general electronic signature (xmldsig) or advanced electronic signature (XAdES). Did anyone worked on something similar in PB and could give me any advice?...
I'm attempting to use the LoadXml() method of an MSXML Dom Document in an azure environment and it simply isn't working. When running on non-azure environments it works fine.There is no dev environment for our azure server yet so I can't view the err...
  • Page :
  • 1