go to post Enrico Parisi · Apr 24, 2024 I think you need to enable/allow Unauthenticated access for Web Applications. I can see that in Web Application configuration in "Allowed Authentication Methods" the option "Unauthenticated" is not available, this means is not enabled/allowed systemwide. In Management Portal check System Administration > Security > System Security > Authentication/Web Session Options, and see if "Allow Unauthenticated access" (first option/checkbox) is enabled. After that, enable the option "Unauthenticated" in the "Allowed Authentication Methods" of the Web Application.
go to post Enrico Parisi · Apr 23, 2024 Only Client application is Bit 3 only, so in binary: 1000 = 8 decimal Pass 8 as Type parameter.
go to post Enrico Parisi · Apr 23, 2024 There is also SYS.Stats.Dashboard class, again, I'm not sure it was in 2014 as well. This class provides an overview of the system "health", with all of the critical metrics and statuses gathered as properties in one class. It essentially contains all of the data that's available on the Dashboard in the System Management Portal. Each property is a different metric or status.
go to post Enrico Parisi · Apr 23, 2024 I don't have any so old version (2014) at hand, in IRIS and in 2018 there is SYS.Stats.WriteDaemon class.
go to post Enrico Parisi · Apr 23, 2024 On the other hand, are you sure that your method is that same that WRITE uses to interrogate the environment ? Why should I care? Why do you care?
go to post Enrico Parisi · Apr 23, 2024 The WRITE command, when passed no argument, does a reflexion on the system. Well, it simply list/write all defined variables in current stack level, something you can perform using standard Object Script commands and functions, no need to look at Write source code. To do that you can use $order, $query, and indirection, with some trick needed for the variables you use to perform the listing, or, maybe simpler, you can use output redirection (to a string for example) and then...well, an argument less Write command 😊 Some hint for the first option: USER>set a=1,b=2,b(1)=3,x="" USER>set x=$order(@x) USER>write xaUSER>set x=$order(@x) USER>write xbUSER>set x=$query(@x) USER>w xb(1) For output redirection, see IO Redirect in ObjectScript in Open Exchange.
go to post Enrico Parisi · Apr 23, 2024 Maybe your certificate file needs to include the full certificate chain, from your certificate to the CA.
go to post Enrico Parisi · Apr 23, 2024 Within $piece, instead of $LENGTH(STRING,DELIM) you can use *
go to post Enrico Parisi · Apr 23, 2024 USER>set string = "aaDtext1Dtext2" USER>write $p(string,"D",1,*-1)aaDtext1 Edited to add relevant documentation link.
go to post Enrico Parisi · Apr 21, 2024 In order to better understand the problem, you may use SoapUI to "manually" call the WS and try different options/messages to figure what's wrong with your call.
go to post Enrico Parisi · Apr 21, 2024 How are you calling the WS? Are you using a Business Operation with EnsLib.SOAP.OutboundAdapter? To understand how the header can be customized, can you provide a sample of your SOAP call?
go to post Enrico Parisi · Apr 20, 2024 I really, really doubt that the issue is the header namespace prefix. What does the error (soap fault) says?
go to post Enrico Parisi · Apr 20, 2024 To me it looks the same/correct, what do you want to change/edit??
go to post Enrico Parisi · Apr 19, 2024 EPTEST>Set comp=$system.Encryption.Base64Decode("y61UKEstqlTIyc9LVyguKcoEUuUZmckZCnmpqSnFCiX5CkmpCimpaTmJJakpAA==") EPTEST>Set sc=##class(Community.Compress).UnDeflate(comp,.uncomp) EPTEST>Write uncomp my very long string which needs to be deflated Works fine for me
go to post Enrico Parisi · Apr 19, 2024 The code I posted does exactly what you need. You can compress/decompress with deflate or gzip using device I/O.
go to post Enrico Parisi · Apr 19, 2024 Then you can download IRIS community edition that you can use for evaluation. In the main page of the Developer Community click "Download InterSystems IRIS" in the left of the page.
go to post Enrico Parisi · Apr 19, 2024 If you have a support contract, send an email to support@intersystems.com to get your WRC credentials.
go to post Enrico Parisi · Apr 19, 2024 Here is a sample method to deflate without using file I/O and using XDEV instead. ClassMethod UnDeflate(Compressed As %String, Output UnDeflated As %String) As %Status { Set sc=$$$OK Try { ; open XDEV device Set dev="|XDEV|"_+$JOB Open dev:($ZF(-6,$$$XSLTLibrary,12):/HOSTNAME="XSLT") Use dev ; write compressed string Write Compressed ; flush buffers Write *-3 ; change device mode to deflate and rewind Use dev:(:/COMPRESS="DEFLATE":/POSITION=0) ; read uncompressed content Read UnDeflated } Catch CatchError { #dim CatchError as %Exception.SystemException Set sc=CatchError.AsStatus() } Close dev Quit sc } I really wish that InterSystems implement the various compress/deflate/gzip functionality available in device I/O as utility methods. Without silly wrappers! 😉 Another wish, please InterSystems document XDEV device I/O.
go to post Enrico Parisi · Apr 19, 2024 If I understand correctly you need to deflate and I suppose you want to add the custom wrapper to use $System.Util.Decompress(), if so...you can't. I mean you can't use $System.Util.Decompress() BUT, you can indeed deflate using I/O as in the example I posted in that post/thread.
go to post Enrico Parisi · Apr 19, 2024 Please check this previous post: Deflate compression If you still have questions, reply here for more details.