Questions tagged [soap]

Simple Object Access Protocol (SOAP) is a protocol specification for exchanging structured information in the implementation of Web Services.

The SOAP specification defines the messaging framework which consists of:

  • The SOAP processing model defining the rules for processing a SOAP message
  • The SOAP extensibility model defining the concepts of SOAP features and SOAP modules
  • The SOAP underlying protocol binding framework describing the rules for defining a binding to an underlying protocol that can be used for exchanging SOAP messages between SOAP nodes
  • The SOAP message construct defining the structure of a SOAP message

XML was chosen as the standard message format because of its widespread use by major corporations and open source development efforts.

Frequently Asked Questions

People often ask these questions related to SOAP:

27664 questions
5
votes
3 answers

Inserting Values from an Array into a SOAP Message based on Key

In an ASP.NET application in which users ("User A") can set up their own web service connections using SOAP, I let them insert their own envelope, which, for example, could be something along these lines: //Formatted for Clarity string soapMessage =…
Patrick
  • 302
  • 2
  • 19
5
votes
1 answer

PHP SoapParam/SoapVar for complex type gives "object hasn't 'xxx' property" - repeating element

This question relates to the use of SoapParam and SoapVar in a PHP SOAP client to handle repeating elements, where requests cannot be framed as associative arrays. More particularly, it addresses a difficulty in using SoapParam/SoapVar for complex…
BillF
  • 1,034
  • 3
  • 13
  • 28
5
votes
2 answers

Generate Java webservice based on ONVIF wsdl (Top Down Method)

I want to generate server code for a device like Camera. There is a standard protocol for these device called ONVIF which publish some popular WSDL documents. So I must generate an interface and skelton from ONFIV's WSDL documents. When I use…
M-Razavi
  • 3,327
  • 2
  • 34
  • 46
5
votes
1 answer

How to log SOAP messages & HTTP headers programmatically in server or client side?

Been searching for long on this and testing. I want simply to log SOAP message details and the transport protocol request/response (header) along with it. What I've found so far: - Handlers .. to output the soap messages as raw xml on console output…
Anddo
  • 2,144
  • 1
  • 14
  • 33
5
votes
0 answers

Importing SAP WSDL with VS17 - Custom tool warning: The following Policy Assertions were not imported/was not handled

I am currently trying to import WSDL files that have been delivered to me by a SAP System. I import the files using the Visual Studio 2017 and add them as a service reference. After importing I get the following warnings: Custom tool warning: The…
user4571368
5
votes
0 answers

How to send XML with attachments in Postman

I have a situation where i am trying to run a SOAP service request containing both attachments and a content body using postman but unable to find correct way to send it Format is as below Files to be uploaded are on my local machine. file1 =…
RJX
  • 383
  • 1
  • 4
  • 11
5
votes
1 answer

ServiceConstructionException when creating a CXF web service client (scala+java+wsdl2java)

These other questions hint at a solution but I haven't been able to get this to work: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/ ServiceConstructionException when creating a CXF web service client How to package an Apache…
L42
  • 3,052
  • 4
  • 28
  • 49
5
votes
2 answers

Send a SOAP request with WSSecurity in NodeJS

I'm trying to request this internal service that the team responsible for it said it needs both an Username + Password AND to be encrypted with a certificate. I thought of using this module node-soap and I found this in the documentation: 1-…
Victor Ferreira
  • 6,151
  • 13
  • 64
  • 120
5
votes
1 answer

JAXB anyType fails to cast

The following code is resulting in a cast exception and I'm not sure why. Objects in ParameterValueList should be eagerly unmarshalled to the JAXB object ParameterValueStruct, but it's not. Everything was generated directly from the soap encoding…
CompEng88
  • 1,336
  • 14
  • 25
5
votes
1 answer

Java SOAP Message Content Type

I used maven wsimport and Java 1.7 generated the SOAP client side code. the WSDL was given by the customer, I believe its a .NET backed SOAP server. After calling the service, I am keep getting a error like: The server sent HTTP status code…
Junchen Liu
  • 5,435
  • 10
  • 51
  • 62
5
votes
2 answers

JAXWS - help required to set WSDL request timeout

Im using Metro 2.0 and J2SE5. The application I have written does not know about the external WebService at compile time, it finds them at runtime based on a business logic XML file, therefore I perform a WSDL request. The sample code I have written…
Alex
  • 483
  • 1
  • 10
  • 21
5
votes
1 answer

What are some free/public popular webservices?

For a little personal site of mine I'm trying to come up with a list of the most popular/used webservices that my site can consume (asp.net and/or silverlight app). I'm mostly interested in using the webservices for little dashboard-like objects…
O.O
  • 11,077
  • 18
  • 94
  • 182
5
votes
1 answer

Calling a secured Web Service in Java

I need to write a web service client to call a third party web service (SOAP based). The third party published a wsdl and the associated xsd files. The third party secure their website and services using .p12 certificates I used wsdl2java to…
Jamie McIlroy
  • 459
  • 2
  • 8
  • 19
5
votes
1 answer

Why do I get this error "falseObject reference not set to an instance of an object." when I call an operation in my webservice

I have a web service and I am calling one of its operations using SOAP client in PHP but all I get is this ["any"]=> string(120) "falseObject reference not set to an instance of an object. I want to know is there anything wrong in my code because I…
Basel
  • 1,305
  • 7
  • 25
  • 34
5
votes
1 answer

PayPal NVP/SOAP checkout express still supported?

I'm providing support to a website that uses Express Checkout. The website sends Name Value Pairs, to this endpoint: api-3t.paypal.com/nvp I'm confused about whether this is already deprecated or not, and whether it will continue working in the…