Click here to Skip to main content
15,897,518 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 Updated

SOAP 

3 Jan 2024 by mickohan
Friends, I am able to unmarshall signature block for most of the cases with below code. However its failing to unmarshall for STRTransform case. Can someone guide me? Exception: Exception in thread "main" javax.xml.crypto.MarshalException:...
15 Jun 2023 by esmailian
Hi AllI work whit Nusoap lib in php and send a requst to C# whit WSDL technow I need send a char UTF-8 of php file or database to C# .I can send other encoding but can't send UTF-8for examlpe in php coe : سلام but in C# : سلاÙ
15 Jun 2023 by Member 16030112
Hi, worked for me this: $client = new nusoap_client(URL, true); $client->decode_utf8 = false; Best regards
22 Feb 2023 by salam_verdim_alana_panyatkasi_olana
We have legacy project that it use curren soap web-service however we migrate it restful api. I have a task that I call soap web service like using client tool which soap webservice produce and my restful web service consume it's data. can anyone...
12 Jan 2023 by Codes DeCodes
I am consuming SOAP services from my application and I get following XMl content as response consuming .wsdl file in my code. Toyota Fortuner Japan ...
24 Jul 2022 by Member 15715302
I have a requirement to access Soap service through JavaScript SOAP JavaScript Client Test function soap() { var xmlhttp = new XMLHttpRequest(); ...
24 Jul 2022 by Richard Deeming
You're making a cross-origin request. The server needs to support CORS for that to work, which means it needs to support the OPTIONS method. If it doesn't support that HTTP method, then it doesn't support cross-origin requests. Cross-Origin...
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...
13 Nov 2021 by Diogo Rocha 2021
Hi guys im trying to implement a service that gets the atribute contaminatiotID that is on the two list i have created. im about to showing you up. What i want to do is to get the people with the same contaminationID on wcf.For example Infeted is...
12 Nov 2021 by Diogo Rocha 2021
Hi guys, i'm trying to read this xml file on wcf, so i can use them to my soap services:
12 Nov 2021 by lmoelleb
Use an XDocument. There is also the older XmlDocument. Both will work, but be careful not mixing them up when googling. This page contains an example showing how to load an XDocument: XDocument.Load Method (System.Xml.Linq) | Microsoft Docs[^] ...
13 Oct 2021 by mohamad_ali
hi,i added webservice in xamarin form project, and after send request i got the result in object but when i added code to serialaize and deserialaize object i got error, how can i read result of request ? What I have tried: var servico = new...
13 Oct 2021 by Richard Deeming
If you're using Newtonsoft.Json, as the JsonConvert reference suggests, there is no static Serialize method on the JsonSerializer class. You would have to create an instance, and then call one of the instance Serialize methods, all of which...
15 Jun 2021 by Vinay K M 2021
I have a scenario, where in an external application's client will be sending a soap message to SoapUI tool and the SoapUI tool should send a automated response message(multiple responses) back to the external application. Can this auto response...
6 Apr 2021 by Asma Ghanty
I am getting these errors Request: POST /SOAP/nusoap/productlist.php HTTP/1.0 Host: 127.0.0.1 User-Agent: NuSOAP/0.9.5 (1.123) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 527
23 Nov 2020 by CodeWraith
For a customer I must implement a SOAP webservice according to their WSDL. I do not know what framework they will use to call the service, but it's not .Net. I have generated the code for the code for the webservice with wsdl.exe (using the...
13 Nov 2020 by Info service
I have a SOAP Header that contains only the Security tag, to which I need to add some Assertions, using c #, before making the call to the Web Service. How can I do? What I have tried: var b = new CustomBinding(); ...
1 Sep 2020 by Judah91
I need to implement a WCF request with WS-Security. The header must to have this tags (Signature, UsernameToken and Timestamp) as shown below:
13 Aug 2020 by Sandeep Mewara
I don't see the call like My.WebServices.XYZService.getXYZAsync() being made or post handler attached. Example is in VB but hopefully will give the directions to go ahead. Try following steps: 1. Reference the XYZ Web service 2. Add an event...
13 Aug 2020 by Member 14878480
Hello, I am trying to invoke a Web Services Asynchronously from a VB.Net desktop application. My code is included. When the button is clicked I call the function KycCustomerCheck(), which grabs the required parameters from my form and invokes...
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...
1 Apr 2020 by maysam_p82
Hi, I've exploring on the Internet about this problem for several days, but I dont know why I cant connect to my SOAP WebService. I ve seen that many others had this problem but many of them could solve it. Every time I face with this error in my...
14 Mar 2020 by Laura Saraiva
I'm doing a job for the school but I'm having problems with the images. I get System.Byte [] from my web service and I've tried several solutions and I can't convert to bitmap and add my ImageView. In my database the column "Image" appears...
14 Mar 2020 by OriginalGriff
13 bytes of data. Hmmm ... that's a little suspicious. It's the same length as the string "System.Byte[]" and as a result I'd hazard a guess that that is exactly what it contains. And the most common reason for that is that you inserted the data...
20 Jan 2020 by _Asif_
There is an Article on Code Project that does similar task and it also contains sample code as well. Try it WebService Call From VC++6.0[^]
20 Jan 2020 by AbhijeetMali
I am created illustrator plugin in c++. I want to call SOAP web service in plugin. i am trying bellow code but not getting responce. What I have tried: IServerXMLHTTPRequestPtr pXMLHTTPReq = NULL; hr=pXMLHTTPReq.CreateInstance(__uuidof(ServerXMLHTTP60)); hr =...
12 Jan 2020 by OriginalGriff
If by Quote: "I want to retrieve the password from the password digest" you mean Quote: "I want to get the original password text back" Then you can't: SHA is not an encryption algorithm, it is a hashing algorithm. The difference is simple: hashing functions cannot be reversed to obtain the...
12 Jan 2020 by ranio
I want to retrieve the password from the password digest from the hosted API in asp.net with c# via webservice while consuming the same during Password Digest Authentication Password Digest Creation Logic Password_Digest = Base64(SHA-1(nonce + created + password )) Request API is created...
8 Nov 2019 by RickZeeland
Maybe this will be helpful: Consuming SOAP web services from Android | Nascenia[^]
8 Nov 2019 by gacondes
I need to connect an Android app with a SOAP service and leave the data in a SqlLite table. The Web Service SOAP reads a SQL Server database from a table with 3 or 4 fields, the App must read this web service and store this information in a SqlLite table, with an equal structure, this must be...
28 Sep 2019 by Member 14583379
Hi, I want to make a soap request and assign values to productlist which accepts product class as a parameter [System.Xml.Serialization.XmlArrayItemAttribute("PRODUCT", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public product[] PRODUCTLIST { ...
28 Sep 2019 by Afzaal Ahmad Zeeshan
Since you are getting a null reference exception, the solution is simply: // Create an array of products that it will use. sup.PRODUCTLIST = new product[10]; Since you would be adding the elements at runtime, I would highly recommend using other generic types that can accommodate new elements...
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...
25 Jul 2019 by Harpreet Garcha
I want to pass security token in header of a soap request from c# code as per the sample below
25 Jul 2019 by MadMyche
Have you tried using the WSE (Web Services Enhancements) for Microsoft .NET package from Microsoft? Download Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET[^]
24 Jul 2019 by Member 14540553
Gracias he creado una solución para sabre a quien lo necesite. //error_reporting(E_ALL); //ini_set('display_errors', true); //ini_set('display_startup_errors', true); $test = '
24 Jul 2019 by Loke.mysore
Hi All,i am new to SOAP and i had a requirement of integrating in my application, so i need help in integrating it.This is the sample request which i has to send
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",...
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...
26 Mar 2019 by danash
I'm successfully consuming a web-service SOAP envelope XML response. I've included a shortened version at the bottom. (#1) when I use: Dim totalcost1 As String = cfnroot.SelectNodes("GetRateQuoteResponse/GetRateQuoteResult/TotalCharges").Item(0).InnerText I'm getting a value of 2597.01 which...
26 Mar 2019 by Richard Deeming
Two problems: 1) Your SelectSingleNode call starts from the document, whereas your SelectNodes call starts from the root node. 2) Your SelectSingleNode call is looking for nodes in the "http://schemas.xmlsoap.org/soap/envelope/" namespace, whereas your SelectNodes call is looking for nodes...
21 Mar 2019 by Richard MacCutchan
Please use Google to find research information. The question is far too broad to be answered in a quick answers forum.
7 Mar 2019 by F-ES Sitecore
Your xml isn't valid. Replace with The XML represents a single Vehicles node not a list of them so change the code accordingly XmlSerializer xmlSerializer = new XmlSerializer(typeof(Vehicles)); System.IO.StreamReader sr =...
7 Mar 2019 by Gerry Schmitz
Your "FourWheeler" and "Outbound" tags are "not matched". i.e. your XML is invalid.
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(); ...
8 Nov 2018 by Somu M
- 01-01-2018 Payments SOURCE ...
11 Oct 2018 by dbarni
I have constructed a very simple web service in C# this is the server code using MySql.Data; [WebService(Namespace = "http://www.example.org/", Description = "Example web service in C#")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ScriptService] public class...
11 Oct 2018 by ZurdoDev
As mentioned in the comments, I would suggest using jQuery's ajax() call. It handles the complexities for you. Glad to hear you got it working.
5 Oct 2018 by Member 13987140
well guys I am going to do a project which send work order in c# web service and receive response ,but I need help cause I want to take several data then send it to the web service but I don't know how to do it What I have tried: using System; using System.Collections.Generic; using...
5 Oct 2018 by James Walsh Jr
At a high level, you need to serialize your XML data before you submit it to your web service. There are a couple of steps to get there. 1. Create a class to define your data. public class MyData ( [XmlElement(ElementName="messageid")] string mid {get;set;} ...
29 Aug 2018 by Member 13967103
Hello, I'm using some web services in my project and I'm having problems when I tried to get the result (Soap response). The response is like that:
12 Aug 2018 by Jayakrishnan Radhakrishnan
Hi all,In one of my application I need to invoke a web service.The web service uses OASIS standard. The conditions are as follows:A ) The request has to be digitally signed using the private key of the user.Signature include key info element that contains X.509 certificate...
12 Aug 2018 by RoiveredRitesh
Hello, do you find any solution. If yes, Please guide me.
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...
5 Jul 2018 by Member 10103170
I'm posting to website some valid XML. The request works great in the SoapUI 5.4.0 environment. FileContent is good. I'm now tying to run the event when the user clicks a button on my website. Getting the following error back: SOAP-ENV:Client.authenticationErrorinvalid username or password ...
19 Jun 2018 by Gerry Schmitz
How to: Retrieve a Single Child Element (LINQ to XML) (C#) | Microsoft Docs[^]
19 Jun 2018 by Janine_A
I require a specific element from my SOAP POST request's response. My actual request is done using HTTP Client and this works perfectly. I have been trying to pull an inner element from this response to utilize in my application but I haven't found a way to. This is my first time using SOAP...
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.
12 May 2018 by Member 13159768
Here is an error that I got multiple time while requesting for datetime of camera. Same code working with WPF but not in web application.Please help me out System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type...
4 Apr 2018 by Chris Guyette
I am a non-technical ecommerce manager that recently started working with an external software development team that is making our API for us. A key concern of mine is to ensure that when external partners call our API, it doesn't overload the system and cause it to freeze/hang/slowdown/timeout....
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.
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[]' ...
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...
7 Dec 2017 by Richard MacCutchan
You should post your question in the forum at the end of the article, so the author can help you.
2 Dec 2017 by ilostmyid2
Here is an example of the method for creating a new type of enum: $server->wsdl->addSimpleType('ServerStatus', 'xsd:string', 'SimpleType', 'struct', array(‎ 'Off', 'Stopped', 'Running' )); Then, in Server structure the following line defines the server's...
2 Dec 2017 by ilostmyid2
A field in database at server-side is defined as ENUM. A row of database is returned via a web service including the field. I have to define a type for the returned result. In PHP, I use NuSoap for this purpose. I use addComplexType function. How this function should be called? With what...
29 Nov 2017 by Rohit Shrotriya
How to make web service ??????why use of web service????????????????
16 Oct 2017 by Nayan Ambaliya
Dear experts, This may be a very dumb question but I am confused. I have a web service which has many web methods (declared with the attribute [WebMethod]) All these services do business logic, interact with the database and creates a custom object of a class with values assigned to its...
16 Oct 2017 by Karthik_Mahalingam
Quote: This may work for one use while development, but, I suspect it will definitely crash when multiple users are using the system and the same web service with different parameters. This is because it is static and may overwrite the input parameters while another call is still executing. Is...
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...
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...
12 Sep 2017 by The Zakies
Question answer chatbot using natural language parsing and web scrapping
6 Sep 2017 by Member 13397793
I have trying calling a soap of TCS through postman and it works fine there the only problem occurs when i am trying to call it through code getting this error: "Server was unable to process request. ---> Data at the root level is invalid. Line 1, position 1" What I have tried: This is my...
9 Aug 2017 by David_Wimbley
The problem with a question like this, and what Graeme_Grant brings up is that the company wants you to answer these questions, not get strangers on the internet to answer them for you. If you were to use google and research the fundamentals of your issues you bring up yourself that's one thing...
9 Aug 2017 by Er. Dinesh Sharma
Hi Expert, I have faced the interview in some company where they have given me a problem.But still, I do not find the solution.So could you please help me to give the solution. We have to design product stock service (WCF SOAP BASED Service) having following details. 1)We Have some opening...
1 Aug 2017 by Renjith Kalarikkal
Hi All Good Day! I am working on sending one soap request to a server. I have added the service reference of the WSDL provided. I have to make client authentication and message signing before the message send to the server. I have done the client authentication, kindly help me to provide how...
1 Aug 2017 by Graeme_Grant
Check the documentation provided by "a server". If you have completed authentication correctly, then you received a set of credentials to use with your subsequent requests. Pass the credentials with the request, then if done correctly, the response that you are seeing will be the expected data...
21 Jun 2017 by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
3 Jun 2017 by RickZeeland
Try replacing the endpoint address="https://abc/v2/webservices.asmx" with a fixed ip address if possible, e.g. endpoint address="https://127.0.0.1/v2/webservices.asmx" Also you might need to add a port to the ip address. Also make sure your firewall is not blocking the communication. Also make...
3 Jun 2017 by Shuhaib Kovval
I am getting this error "The type initializer for 'System.ServiceModel.Diagnostics.TraceUtility' threw an exception." While calling soap client web service " . Code gets above error when it reached to code ServiceReference1.WebservicesSoapClient srv =new ...
17 Apr 2017 by Sabarish Mahalingam
Is it possible to send a messgae to mobile phone through Vb 6.0 Application using LAN internet connection? How?
14 Apr 2017 by Homero Rivera
You mentioned 60~70 request created at moment is that per second? If installed on a powerful enough mcachine, SQL Server is good enough. However we need to think a little 'out of the box' and stop worrying about a logging problem, and start think about a pure SQL Server efficiency problem. ...
14 Apr 2017 by AhmedYehiaK
Hi everyone, I have a web API which communicate with multiple external services (SOAP, REST, etc) all requests to external services are in parallel (60~70 request created at moment) i need to now what is the best practice to log all requests and responses. I need to now the best method in...
11 Apr 2017 by judah9107
Hi, my code throws error in this line cliente.RequestSoapContext.Security.Tokens.Add(clientToken); this is the error: (SoapContext.Security is obsolete. Consider deriving from SendSecurityFilter or ReceiveSecurityFilter and creating a custom policy assertion that generates these filters.) My...
11 Apr 2017 by judah9107
This is the solution: Solution : in Refernce.cs file changed instead of System.Web.Services.Protocols.SoapHttpClientProtocol to Microsoft.Web.Services3.WebServicesClientProtocol Now i am able to get proxyClass.RequestSoapContext Here i found the solution: Webservice RequestSoapContext...
6 Apr 2017 by Renjith Kalarikkal
Dear All, Good Day, I am working on a SOAP Web Service, where i want to make soap message signing. i have done the Message signing using the rsa, but i need to create the signature based on RSA SHA256. When i am trying to import the key and perform the message signature, i want to get the...
4 Apr 2017 by jltik
/*****************************...
27 Feb 2017 by AbishekAlva
0down votefavoriteI am trying to create a SOAP request instead of adding service reference that generates proxy classes. The main challenge am facing is with Authentication part. The service provider has 2 URLs 1) Security Token Service [STS] 2) Main service to be called for certain...