Questions tagged [webservicetemplate]
55 questions
0
votes
1 answer
Spring WebServiceTemplate Interceptor for adding security header
I am trying to add a SOAP:Header with wss4j authentication for my outbound SOAP service.
Below is my WebServiceTemplate and interceptor configuration

prakash
- 57
- 2
- 13
0
votes
1 answer
Separate Keystore for Spring-WS SSL handshake and Message Encryption
I have a question in regards to
SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate
answerd by borodark
"No need to import keys into keystore."
If we dont provide a keystore then what will Httpclient use for…

user2412398
- 471
- 4
- 10
0
votes
1 answer
How to set different timeouts for different URIs while using WebServiceTemplate and CommonsHttpMessageSender?
Hello I have a problem about setting connection timeout.
I use WebServiceTemplate and it has 1 messageSender (CommonsHttpMessageSender).
But is it possible to set different connection timeouts for each URIs(endpoints)?
Sincerely...
public Message…

Jemo
- 309
- 6
- 19
0
votes
1 answer
Use WebServiceTemplate to call a Web Service Operation with mutliple parts
I have a WSDL message that is composed of two parts:
The…

IcedDante
- 6,145
- 12
- 57
- 100
0
votes
1 answer
Spring WS Client using JAXB Marshaller
Is there a way i can refer to a XSD in my Spring WS Client project and not generate the POJO's from the XSD and still be able to refer the JAXB Objects, build request and call a webservice using WebServiceTemplate?

mandy
- 735
- 1
- 9
- 24
0
votes
1 answer
How to Write RestTemplate for accessing Webservice (GET , POST)
I am unable to form the request parameter for consuming REST web service GET and POST, could any one please guide based on below scenario.
If I have REST webservice as below which is expecting two string parameters
General Web URL to consume…

Azhar
- 933
- 1
- 12
- 28
0
votes
0 answers
Spring WebServiceTemplate not giving back full response
I am using Spring WebServiceTemplate MarshalSendAndReceive to make a web service call.
However the response I receive back from the call is missing most of the response that is sent from the web service.
When MarshalSendAndReceive runs I see a debug…

km2000
- 305
- 2
- 10
0
votes
2 answers
Consuming Third Party web services through Spring WebServiceTemplate
I'm trying to consume a Third Party web service, through a wsdl file provided. I would load the file locally from a Spring-J2EE based project underneath WEB-INF folder.
The wsdl might have more than one operation exposed. So I need a way to be able…
None
-1
votes
1 answer
Spring WS with webServiceTemplate.marshalSendAndReceive returns Received error for request, Service Unavailable : Not Found [404]
I'm trying to ammend an existing SOAP Webservice that uses Spring-WS and JAXB on Tomcat. I've created the new WAR file with my changes and deployed it in the webapps foder under Tomcat installation.
When calling the original (already existing)…

Global Dictator
- 1,539
- 9
- 24
- 37
-1
votes
2 answers
How to convert soap response to string in java?
I am using WebServiceTemplate to consume SOAP response. For logging purpose i need to get the SOAP response in string.
For example , "xyz "

Manikandan
- 121
- 11