web-services

method can't return value, Error: can not convert type in C#, ASP.NET

折月煮酒 提交于 2019-12-25 01:14:30
问题 I have method that should return a set of data. But at last when returning data then error shows like :"can not convert type 'WebApplication1.Webrefernce13.DT_value[]' to 'WebApplication1.Webrefernce13.DT_value" public class InputHelp { public DT_Value Priority() { WebReference13.DT_SM_InputHelp_Request IncomingtypeReq = new WebReference13.DT_SM_InputHelp_Request(); WebReference13.DT_SM_InputHelp IncomingTypeResp; WebReference13.SI_CreateSM_OBService _proxy1 = new WebReference13.SI_CreateSM

Need sample code to implement Paging Based UIScrollView

醉酒当歌 提交于 2019-12-25 01:08:03
问题 I am new to iOS development. Can anyone give me a working sample project/ tutorial of paging based scrollview? I need to load more data in my table view from a webservice as user scrolls down. I have spent a lot of time, but could not find anything that suits my need. Any help will be greatly appreciated. I was able to figure out the solution of my problem. Now I am trying to detect scroll up and down based on the y offset difference. The problem is it always reads the drag to be downwards

How to configure WCF Service with wsHttpBinding hosted on IIS and consumable over Web?

这一生的挚爱 提交于 2019-12-25 01:07:41
问题 I'm not experienced with WCF Service in general (this is my 1'st attempt to create, configure and consume WCF Service). I've created my WCF Service, tested it through WCF Test Client (on Development PC "in" Visual Studio) and everything was working. I've hosted it in IIS on our Server (not Development PC) adding it to ASP.Net v4.0 Application Pool, tested it with Windows Forms Application (from Development PC) in which I've added Service Reference to hosted WCF Service and everything was

PHP WSDL SOAP Issue: Server was unable to process request.; Authentication Failed

喜你入骨 提交于 2019-12-25 01:05:06
问题 Having solved my previous problem with SOAP, I now have a follow-up question. When I try to retrieve data from WSDL service link I got below error Server was unable to process request. ---> Authentication Failed and my guess are This is an issue with certificate Please see below is the certificate.pem structure is Bag Attributes -----BEGIN CERTIFICATE----- MIICvTCCAiagA...vcNAQEEBhMCTlox ..... ..... -----END CERTIFICATE----- Bag Attributes -----BEGIN PRIVATE KEY----- .... MIICvTCCAiagA..

Python web service for a java application?

我是研究僧i 提交于 2019-12-25 00:52:48
问题 Forgive me if this is a stupid question. I am completely new to building web services and complete web apps. I want to develop a particular functionality for a java based web application. However this functionality is simpler to develop with Python. So is it possible If i develop this web service with Python and use it for a Java based webapp? 回答1: I think it is possible. Let's assume that your webservice method returns a json string. You can use this string, convert into a HashMap in Java

A good way to send the results from a MySQL query over a Web Service?

坚强是说给别人听的谎言 提交于 2019-12-25 00:37:40
问题 I've been trying to figure out a good and easy way to send the results of a MySQL Query over my Web Service. There is a lot of good methods that I've looked into, like Data Transfer Object, but I would like to keep it as simple as possible. At this point simply getting this to work has a higher priority. :) Any help or documentation is welcome, even on more difficult topics, but as mentioned above the simpler the better at this point. 回答1: when you say expose your results, do you also mean

How to handle Error 500 coming back from asmx service

送分小仙女□ 提交于 2019-12-25 00:37:32
问题 I have a standard asmx service on which GET is not allowed. If I visit the asmx http://mysite/myservice.asmx/myoperation in the browser (GET) I get a stack trace flushed to the client and I can see from fiddler it's a 500 internal system error. None of my code is being hit. I have a requirement not to show a stack trace if the url is visited from the browser, so I'd like to redirect to a custom error page I have in place. I have an Application_Error on the global.asax but its not kicking in

Invoking a SOAP web service stopped working after Windows Update

女生的网名这么多〃 提交于 2019-12-25 00:36:41
问题 I have a .NET application that invokes a SOAP web service and it has been working for years but it stopped working few days ago after a Windows (Server 2012 R2) security update (there are many and I don't know which one). Microsoft has published some articles about the issue but all the described workarounds didn't work : https://support.microsoft.com/en-us/help/3155464/ms16-065-description-of-the-tls-ssl-protocol-information-disclosure-vu https://support.microsoft.com/en-us/help/3069494

How to return custom objects in Apache Axis2 WebService

北慕城南 提交于 2019-12-25 00:36:36
问题 I have been trying to deploy an Apache Axis2 WebService using Eclipse Juno, Maven and the java2wsdl plugin. However I keep running into a problem which I believe is due to mapping and hopefully someone can point me in the right direction. I'm trying to call an operation on my WebService that takes in a parameter and returns a custom object but so far with no luck. My Code For talk sake I have the following class: package com.example.models; public class MyClass { // Does something } And I

How to resolve Soap Fault in Ksoap2?

左心房为你撑大大i 提交于 2019-12-25 00:29:59
问题 I am trying to hit a web service with an android application. I am getting following exception about which I don't have any Idea. Please help: 09-01 11:21:29.873: WARN/System.err(921): SoapFault - faultcode: 'soapenv:Server' faultstring: 'com.hello.service.DataStore' faultactor: 'null' detail: org.kxml2.kdom.Node@44e9a320 09-01 11:21:29.883: WARN/System.err(921): at org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(SoapSerializationEnvelope.java:112) 09-01 11:21:29.883: WARN/System