Click here to Skip to main content
15,897,273 members
Everything / SOAP

SOAP

SOAP

Great Reads

by Jobless Creature
This is a article on SOAP UI. This is used for web service load testing
by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
by Kelum W. Ganegoda
In the MEC mapper, calling a web service is a general scenario. There are few ways to do it.

Latest Articles

by The Zakies
Question answer chatbot using natural language parsing and web scrapping
by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
by Kelum W. Ganegoda
In the MEC mapper, calling a web service is a general scenario. There are few ways to do it.

All Articles

Sort by Title

SOAP 

6 Apr 2016 by SURAJ-CDAC
Below is my stub classes generated by wsdl.exe[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)][System.Xml.Serialization.XmlArrayItemAttribute("entries", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]public partial...
6 Apr 2016 by Sergey Alexandrovich Kryukov
Well, XmlSerializer is itself pretty bad and outdated, not fun to deal with (compared, say, to data contract based serialization). But with SOAP you have no choice but playing by SOAP rules, even though they are quite bad. And I don't see where you do it. In particular, I cannot see where you...
30 Dec 2013 by deepashrikarnataka
Even after providing the credentials while invoking web service through c# code i'm getting this Errror "Namespace prefix SOAP-ENV not defined...But i specify wrong credentials i can see response from the service which contions Authentication failedI tried all possibilities but still have...
19 Aug 2013 by TapasU
Hi All,I am making call to a Java service from my ASMX. However, I am getting the following exception from the Java call in my .Net code base.System.Web.Services.Protocols.SoapException : System.Web.Services.Protocols.SoapException: Server was unable to process request. --->...
19 Aug 2013 by TapasU
Hi All,I tried SOAPUI tool to generate the request. But I am getting Following Error.HTTP/1.1 400 Bad RequestDate: Tue, 20 Aug 2013 05:41:30 GMTServer: Microsoft-IIS/6.0X-Powered-By: ASP.NETCache-Control: privateContent-Length: 0Sample Request below
3 Jun 2011 by Alexey Merson
If you have a SOAP server created with Borland Delphi and a SOAP client created with .NET, then you can't get it working out of the box.
25 Oct 2013 by Member 10322654
Hi , I am trying to access "https" server using xml+soap but every time i am getting 411 error saying Length Required, data should be chunked or length required ....Please find my code below here i am providing Content-Length for specifying length and Transfer-Encoding for chunked data...
13 Nov 2012 by ilostmyid2
hiwe've two kinds of clients, web client and an application which works as a client.now our application simulates web requests by calling index.php as the web client does. we want to change it to calling web services via nusoap. but there's a problem. web services are session-less. for...
13 Nov 2012 by AJMAL SHAHZAD
Sessions are not available in webservices. but you can authenticate any caller by passing an id to the called method or post id as query string from java script.
23 Dec 2012 by ilostmyid2
hia client application is written in C# by Visual Studio which calls some web services in an Ubuntu server which are implemented in php and get available via NuSoap. a web service is required to download a file from server to client. the file may be as large as 1GB.what's your suggestion for...
18 Feb 2014 by ilostmyid2
hithere're two machines:- a client in which Windows 7 x64 is installed. the client application is developed with C# in Visual Studio 2010. it uses class SoapHttpClientProtocol to connect to server and run its web services.- a server in which Ubuntu 12.04 x64 is installed. the server...
26 Dec 2012 by moklasur
http://online-football2012.blogspot.com/2012/12/watch-online-streaming-football-fulham.html[^]http://online-football2012.blogspot.com/2012/12/watch-online-streaming-football-fulham.html[^]
12 Sep 2017 by The Zakies
Question answer chatbot using natural language parsing and web scrapping
12 Dec 2012 by Bruce Hsu
Hi, allI am developing ONVIF application base on gSOAP.When I try to pull event from IPCAMs, some problems appeared.I called CreatePullPointSubscription to subscript events from IPCAM, then I called PullMessages along with the entry point provided by previous...
2 Jan 2012 by K.Muthuramalingam
Kindly send us the program; A Simple Web Services program that Converts Temperature of Farenheit to Celsius and Vice-Versa.
2 Jan 2012 by Richard MacCutchan
Please stop posting this question; nobody is going to do your work for you.
2 Jan 2012 by Andreas Gieriet
Dear K.,You seem to be really lazy: search the net for "web service tutorial" and you will find exactly what you need - literally.E.g. http://www.w3schools.com/webservices/ws_example.asp[^]RegardsAndi
2 Jan 2012 by Uday P.Singh
google is your friend, use it before posting your question here, Try this:http://msdn.microsoft.com/en-us/library/8wbhsy70%28v=vs.80%29.aspx[^] hope it helps :)
5 Oct 2011 by F.D.I
Hi I need help with generating client code from a WSDL, I'm trying to generate client code from a WSDL which references a no-namespace (chameleon) schema, and the tool ( Microsoft Visual C# 2010 express ) is refusing.Here is the chameleon XSD (ChameleonTests.xsd): ...
9 Mar 2013 by Rakhesh Rajan
I need to pass the user token with the soap header with each request for validation in a WCF service. I read this can be acheived through message contracts.But my clients are using java or older varsions of .net. So will this solution work for them?
5 Dec 2013 by petra.elhashem
Hi I'm working on Adyen payment provider trying to submit a recurring payment request but i keep getting internal server error as response on this statement: requests.GetResponse() i don't know what i doing wrong in the code if someone can help me i tried their support they told me to check the...
5 Dec 2013 by OriginalGriff
Never, ever, accept code from a insecure website to handle anything to do with real money.You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third...
6 Dec 2013 by petra.elhashem
For anyone who's facing the same issue the solution turned out to be extremely simple.Just save the wsdl file provided online anywhere on your pc then right click on the solution then choose add a service reference. Click advanced choose add web reference put the full path to the saved wsld....
28 Nov 2013 by MuhammadUSman1
Core2ServiceHTTPSBASICHTTP2 service = new Core2ServiceHTTPSBASICHTTP2(); COREEnvelopeRealTimeRequest request = new COREEnvelopeRealTimeRequest(); COREEnvelopeRealTimeResponse response = new COREEnvelopeRealTimeResponse(); ...
4 Feb 2016 by dev24
Hi,I am trying to write web service client in android using android studio.I tested client part using SoapUI it works fine. The SoapUI envelope is as follow: ...
5 Feb 2013 by mario genov
Basically what I'm trying is redirect requests to an ASMX web service to another ASMX web service. For simplicity's sake let's say I have an ASMX web service with Hello method only and simple soap extension like this one (let's ignore the log entries code). The differences in my soap extension...
13 Dec 2012 by Mats Samuelsson
AT&T hosted an M2M Challenge at the 2013 AT&T Developer Summit.
17 Apr 2013 by @BangIndia
Server side code :import com.lowagie.text.Image;import javax.activation.DataHandler;import javax.activation.FileDataSource;import javax.jws.WebService;import javax.jws.WebMethod;import javax.jws.WebParam;import javax.xml.bind.annotation.XmlMimeType;import...
4 Apr 2017 by jltik
/*****************************...
4 Feb 2013 by Member 9599975
Hi,I have a paypal element on my website and am really struggling with.This part I am trying to draw a total for the datatable which is formatted to display in currency.The error is a Format Exception "Input string was not in a correct format."my code is PaymentDetailsType...
5 Feb 2013 by Sheikh Muhammad Haris
Don't convert your value to Double. Try this Value = BasicAmountType(lblgTotal.Text)
5 Sep 2016 by aliwpf
hi there . you can use WCF with msmq binding. soap with mtom . because wcf support cross platform.
14 Apr 2013 by sudeep kushwaha
Hi,I have created a wcf service. I want the service to broadcast data to all clients using this wcf service. I have used callback, but that is a different concept. I want this wcf service to broadcast data-packets at a regular interval of time let say at every 1 second. Thanks in Advance.
15 Apr 2013 by Lebohang Danster
The following can be easily achieved by using websockets. Example from the microsoft
10 Aug 2011 by rouruoshui
var URL = 'http://lenovo-01442342:8000/personal/ruoshui/Docs/_vti_bin/lists.asmx';var myTitle=$('#myTitle').val();var myCity=$('#myCity').val();var myMul=$('#myMulText').val();var myCurrency = $('#myCurrency').val();var myNum = $('#Num_Column').val();var myDate=...
18 Aug 2011 by Abduyar
Hello, I have a server which is using a SOAP technology. It contains of forms and e.t.c. Also I have an application which find and replace text in files (in XML files) and save changes in new file. So, I need to call my server using application and replace the text in XML form and...
18 Aug 2011 by TheyCallMeMrJames
When you reference a web service you don't need to parse the XML, the objects will be created for you through the generated proxy/client class.You will then have a .NET object that you can modify the values of.If you want, you can then save it out as XML using XmlSerializer[^]. This is...
10 Jan 2017 by AbishekAlva
I am working on a project that would consume a 3rd party web service for certain functionality. We have got 2 WSDL files 1) WSDL file related to security token service 2) WSDL file related to certain functionality that our application uses. We are also provided with client certificate in PKCS-12...
10 Jan 2017 by anup.bhunia
Hope you are calling the third party web service from your server end, your integration should look like;[Browser] ---[your server]---when token not present---[third party security toke service][Browser] ---[your server]---when token present---[third party service]your server should...
29 Aug 2014 by SalouaK
I have to send some XML DATA to web service via POST Command , I have no information about the webserice or anything at all , i only know that i need to send a XMLstream to it , i know the server IP adress and the port , the XML tree of the parameters. and that all , I am a bet lost on how to...
21 Dec 2017 by Prem Kumar Rathrolla
Hello friends, I have a application where VB6 will Send response to Soap Tool Kit and then Soap will get response from a web service and revert that response back to VB6 application. Untill here, are you clear? Now, Soap Tool kit acts a Middleware in my current archietecture, isn't? Now i...
21 Dec 2017 by David_Wimbley
I think you need to look at your architecture and question why you need a C# console application to act as a middle man between the Web Service (presumably the soap webservice) and your vb6 forms. I'm slightly confused to your question so to establish my understanding here is what I think...
14 May 2013 by Dustin Prevatt
I have been trying to figure this out for a while now. I have been able to find sample code for console application to post data but i'm completely new to web services. I have a console app that does some calculations and i would like to then send those calculations to a web service. Could some...
14 May 2013 by RaisKazi
Have a look at below links.http://forums.asp.net/t/1056508.aspx/1http://stackoverflow.com/questions/8270464/best-way-to-call-a-json-webservice-from-a-net-consoleAnd many more on Google.
14 May 2013 by Sergey Alexandrovich Kryukov
You cannot get a "simple code" in response to such a vague request. It really depends on the detail of what you want to achieve and your service.However, one thing is obvious: your Web Service application provides some interface to the client application. Your console application is no...
22 Jun 2013 by Avatar1980
I would ask you for your help! DateTime date = Convert.ToDateTime("1900-01-01");VisionSoapClient vsc = new VisionSoapClient();System.Xml.Linq.XElement xdata = vsc.GetCikkek(date);string path = "/ramiris/cikkek.xml";xdata.Save(Server.MapPath(path));I get the following error...
23 Jul 2018 by Sni.DelWoods
Hi folks, I'm creating a wrapper class (wrapper.dll) for some webservices. One webservice need basic authentication. Binding configuration is made in the code, not in app.config. How can I pass the credentials to the custom binding? Thanks. Andy What I have tried: internal static...
10 Apr 2013 by Member 9864473
How to call multiple web service methods in android. I make web service in asp.net. In android I call my web method in AsyncTask. on PostExecute() I write this codeprotected void onPreExecute()...
21 Aug 2013 by Member 10222723
Can anyone, please, share a small simple project where i can learn how to call SOAP service from Javascript??Please help me. I really need it.Thanks in advance
21 Aug 2013 by Sudhakar Shinde
Following is the link you can use to understand Javascript SOAP Client.Javascript SOAP Client[^]Alternatively you can search using google to find out several examples related to this topic.
21 Aug 2013 by thatraja
Go with jQueryCall SOAP-XML Web Services With jQuery Ajax[^]
1 Apr 2014 by Member 10222723
Thank You everyone for your hellp
3 Feb 2022 by JRivord
I have a script that is using PowerShell 5.1 and calling New-WebServiceProxy. I want to make this work in PowerShell Core (7.1). I have spent several hours trying to resolve this issue. Some of the best places I have found are...
17 Dec 2015 by spskumar_121
Hi, I got an WSDL file from siebel team. I need to call this service from Jquery $.soap call and parse the value.The WSDL file content looks like
17 Dec 2015 by Sergey Alexandrovich Kryukov
First, there is no such concept as "call WSDL file". Second, if you request for WSDL file, of course, in any reasonable service based on WSDL, you will get this WSDL file. What else would you expect?This is not how the service itself is consumed. It's explained in many...
17 Apr 2013 by sudeep kushwaha
I have created a WCF Service with callback and using wsDualHttp Binding. I want to connect to this service using PHP client. In PHP , SoapClient is used to call the WCF service like below:$wsdl = "http://pathto/file.svc?wsdl"$client = new SoapClient($wsdl, array('trace' => $trace,...
11 Aug 2013 by ManojKumar19
I am calling Web service over HTTP but it is failing to connect. Exception is connection close. Wondering why it is closed though same SOAP message works in SOAP UI. Can I give Action with URN as I copyed from SOAP UI. Please suggest what is wrong.My C# code is as follows.using...
14 Aug 2013 by ManojKumar19
Order is correct. I python code to connect but again how to do in C#. See if it can help in fixing for you.import sudsfrom suds.client import Clientfrom suds.wsse import *def main(): url = 'https://webservices.cp.com/webservices/cphargepoint/services/4.1' wsdl =...
8 Jan 2012 by amertarekt
Anyone know that we can call web service in C# using Add Web Reference in VS2008 and we can call it through c and c++ using SOAP library like gsoap librarythis library convert the xml string that is used to call the webservice and send it to it through a port is anyone know how can i do...
9 Jan 2012 by amertarekt
I solved it We can Call webservice using Tcp/Ip by sending the XML Code that is appearing under the page of function calling in the webservice page like thiehttp://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry[^]to port 80 and the server and wait for the HTTP responce
10 Oct 2012 by ranju007
i want to call more than one soapaction in a single activity class.is it possible?????pls give me an example.....thnxranjith
18 Oct 2012 by Chaitalee Thakar
Check thisString SOAP_ACTION = "http://tempuri.org/your method"; String METHOD_NAME = "your method"; String SOAP_ACTION_1 = "http://tempuri.org/your method one"; String METHOD_NAME_1 = "your method one"; String SOAP_ACTION_2 = "http://tempuri.org/your method...
10 Oct 2017 by ali_1
I created a WEB API using asp.net with basic authentication. Here is my get Method link : localhost:XXX/api/Products/X1 But the client need the request and response in XML format with Products id and authentications credential included in it . Example :
10 Oct 2017 by Atlapure Ambrish
You should simply return your object, and shouldn't be concerned about whether its XML or JSON. It is the client's responsibility to request JSON or XML from the web api. To test this I would simply use Fiddlder and make a request to the web api by specifying request header (either json or...
15 Oct 2017 by ali_1
Hi All , Can I use soap requests Restful Web API ? I have a basic authentication and need to send ProductID in the request . the request should be like below:
15 Oct 2017 by Kornfeld Eliyahu Peter
Yes - in theory you can use SOAP envelopes in a RESTfull API (and that because SOAP is a protocol and REST is architectural definition without claiming the use of any specific protocol)... However in our reality the actual templates to create RESTfull API (for instance in VS) does not support it...
16 Jan 2015 by qikee
May you please tell me how can i link an app. with web service SOAP? please write me the code.. thank you
16 Jan 2015 by Zoltán Zörgő
You need to use Add Service Reference in Solution Explorer: http://msdn.microsoft.com/en-us/library/bb628652.aspx[^]See this tutorail too: http://www.csharptutorial.in/37/csharp-net-how-to-consume-a-web-service-in-csharp-net-visual-studio-2010[^]
14 Nov 2013 by ispiders
public static string web Request(string AuthoUserName, string AuthoPassword, string sUserID, string sUserName, string sPlateNo, string sPlateCat, string sPlateCode, string sEmirate, string sCountry, string sCity, string sChessisNo, string sFetchURL){ string str = string.Empty; try ...
14 Nov 2013 by Vishal Pand3y
see these Links Link 1Link 2Link 3
19 Jul 2020 by Paul van Zyl
Hi there I have gotten it right to pull info from soap - wsdl but cant get it formatted to import into mysql https://fleet11.cartrack.co.za/api/[^] What I have tried: $dataFromTheForm = $_POST['fieldName']; $soapUrl =...
19 Jul 2020 by Sandeep Mewara
Based on the error, it seems the case of Authorization issue. Whatever authenticated user (username + passwrod) you are using to talk to the service seems not authorized to interact. Make sure: 1. You have a right user who is authorized to...
25 Apr 2013 by drugdu
Hi,My problem is that i have a WSDL for a java webService invoked from C# it has a service.doWork() parameter that get the service request, when it does it, and using wire shark to see the package, I see that it send a tag and int the xml the real problem here is that...
4 Sep 2013 by drugdu
i dont find any way to do it, we change the service
31 May 2019 by Shiji lKailas
I need to create a web service client in C# .net for consuming web services provided by the Income tax department, Government of India for submitting ITR in bulk. They have provided a web service user manual and it's saying "web services are implemented based on OASIS standards. These...
31 May 2019 by Gerry Schmitz
Before you can send anything "in bulk", these "services" require a verification process that usually involves acquiring credentials for testing, a test account, and test procedures. I suggest you look into those first before worrying about WCF versus WSE. As part of your "feasibility study",...
24 Mar 2014 by amiach
I try to invoke method from my proxy class generated from a web reference added to the project , this is my code below public void call() { com.monster.schemas.MonsterBusinessGatewayService gateway = new MonsterBusinessGatewayService(); Job job...
25 Mar 2014 by amiach
The problem is solved thanks to this code com.monster.schemas.MonsterBusinessGatewayService gateway = new MonsterBusinessGatewayService(); //Business Gataway paramaters gateway.Url = "https://208.71.198.74:8443/bgwBroker"; ...
15 Nov 2012 by ranju007
i am trying to develop a android application(client side). my application use ksoap2 connection to connect with server. in my server side i need to identify which mobile user use the application. and i need to keep data with unique user id.is there any idea to collect any unique user info...
21 Nov 2012 by AndroidVivek
Every phone has there unique mac address , you can use that address...you will get lots of code to find mac address of phone...and i case of to make flexible uid...you have to auto increment the uid in database and work with it by passing params..
4 Jun 2018 by Shiva Kumar
When i'm trying to get the response from soap service i'm getting the following error. The header 'ReliableMessaging' from the namespace 'http://sap.com/xi/XI/Message/30' was not understood by the recipient of this message, causing the message to not be processed. This error typically...
25 May 2018 by X2A coding
I dont have much knowledge in this type of code but mazybe try the "Intel123!": area on the code.
19 Mar 2014 by amiach
Hello , I added a service reference for the web service that I work with , it 's the Monster business Gateway . The operation work succesfully but after this and don't know what I should do to communicate with it and how can I send my xml file to it ! This the documentation provided by...
20 Mar 2014 by ravikhoda
now you need to create an object of the web reference that you have added in your project. this will give access to all methods of the webservice and you can use it as you wish.Webservice obj = new Webservice();string helloworld = obj.helloworld(); this will return the hello...
15 Feb 2015 by Dhruv2093
ERROR: 02-16 15:07:58.596: I/JSONObject(2856): rslt string::java.net.ConnectException: failed to connect to /192.168.137.161 (port 8080): connect failed: ENETUNREACH (Network is unreachable)WEB SERVICE IS DEPLOYED ON IIS.public final String WSDL_TARGET_NAMESPACE =...
19 Jun 2012 by dieforwhat
Hi everyone.I'm using Delphi's Soap implementation to consume a .Net written Web Service.Is there any way to force Delphi(or wininet) to send an expect-100 header,wait and continue acording to response of server.Without an expect-100-continue sequence,service raises the error with 'service...
19 Jun 2012 by Ganesan Senthilvel
Refer this article http://www.drbob42.com/examines/examin45.htm[^]
13 Mar 2018 by RichardvTol
I try to consume a SOAP api in C#. The code is compiled but when I run it, the following message appears: System.InvalidOperationException HResult=0x80131509 Message=Unable to generate a temporary class (result=1). error CS0029: Cannot implicitly convert type 'string' to 'string[]' ...
13 Mar 2018 by RichardvTol
I found the answer. It's a Microsoft Visual Studio issue. The reference generated by Visual Studio contains an error. See here for details: https://developer.salesforce.com/forums/?id=906F0000000AiPEIA0.
12 Dec 2016 by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
2 Oct 2013 by anrorathod
Dear friends,I want to consume SOAP services which is hosted with secure certificate.I have url like https://servername.com/something I have also certificate and its password.Please help me to call services and get response.Thanks in advance.Thanks,Rohit
2 Oct 2013 by Sergey Alexandrovich Kryukov
Please see the answer on top: http://stackoverflow.com/questions/3339058/consuming-soap-web-service-in-asp-net[^].If you have WSDL, this is what you should do; and this is quite a simple thing, just generate a proxy and use it.—SA
13 Sep 2019 by Jassim Rahma
Hi, I am trying to consume a government web service to get address details. I tried below code but it returns nothing although it works fine when I try it on my WinForm when using Add Web Service A sample valid number is mention in the attached project 1923578758 What I have tried: Here...
4 Apr 2012 by dieforwhat
I've downloaded trial verison of XE2 and tried to consume some web services.Using wsdl importer wizard of XE2 , I generated required interfaces & proxies.But when I tried to invoke remote methods(wsdl operations), I get 'Access Violation' error.It's realy difficult to trace error(AV in...
16 Aug 2013 by Gasbie
Hi all, I writing a project the requires me to consume an api. i add a we reference to my asp.net application and tried to initiate a request but the response i got were empty strings for some fields. so, i decided to use Xdocument in xml to pass the request also i got an empty...
19 Feb 2016 by Abhishek Shrotriya
This tip gives the very basic/simple implementation to interact with SAP PI webservice for authorized recipients.
4 Jul 2014 by blackh4t
First of all to note that I am calling link?wsdl web service. I am using Visual Studio 2010 and I have created Windows Phone application.I added a New service reference to the WebService, and it generated all of the classes in a proper way. Next what I did is I wrote the bellow code in order...
7 Jul 2014 by Pravuprasad
you can go through below link this might help you...
5 Mar 2019 by Codes DeCodes
I am consuming SOAP web service from my .net application. I have executed the .wsdl file given to me and it is showing the definition content. I have following code that is not giving required response. static void Main(string[] args) { TestService(); ...
5 Jun 2013 by Vic91
In our current proyect, we have a Report Server where we host all the reports that feed from our Data Warehouse (SQL Server). But recently we were asked to include a report that feeds from a web service (to show live information from the main system rather than backed up information from the...