I'm stuck with this problem, any help will be appreciated.
I have a web service, it requires authentication to call functions but I couldn't authenticate.
The function XML is like this:
<s11:Envelopexmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'><s11:Header><ns1:AuthHeaderxmlns:ns1='MOD'><!-- optional --><ns1:Channel>?XXX?</ns1:Channel><!-- optional --><ns1:Username>?XXX?</ns1:Username><!-- optional --><ns1:Password>?XXX?</ns1:Password><!-- This element can be extended by any attribute from any namespace --></ns1:AuthHeader></s11:Header><s11:Body><ns1:GetBankListxmlns:ns1='MOD'/></s11:Body></s11:Envelope>
my connection codes are:
$baglanti = new :confused:SoapClient("https://galaksi.turknippon.com/appservice/mod.asmx?wsdl");
$parm = array();
$parm = new SoapVar('channelcode', XSD_STRING, null, null, 'Channel' );
$parm = new SoapVar('myusername', XSD_STRING, null, null, 'Username' );
$parm = new SoapVar('mypassword', XSD_STRING, null, null, 'Password' );
$Adres = "https://galaksi.turknippon.com/appservice/";
$Baslik = new SoapHeader($Adres, "AuthHeader",new SoapVar($parm, SOAP_ENC_OBJECT));
$sonuc = $baglanti->AuthHeader(new SoapVar($parm, SOAP_ENC_OBJECT));
Here is a stack trace:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at AppServiceLibrary.AuthHeader.Validate(AuthHeader& credential) in xxxx\Galaxy\Galaxy\AppServiceLibrary\AuthHeader.cs:line 132 at xxxx.AppService.MODService.GetBankList() in xxxx\AppService\mod.asmx.cs:line 1148 --- End of inner exception stack trace --- –
I have a task to Upload and Download a word file from the microsoft ONEdrive using WCF service. I there is a possiblity to do that. Can doing the authentication through WCF service is easy without the interaction with user. Everything should be done in the background.
I am new to web development and started with HTML5 and AngularJS.
Listened to 'AngularJs Patterns clean code' by Jon Papa on Pluralsight.
Downloaded the sample app 'modular' and created a small SPA following the sample app.
The app is created using Visual Studio 2013 ASP.Net Empty website project template.
The directory structure is as follows in Visual Studio 2013.
-- Solution 'Tools'
---------- 'Tools' - Project
-------------------------- angular : other js files at the same level
---------------------------- index.html <<<=====
Project Properties settings:
Project properties -> web -> Start Action -> specific page -> src/client/index.html
Q1: I would like to open the page with reference to path of index.html such as http://localhost:23263.
What setting needs to done to achieve above thing?
Q2: For sample application 'modular' I need to setup node.js and gulp and run the gulp server which listens to a specific port and when I type http://localhost:port_no, the index.html page is opened. Also, I am able to access the page on another
device using the IP and port no. How can I achieve this? I didn't publish my website to achieve this, just started the node server.
I have been playing around with some very basic code in classic asp . I have the following simple page that I tried to reach on my own pc :
Select Case d
<p>This example demonstrates the "Select Case" statement.</p><p>You will receive a different greeting based on what day it is.</p><p>Note that Sunday=1, Monday=2, Tuesday=3, etc.</p></body></html>
(copy-pasted from the site http://www.w3schools.com/[^])
I just can see the asp code , not the effect of it on the browser. Given that the code is probably reliable, coming from such a site, and it should work, I can only suppose my IIS7 settings are not the right ones to allow classic asp code to run . I have very poor experience on classic asp and its configuration on IIS . Can anyone give me hints about how to make the whole thing work ?
I followed instructions about installing it on IIS 7.0 on Windows 7, which is the configuration I have , but I am not sure it is all I need ..... your link is about installing it on Windows 2012 server , I think it is not the same, right ?
I have a task where I need to develop a web application. This Web Application enables the user to generate a document and show it to the user on the web form. When the user clicks edit the document. The document should open in word application. And the user edits it, save the document and when he closes the word application, the changes done on the word application reflects on the web form.
Untill now this is a Windows Form Application. But we want to rewrite it as Web application.
I have some questions.
1. What is the best way to edit the word document which is there on the server.
2.Do we have Office Online Complete compability with MVC. So that The document on the server can be opened in Office online, edit the document and Save it back to Server.
I need to get a responsive web project up and running as quick as possible.
I am a software guy (C++, Java, js, PHP, Ruby, Python) but I have limited web project experience.
My server is a rented, managed linux. Everything except Microsoft stuff should be possible.
I believe a clever selection of the used system/framework/components is key to success.
This is what I need to do:
1) Responsive design is a must.
2) App wrapper. On Android and Ios there should be the possibility use an app.
3) User management. Must be scalable to high numbers.
4) User profiles. Users shall have an area where they are able to present themselves. Authoring system shall be limited yet simple.
5) Apps shall make available the user's co-ordinates
6) User comments/Rating system
7) Geo-location: User positions shall be displayed on a map. Displaying user details and selecting a user shall be possible as Google Maps does it with points-of-interest
8) Chat. there shall be a whatsApp style Chat
9) Appointments Calendar. Notifications on cell phone and via email (may be a loose integration)
10) Payment. Integration (may be a loose one) of a payment system (PayPal, Amazon?). Payment status needs to be immediately displayed in chat and/or in Calendar.
I'm looking forward to hear your recommendations
In a vb.net 2010 web form application, I just installed a third party tool on my workstation and the install modified the web config file to add references to some new files that are being accessed. Now I am getting the following error message,
"Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS".
Thus can you give me detailed directions on what I can do to solve this issue?
I've got a legacy password protected website written in php/xml that I would like to update some of the functionality. Currently, the administrator can create multiple Contract Vehicles (CV) and then create a Task Order (TO) that is linked to a specific contract vehicle. Fields such as TO name, number, description, etc. This information is then linked to a previously created CV via a dropdown list. Upon completion, the content is uploaded to a mysql database.
I'd like to make an enhancement where the site admin can upload a file (i.e., PDF, text, doc, jpeg, tiff, etc.) either when creating a TO or can be added later via an edit function to a specific TO. In both instances the file (file link path) would be displayed for the specific TO.
The TO information is displayed via three (3) different xml pages:
[TO LIST Code]
[TO DETAILS Code (This is where the Admin/Users could select a link to download the attached file.]
hi everyone! I am in web development and I am creating a online shopping site with java,hibernate,stursts,jsp and Oracle 10g as the back-end.I want to know that when I saved the products with its images in DB The list of products is showing all details but showing only image name rather than showing image.So please tell me how can I load images in listproduct.jsp page?
Thanks & regards
I need to import a WORD document to the browser and allow the user to change the document by inserting bullets to be replaced with data from the database. After preparing the document, it is saved in the database as a model.
How can I do this? Is there any free solution for this?
Are you saying you want to extract the edited content and save that in the DB, or save the document as a whole?
Typically the best way to store files like that (doc, image, etc...) is not to put it in the database but rather to create a secure file share and save it there. Then you just save the file name or path in the DB.
You might want to consider a script based editor which uses RTF maybe, unless Word is a specific requirement.
I just completed front end programming and wanted to delve into back end. However there's a lot of confusion in class and from blogs and would like more clarity.
My question is, what do specific back end languages do and which should i start with and avoid replicating learning languages with same task....
Like does PHP, java, ruby and Python serve the same purpose and does learning one encapsulate the functionalities of others?
Or which one should i combine to get the most out of web development?
kindly assist me out. im literally stuck and
Last Visit: 31-Dec-99 18:00 Last Update: 22-Oct-21 4:22