- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hey im trying to make my WCF service support HTTPS and it works with HTTP but i've been following this guide [http://www.codeproject.com/Articles/24027/SSL-with-Self-hosted-WCF-Service](http://www.codeproject.com/Articles/24027/SSL-with-Self-hosted-WCF-Service) and successfully created the certificates and i am stuck on the **Configure a Port with an SSL certificate** part i think its because i am not admin of … |
|
Hey im just wondering if or how i can split up my services **IService** namespace Phpwcfconsole { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together. [ServiceContract] public interface IService { [OperationContract] string KundNyKund(Variables.Kunder … |
|
Hi, im wondering how i get this to work? <?php $client = new SoapClient("http://localhost:8731/phpwcf/?wsdl"); var_dump($client->KundLandKodAlternativ()); $response = $client->KundLandKodAlternativ(); $array1 = $response->KundLandKodAlternativResult->WCFString1; $array2 = $response->KundLandKodAlternativResult->WCFReturnString; echo count($array1); echo count($array2); ?> the line `var_dump($client->KundLandKodAlternativ());` gives object(stdClass)[2] public 'KundLandKodAlternativResult' => object(stdClass)[3] public 'WCFReturnString' => object(stdClass)[4] public 'string' => array (size=4) ... public 'WCFString1' … |
|
Hey i just wonder if i can send the method comments with the OperationContract so i see it in my WCF Test Client. that way the php dude can see what each method does and how to work from that. /// <summary> /// Text text /// </summary> /// <param name="Kund"></param> … |
|
public string[] LandsKodComboBox(string[] dendei1, string[] dendei2) { string[] dendei1 = new string[5]; string[] dendei2 = new string[7]; //assign the array dendei1[2]="hello"; //etc etc.... return dendei1, dendei2; } why cant i return both of them? or how do you write? thank you Dendei. |
|
hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get Name Value Type (return) length=4 System.String[] [0] "DE" System.String [1] "DK" System.String [2] "NO" System.String [3] "SE" System.String **code if i do var_dump on … |
|
Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem … |
|
Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to … |
|
Hey i would like to know how i can use a combobox to show alternatives which i will choose from but with more information when i choose like if a combobox has theese options Klas Maria Mat i choose Mat and the selected index is Mat now i want it … |
|
Hello, just wondering if there is another event i can use for when you are done writing to the textbox the normal textchanged event goes in play everytime you change a letter. i need the event to go in play when im done writing and for example start writing in … |
|
Hello all nice coders :) i have a question about a function i have that uses an class as input. hmm prob easier to explain after i show some code! class customer { public string number, name, phone; public void newcustomer(customer custom) { //write to a database //using the strings … |
|
Hello, i am programming an API so far i've coded so i can create new customers but my taughts here is that i have a function (i think that is the right word for it) public void writeCustomer (string CustomerNumber, string CustomerOrgNumber, string CustomerName, string PostAdr, string PostAdr2, string GLN, … |
|
How do I code if I am coding what will happen if I press a button. and then ask a question and want to wait until either of two others buttons are pressed like an yes or no question say i code something and to continue i need the answer … |
|
*CardsNumber = myObject.HandleString(Cards);* if i have a method like this all i want is CardsNumber to change not Cards *myObject.HandleString(**Cards**);* change too i need it to be the same? why does it change? if i specify ***CardsNumber =** myObject.HandleString(Cards);* should'nt that only change? i hope you understand what i mean … |
|
hey just wondering if you can make an method that you input a string and convert it in the method and return a int? something like public string[] ConvertString(string[] Cards) { int[] intCards = new int[52]; for (int a = 0; a <= 51; a++) { int.TryParse(Cards[a], out intCards[a]); } … |
|
using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { Cassandra myObject = new Cassandra(); string a ="söt"; myObject.hejsan(a); System.Console.WriteLine(a); Console.ReadLine(); } } class Cassandra { public string hejsan(string value) { value +="Cassnadra"; return value; } } } how come this wont work? all i get is … |
|
hey i want to return my whole string array but the program wants me to specify one public string CreateCards( string[] Cards) { Cards = new string[52]; for (int a = 0; a <= 51; a++) { if (a <= 12) { Cards[a] = " Hjärter " + (a+1).ToString(); } … |
|
hey i have a question how do i get my funktion to work in the design.cs? namespace Visma_projekt { public class BlackJack { public string[] Cards = new string[51]; public void SkapaKort() { System.Console.WriteLine("Ehhhh"); } } } i want to call the funktion from this code visma.cs into the form1 … |
|
hey guys, emm can someone explain fast for me how to get to the programming state where u get a window with some options on the side and can then switch to code i cant remeber how to get there :) hope u understand thx for answers :) |
|
Hi me and my class are getting this problem with tim.start(); and stop. we get start to work with a button but cant stop and we can stop with the keyboard but not with the buttons bad explaination i know but have an look plz :P [CODE] /* * To … |
|
Hello i have an array of dates and want to input a week ex week #14 and get all the dates written out in that week. Anyone know a good way to convert weeks to dates or how i should solve this? thx for answer. |
|
hi i got an problem about reading my files i want to decide which file to open in the program not before anyone now a solution? :) [CODE] string fil; cout<<"which file? : "; cin>>fil; ifstream myfile(fil); [/CODE] cant see why this dont work... |
|
Hello i need some help to understand my work heres the code [CODE] #include <iostream> #include <string> #include <sstream> #include <vector> #include <fstream> using namespace std; struct cell1 { int value1; } cell1Data; struct cell2 { int value2; } cell2Data; int main(void) { ifstream myfile("example.txt"); if(!myfile.good()) return 0; vector<cell1> data1; … |
|
Hi i got an problem i need to read from an text file that i got from an excel file at start. so i want each block in the excel file to have one space at the array i saved it so it got seperated by ; example: [code] 4 … |