Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Alphabet to corresponding number Pin
BillWoodruff16-Feb-15 12:59
professionalBillWoodruff16-Feb-15 12:59 
GeneralRe: Converting Alphabet to corresponding number Pin
Rob Philpott16-Feb-15 23:21
Rob Philpott16-Feb-15 23:21 
QuestionWhy is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 1:09
robinsc16-Feb-15 1:09 
AnswerRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 2:06
Rob Philpott16-Feb-15 2:06 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 2:20
robinsc16-Feb-15 2:20 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 2:26
Rob Philpott16-Feb-15 2:26 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 2:35
robinsc16-Feb-15 2:35 
SuggestionRe: Why is Array.Sort() slower if I use my own comparer? Pin
Richard Deeming16-Feb-15 8:20
mveRichard Deeming16-Feb-15 8:20 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 8:22
Rob Philpott16-Feb-15 8:22 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 21:57
robinsc16-Feb-15 21:57 
AnswerRe: Why is Array.Sort() slower if I use my own comparer? Pin
Dave Kreskowiak16-Feb-15 2:56
mveDave Kreskowiak16-Feb-15 2:56 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 3:23
robinsc16-Feb-15 3:23 
QuestionConsuming SAP Web Service in C# Pin
Amoxtli15-Feb-15 22:40
Amoxtli15-Feb-15 22:40 
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan15-Feb-15 23:05
mveRichard MacCutchan15-Feb-15 23:05 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli15-Feb-15 23:18
Amoxtli15-Feb-15 23:18 
Thank you for your answer. The service works fine localy in SAP test: input
<n0:zsqrt xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<number>16


gives the result



-<n0:zsqrtresponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<result>4.0E0


The code

WebRequest request = WebRequest.Create("http://guediserr.durs.si:8010/sap/bc/srt/wsdl/flv_10002A111AD1/bndg_url/sap/bc/srt/rfc/sap/zws_sqrt/200/zws_sqrt/jaojao?sap-client=200");
request.Credentials = new System.Net.NetworkCredential("GORENMI1", "tlaxcala3"); ;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream dataStream = response.GetResponseStream();
StreamReader reader = new StreamReader(dataStream);
string responseFromServer = reader.ReadToEnd();
reader.Close();
dataStream.Close();
response.Close();

also gives the right WSDL content.

regards
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan15-Feb-15 23:35
mveRichard MacCutchan15-Feb-15 23:35 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli15-Feb-15 23:41
Amoxtli15-Feb-15 23:41 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 1:18
Amoxtli16-Feb-15 1:18 
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan16-Feb-15 1:20
mveRichard MacCutchan16-Feb-15 1:20 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 1:25
Amoxtli16-Feb-15 1:25 
QuestionCan PdfFileWriter Support Chinese? Pin
gzhmrj15-Feb-15 22:23
gzhmrj15-Feb-15 22:23 
AnswerRe: Can PdfFileWriter Support Chinese? Pin
OriginalGriff15-Feb-15 22:26
mveOriginalGriff15-Feb-15 22:26 
Questioni need to convert merge sort algorithm to accept arrays then sort them this is the code I need to modify Pin
Member 1135438615-Feb-15 20:31
Member 1135438615-Feb-15 20:31 
AnswerRe: i need to convert merge sort algorithm to accept arrays then sort them this is the code I need to modify Pin
OriginalGriff15-Feb-15 20:42
mveOriginalGriff15-Feb-15 20:42 
GeneralRe: i need to convert merge sort algorithm to accept arrays then sort them this is the code I need to modify Pin
Member 1135438616-Feb-15 11:44
Member 1135438616-Feb-15 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.