Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Duplicate soap requests

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic