• Post Reply Bookmark Topic Watch Topic
  • New Topic

Duplicate soap requests

 
steve kelly
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to send a duplicate soup request? I couldnt find where to read about that or what topic that would be under.
Basically, I have a situation where two almost identical requests can get sent but right now the response comes back as one response. I wanted visibility to the two responses and the one gets dropped off
 
Vijitha Kumara
Bartender
Posts: 3952
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you meant SOAP request here. How do you send these requests and how you validate that you only get one response?
 
steve kelly
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have xsd files defining them. Below is an example of a field I want to be able to allow to send duplicates of. I want to set "Part123" with one address and "Part123" with a different address. When the soup gets mapped it just maps the last one sent. IS that what you wanted to know?

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a situation where two almost identical requests can get sent but right now the response comes back as one response.


What exactly does that mean?

Two separate SOAP clients send requests "at the same time." Only one client gets a response.
-or-
One client sends a SOAP request and without waiting for the response sends another?
-or what?

Bill
 
steve kelly
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One soup request. Heres an example of original request, Youll notice the AddressPArties Id's are both "1" but they have different address's on address line1 field. I want to performAction on both AddressParties separately in the java code. Right now I only am getting the data for the last one sent in. I guess its a valid scenario I need to handle. Hope this makes sense.

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is not a valid XML document, your SOAP server should be rejecting it and sending a SOAP error

http://www.xmlvalidation.com/ says:

Errors in the XML document: 20: 15 The element type "urn1:AddressParties" must be terminated by the matching end-tag "</urn1:AddressParties>".


Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!