| Welcome, Guest |
You have to register before you can post on our site.
|
|
|
| Soap Webservice. How to ? |
|
Posted by: SorenJensen - 10-03-2019, 05:31 AM - Forum: IntraWeb General Discussion
- Replies (8)
|
 |
Hi All,
I need to receive data from a webservice after a request.
I will normally include the webservice specs as a wsdl (*.pas file), and communicate with the service using XML.
Is that possible in IntraWeb 15.1.5 and if, do anyone have any examples of how to ?
In a Delphi 2010 Win32 program, I include the WDSL as a unit, and call the procedures it expose, as I would any other procedures. The resulting data are received as an XML file, which I then decipher (with a parser) and pull out the data I need.
In a similar C# program in MS Visual Studio 2010, it's a bit easier as XML is an native part, making the individual data in the XML, available as properties of the XML file.
Is there anything similar awailable in IntraWeb ?
Regards
Soren
|
|
|
| IW14 Indy - Running multiple services of the same executable |
|
Posted by: nunnsie - 10-03-2019, 02:58 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
As per the subject line, really. Is it possible to run multiple services via the same executable? We see some hard dependencies between the application name and the service name that makes this difficult.
At the moment we have have an app that binds to a port on the command line, e.g. AppName.exe -port=1234.
This can be installed as a service via the /install flag or using sc.exe happily as long as the service name matches AppName.
If I want to run multiple versions, they don't work as the service name doesn't match.
E.g.
Works on service start/stop: sc create AppName binPath= "c:\path\AppName.exe -port=1234"
Hangs on service start: sc create AppName2 binPath= "c:\path\AppName.exe -port=3456"
Any suggestions or ways to achieve this?
|
|
|
| Read value of HTML element back to delphi |
|
Posted by: PDSBILL - 10-02-2019, 07:10 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
I have a need to read the value of a rendered html element.
I added a iwbutton with script line for on-click event to get the value and show it using alert() and it works, but really want to get the value (String) and save it to a local delphi variable.
alert(document.getElementsByClassName("fu-upload-listItem").length); this works
how do I get the value back to delphi?
|
|
|
| Http.sys and SSL |
|
Posted by: max7575 - 09-30-2019, 03:07 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hi All,
I tried to configure a SA Application with Http.sys with SSL certificate. If I register the certificate by IIS everithing woks fine.
Is it possible use Http.sys application with SSL without IIS?
Thanks in advance
|
|
|
| IW15.1.5 Button and JS onclick |
|
Posted by: matija - 09-30-2019, 10:54 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Button open/close accordion (section1, section2) .
IWButton property set Script Events -> onClick -> $("#section1").collapse("hide"); $("#section2").collapse("show"); -> OK
IWButton Events OnAsyncClick set
WebApplication.CallBackResponse.AddJavaScriptToExecute('$("#IWButton").click(function(e) { $("#section1").collapse("hide"); $("#section2").collapse("show"); '); -> NOT WORK
|
|
|
| New DIV in IWGrid HTML code. |
|
Posted by: brsoft - 09-26-2019, 09:37 PM - Forum: IntraWeb General Discussion
- Replies (9)
|
 |
Hi
A new DIV has been added to the IWGrid HTML code. The new DIV has no ID property.
This error caused more problems than we first thought.
In our own javascript we have prepared for the new DIV.
However, older IE browsers have an IW error: "IWBase.js (6.17889) - Cannot retrieve id property that has an undefined or null reference"
IW15.1.4:
Code: <div CLASS="tblpanel tbllist" ID="MENUGRID" style="overflow-x: auto; overflow-y: auto; "><table cellpadding="0" cellspacing="0" id="TBLMENUGRID" style="">
<thead></thead>
<tbody>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu1</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu2</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu3</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu4</td></tr></tbody></table></div>
IW15.1.5:
Code: <div CLASS="tblpanel tbllist" ID="MENUGRID" style="overflow-x: auto; overflow-y: auto; "><div style=""><table cellpadding="0" cellspacing="0" id="TBLMENUGRID">
<thead></thead>
<tbody>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu1</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu2</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu3</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu4</td></tr>
</tbody></table>
<script data-type="iw" nonce="ea3sd5wF7k7Ggc1Al/7JT/tOxgs" type="text/javascript">
var tbl = IW.$("TBLMENUGRID");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></div>
TBLIWGRID's parentNode is not an IWGRID but an anonymous div.
The v15.1.4 and v15.1.5 HTML codes were generated from the same source code.
The script in v15.1.5 HTML code was not written by us.
Can somebody help me?
best regards
brsoft
|
|
|
|