web-services

Web service provides output “Error” when i access it through android instead of providing the expected result

我怕爱的太早我们不能终老 提交于 2020-01-05 06:52:22
问题 Sorry im new to android development and i am trying to access a web service though kSoup2... The code is as follows package com.example.mytestws; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapPrimitive; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.AndroidHttpTransport; import android.os.Bundle; import android.widget.TextView; import android.app.Activity; public class MainActivity

Calling .NET webservice automatically

老子叫甜甜 提交于 2020-01-05 06:42:09
问题 I am new to .NET and web services. My aim is to create a .asmx webservice in C# which will invoke itself in every 12 hours automatically. So, there won't be anybody invoking its methods but it will invoke itself regularly. I am confused about how to do this with .NET webservices. 回答1: My suggestion would be to use either a windows service or a console app scheduled to run every 12 hours by the host system's scheduling software (Windows Task Scheduler, cron, etc.). Here is an interesting

Dll with WebServices from .Net to vb6 - how to setup app.config

我怕爱的太早我们不能终老 提交于 2020-01-05 06:21:28
问题 I have a DLL that works with a webServices. I developed some projects with .NET that consume this DLL and work without problems. I also have some projects developed in VB6 and I need to consume this DLL, but when I call the method where the webservice is running, it shows me the following message. Could not find default endpoint element that references contract 'MYDLLNAME' in the service model client configuaration section. This might be because no configuaration file was found for your

Dll with WebServices from .Net to vb6 - how to setup app.config

匆匆过客 提交于 2020-01-05 06:19:44
问题 I have a DLL that works with a webServices. I developed some projects with .NET that consume this DLL and work without problems. I also have some projects developed in VB6 and I need to consume this DLL, but when I call the method where the webservice is running, it shows me the following message. Could not find default endpoint element that references contract 'MYDLLNAME' in the service model client configuaration section. This might be because no configuaration file was found for your

Dll with WebServices from .Net to vb6 - how to setup app.config

时光怂恿深爱的人放手 提交于 2020-01-05 06:19:41
问题 I have a DLL that works with a webServices. I developed some projects with .NET that consume this DLL and work without problems. I also have some projects developed in VB6 and I need to consume this DLL, but when I call the method where the webservice is running, it shows me the following message. Could not find default endpoint element that references contract 'MYDLLNAME' in the service model client configuaration section. This might be because no configuaration file was found for your

Suggestion for getting data from a web server?

倖福魔咒の 提交于 2020-01-05 05:30:08
问题 I have a web server which contains a list of "interesting locations". These are "hard coded" on the web server, and maintained from an administrator on the server-side. Users can't add or remove anything. From within my app, I want to make a button "fetch locations", and the app should then contact the web server and ask for that "interesting locations" list. I'm using Core Data and have an InterestingLocation entity in my model. The goal is to get the data from the web server and persist it

Confused about how java annotations (ie @SecurityDomain) work and what they do (do they generate xml? wsdl?)

▼魔方 西西 提交于 2020-01-05 05:29:04
问题 I have to admit that I am pretty confused how annotations work in java (SOAP) webservices. What does adding a tag do? I think that maybe adding a tag generates some xml or maybe a wsdl? When I build should I see a difference in those files? Any description or link would be great. I have done a lot of searching but I think maybe I am searching for the wrong things. For example when I search for: @securityDomain I just get garbadge results. I am having difficulty finding a good description of

CGImageSourceCreateWithURL with authentication

▼魔方 西西 提交于 2020-01-05 04:59:28
问题 i'm trying to read image property from a url like : http://www.example.com/ws/img/8 As it's a webservice, i need to pass authentication to URL. I don't want to download the image to read it's properties. So i'm trying to use CGImageSourceCreateWithURL like this: CGImageSourceRef imageSourceRef = CGImageSourceCreateWithURL((__bridge CFURLRef)[NSURL URLWithString:@"http://admin:admin@www.example.com/ws/img/8"], NULL); CFDictionaryRef props = CGImageSourceCopyPropertiesAtIndex(imageSourceRef, 0,

Call WCF (.svc) service from VBScript, WScript, VBA, etc with parameters

笑着哭i 提交于 2020-01-05 04:48:28
问题 I've been trying to implement the exmaples provided in the question posted previously below: Calling WCF service by VBScript In my specific scenario I need to pass in a single string variable which will return an array of strings but having little luck. I suspect I'm having a tough time getting the envelope request correct. Below is the wdsl that I'm trying to call. Can you give me an example of how i can call this passing in the parameter and parsing the return array? <?xml version="1.0"

ASP.NET Calling webmethods inside an webservice - Internal Server Error

為{幸葍}努か 提交于 2020-01-05 04:42:22
问题 I have an web service named AEWService.asmx with the following code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; namespace editor { [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. [System.Web.Script.Services