Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call a wbeservice from a valid Soap XML ?  RSS feed

 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a valid soap xml:



I need to call a webservice from a java application, how to call a webservice from a valid Soap Xml ?

Someone knows how to do this ?

Thanks in advance !
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you want to use a tool like JST. http://www.eclipse.org/webtools/ws/
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want something like this:

How to do a SOAP Web Service call from Java class?

However, I want something more generic, because, I have many different Soaps.

Thanks very much indeed for your answer.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it mean to "have many different Soaps"? It would be very unusual to want to send read-made SOAP to a WS. Much more common would be for the SOAP to be created on the fly by a SOAP toolkit. If you do, in fact, have ready-made SOAP messages, maybe you can tell us more about your use case.
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application, this application save SoapMessages in base in case happens an error, as a result, I need to reprocess every Sopa Message in the final of a day, then, I have many different soaps, and, this many different SoapMessages can call many different webservices.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resending SOAP messages is still a very unusual way of goin about this. Why can't the original WS calls be repeated? That would seem a much more "normal" approach, avoiding any complications by doing WS calls in two different ways.
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to reprocess at the final of each day.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That doesn't answer the question of why you want to resend the actual SOAP messages, instead of going the easier and much more straightforward route of making the WS calls again.
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:That doesn't answer the question of why you want to resend the actual SOAP messages, instead of going the easier and much more straightforward route of making the WS calls again.


I know, this is not the best way, however, I solved it with this code:



Thanks for all indeed !
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!