Questions tagged [soap]
Simple Object Access Protocol a.k.a SOAP
59
questions
0
votes
0
answers
103
views
How to avoid duplicate code when working with SOAP proxy classes in different environments?
It's been a long time since I worked with SOAP so my question might be trivial but I just wasn't able to find a satisfying answer so far!
Anyways here's what's going on:
I got access to a system via ...
0
votes
1
answer
3k
views
What would you name the different DTOs for the methods "GetUser" and "AddUser"?
I have a web service with the methods GetUser and AddUser, and some DTOs (Data Transfer Objects)
GetUser: retrieves user information, as a DTO called UserGet
DTO AddUser: takes a DTO called UserAdd, ...
0
votes
2
answers
425
views
Does presentation layer inlcude REST and SOAP services?
Please, consider three pictures, I found in internet:
1:
2:
3:
I always thought, that REST and SOAP services are in service layer - see #1. However, if you look at #2, you'll see, that presentation ...
0
votes
1
answer
77
views
How to abstract the communication protocol used to communicate between different microservices?
I would like to implement a microservice which can support both REST and SOAP, and will use the protocol based on the client preference (or what the client is already using).
I have been thinking of ...
5
votes
2
answers
3k
views
Multiple DTOs vs Single DTO vs primitives
I'm wondering what's the best approach, and its advantages, when specifying parameters for the Web Service methods. Best to explain it through examples.
In my (SOAP) WebService, used by a Xamarin ...
2
votes
1
answer
642
views
API design reference , Empty list response (REST, SOAP, ...) type compatibility
Not sure where to go for an authoritive/text book answer for this question.
Suppose a service returns a list of something e.g. Customer, Employee, Fruits, etc.
What should be returned when the list ...
-2
votes
2
answers
344
views
Confused about how APIs are called
I'm new to APIs. Conceptually, I understand what an API is, but I get confused when it comes to the some of the technical details.
All of the tutorials I've read talk about URLs and endpoints, and ...
2
votes
2
answers
738
views
Building a rest api layer on top of a soap webservice
We want to build a rest api layer on top of a soap webservice.
Our current situation is that we have a coldfusion application that talks with the webservice, both running on different servers. The ...
2
votes
1
answer
212
views
How to design document exchange system
I am trying to come up with a design of document exchange system.
System should be for business-to-business communication.
Description:
There will be possibly 100+ clients(consumers) - they will have ...
1
vote
1
answer
821
views
Can I use Entity Framework with a SOAP API layer over a database?
We have a hierarchical database at our institution that has exposed a SOAP endpoint as the only way to make CRUD operations against it. We are primarily a .NET Core shop. I'm trying to conceptualize ...
0
votes
1
answer
956
views
Point-to-Point integration vs ESB
We have a system which has been in development for 10+ years and still continues. It is built as an SOA and use SOAP. We have a new client, internally within our company, who wants to integrate with ...
0
votes
1
answer
52
views
Can websites written in JavaScript make requests to SOAP API's?
I have an API written in SOAP 1.2 that I am trying to give to a developer whose website is written in Javascript and said they can not request the file because they do not know PHP. From my ...
1
vote
1
answer
142
views
Should I wrap my web service request data in an additional object?
I'm preparing some web services with Spring WS. Due to it being contract-first, I followed its guide and prepared an XSD.
So far, my Web Service request XML looks like this (this is SoapUI rendered ...
1
vote
1
answer
2k
views
RMI/CORBA vs Web service
As mentioned in wiki,
A service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication ...
3
votes
1
answer
2k
views
Is WSDL still used? [closed]
As today most of the development is towards the lightweight service and RESTful architecture, is WSDL still needed to describe these services? In today's world -- where cloud computing, mobile ...
6
votes
6
answers
471
views
Are SOAP services better than RESTful services for interfacing with complex scientific models?
I have a scientific model that is typically run by providing it a complex text-based input file. I would like to provide a service endpoint to allow users to instantiate the underlying model. The ...
3
votes
1
answer
5k
views
How to design anti-corruption layer in DDD
I'm getting ready to create an integration with a major external system and was wondering if my understanding of the design pattern for this in domain driven design was solid.
Considerations:
...
0
votes
0
answers
56
views
Protocol to expose services to process both on same machine or remote
I am developing a server that exposes multiple services to other processes (they could be both servers or hmi clients): those could be hosted on the same machine or not and they could be written in ...
1
vote
2
answers
834
views
SOAP API Expects String Element?
Lately I've been interacting with a handful of SOAP APIs from different enterprise systems and I'm somewhat puzzled that oftentimes the WSDLs seem to indicate that they should be receiving XML data as ...
-1
votes
1
answer
244
views
SOAP and JSON services
Is it possible to produce a web service based on SOAP and on JSON simultaneously?
For what I know it seems that only RESTfull services may use JSON
63
votes
3
answers
21k
views
What is the present-day significance of SOAP
Last I encountered a SOAP based service was during my internship in a financial firm in 2013. That was the time when I started my career in IT. I remember having some study material about SOAP in one ...
-2
votes
1
answer
125
views
WebService testing using SOAPUI
I am currently working as functional tester. I have been assigned to do web services testing for a project. The test strategy is something like this:
our company is switching vendors who provide a ...
0
votes
3
answers
639
views
Is it good practice to consume both the REST and SOAP API for a particular service?
I am in the planning phase of a project that will use a 3rd party service that supports both REST and SOAP. The SOAP API is more mature and thus supports more operations.
I'd love to depend only on ...
0
votes
1
answer
167
views
What is the importance of WS-Addressing in SOAP?
I'm learning Web Services Addressing and SOAP, but I can't get the importance of WS-Addressing in SOAP. This is quoted from Wikipedia "standardized way of including message routing data within SOAP ...
0
votes
2
answers
405
views
Signing Soap/Xml Messages
When you sign a SOAP message with a private key, how does the server know your public key in order to verify it?
I am connecting to a Datapower instance that sits in front of our actual Java web ...
1
vote
1
answer
9k
views
use of minOccurs="0" without nillable="true" in SOAP
I have received an XSD from a 3rd party supplier generated from a Java based system; which is to be used to create a SOAP endpoint for us to receive data transfers. Their XSD does not make any use of ...
3
votes
1
answer
5k
views
Communicating with third party API
I am working on an App which basically communicate with a third party API, it has no back-end. The front-end will be a SPA. Here is the overall scenario:
The external API needs current user's Id to ...
1
vote
3
answers
827
views
Soap vs. rest - a hybrid approach? [closed]
I have a proper SOA architecture, with web services defined with WSDL and responding to SOAP requests.
But this application has also an endpoint that responds to json request and replies in json ...
5
votes
3
answers
4k
views
How to prevent multiple form submissions when user reloads the page
I'm currently working on a project which requires that we integration a 3rd party SOAP API to handle a number of basic CRUD type operations.
Our current implementation allows us to leveraging the ...
3
votes
2
answers
4k
views
DTOs vs Domain Models and invoking Command Handlers directly
I was just hoping someone might be able to answer a few questions I have regarding the proper design of DTOs and Domain Models. I'm currently working on a project which involves leveraging a SOAP API.
...
1
vote
2
answers
756
views
What does that mean? SOAP operation represents logic and REST Resources that represent data
I am trying to understand the different between SOAP and REST so one of these differences is. SOAP exposes operation that represents logic and REST exposes Resources that represent data. What does ...
2
votes
1
answer
287
views
SOA principles, encapsulation and autonomy
We are developing multiple web services in C# using WCF, but we´re new doing it.
So, for what we have read and learnt, this is our approach:
We have a class library that we called CommonLibrary that ...
1
vote
1
answer
1k
views
What is the best and most optimized way to return a filestream from a .NET WCF SOAP service?
To give some background, i have a WCF SOAP service in .NET that needs to return pdf files. This service will be used by multiple application, many times in a day. The size of the files returned varies ...
0
votes
0
answers
426
views
Reliable way to generate a token in a SOAP webservice
Legacy SOAP service here at work use a token authentication. The flow is:
As first step I call the startSession method passing username (say myUser) and password (say myPWD) as parameter. At this ...
1
vote
1
answer
289
views
Are there any serialization schemes for OOP that include methods or operations in the contract in addition to data structure?
So typically we create schemas, mime-types, etc for our objects when we're communicating to another system about objects.
The document usually defines data structure of the objects for serialization ...
2
votes
2
answers
599
views
SOAP message testing
I am working in Scala/Java.
I'm testing the messaging infrastructure of a part of my system that I did several years ago with CXF and Java. More specifically, I'm re-writing the specification of the ...
5
votes
1
answer
514
views
Layers and layers of SOAP
I am designing the back-end to a SOAP web-service and have a question about how I am thinking of doing it.
I am going to go with a simple layered design which consists of 3 separate layers.
Layer 1 -...
4
votes
2
answers
392
views
How to enrich a simple two endpoint SOAP application to become enterprise level?
Imagine you have some exchange of data between two endpoints (webservices or let's call URL).
Data can travel in any way (Xml, Json, GET, POST) it doesn't matter.
I've got the source code of the ...
0
votes
3
answers
129
views
Three approaches for obtaining different sized versions of an image from the server
My android app needs different sized versions of images for different purpose and bandwidth preservation.
Approach one:
when the user uploads their avatar or another image, my php script creates 4 ...
3
votes
1
answer
184
views
Pointers for transitioning from SOAP to REST based services
We currently have a SOAP based web service which is being used by various teams as the primary data source. We eventually want to transition to REST based services. We are reluctant to do this now as ...
0
votes
1
answer
530
views
Is ROA a specific form of doing SOA?
I have read somewhere that ROA (Resource Oriented Architecture) is SOA (Service Oriented Architecture) with specific constraints added. SOA is the abstract concept of combining discrete pieces of ...
7
votes
3
answers
4k
views
Can a webservice that uses JSON over POST be classified as RESTful?
Recently I have started using a new(to me) paradigm for web services. I use the controller to accept JSON strings sent over POST, process it and return JSON strings. GET, PUT, DELETE and other methods ...
21
votes
10
answers
16k
views
When does SOAP make more sense than REST? [duplicate]
From my understanding of REST, the implicit assumption is that all operations are CRUD operations. Sometimes, you are not doing CRUD operations and are doing some more complex logic. In this case, is ...
0
votes
1
answer
135
views
How does signing headers and/or body provide security
I'm securing a WCF webservice with TransportWithMessageCredential security that uses certificates.
So I'll have to choosee between signing headers & body or signing and encrypting.
Now my question ...
1
vote
1
answer
475
views
In developing a soap client proxy, which return structure is easier to use and more sensible?
I'm writing (in PHP) a client/proxy for a SOAP web service. The return types are consistently wrapped in response objects that contain the return values. In many cases this make a lot of sense - for ...
2
votes
1
answer
6k
views
What is the difference between SOAP and Web Services?
Keep getting confused about these two. Anyone care to explain the difference(s)?
3
votes
4
answers
3k
views
AGPL License - does it apply in this scenario?
There is an AGPLv3 based software (Client) that makes web service calls (using SOAP) to another software (Server - commercial, cloud based). There is no common code or any connection whatsoever ...
9
votes
1
answer
739
views
Design thoughts on a schema based request object for CXF endpoint
Trying to seek design suggestion on a schema based request object for a CXF endpoint. I've created a CXF SOAP endpoint which takes the following object as an input. The request object will have ...
3
votes
2
answers
7k
views
Ajax application: using SOAP vs REST ?
I'm building an ajax heavy application (client-side strictly html/css/js) which will be getting all the data and using server business logic via webservices.
I know REST seems to be the hot topic but ...
0
votes
2
answers
308
views
Is WCF a good fit for this problem?
I'm working to implement a data service solution that has 2 request functions but can respond with one of 3 transmission types:
x12 EDI
HTTP MIME multipart
SOAP/XML + WSDL
I would also need to ...