Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending and receiving soap msg with JWSDP1.4

 
Garandi Garandi
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have the following code to send and receive soap msg.

Send request and get the response
SOAPMessage response = connection.call(message, destination);
where "message" is of type SOAPMessage, and destination is URL String.


Before getting the response I get the following exception:
the request gets into the server, and server sends a response and then the exception happens.



[ July 27, 2004: Message edited by: Garandi Garandi ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently the SAAJ implementation strictly requires a specific content-type (text/xml). You might want to repeat this question in Sun's own discussion forum for web services at forum.java.sun.com.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic