Questions tagged [spring-ws]

Spring Web Services is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

Spring Web Services is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

Spring Web Services includes practices such as the WS-I basic profile, Contract-First development, and having a loose coupling between contract and implementation. Incoming XML messages can be handled in standard JAXP APIs such as DOM, SAX, and StAX, but also JDOM, dom4j, XOM, or even marshalling technologies. The Object/XML Mapping module in the Spring Web Services distribution supports JAXB 1 and 2, Castor, XMLBeans, JiBX, and XStream. It also supports WS-Security, which allows you to sign SOAP messages, encrypt and decrypt them, or authenticate against them.

As of March 2011, the current version of the Spring Web Services is 2.0.1, who's reference manual can be found here.

1261 questions
13
votes
1 answer

Spring-WS generates WSDL without operations

Spring-WS generates WSDL without operations in binding tag... Do you know why? There is my spring-ws-service.xml:
Etam
  • 4,553
  • 10
  • 40
  • 60
12
votes
4 answers

Is there a built-in Spring environment variable for the web context root?

I'm using Spring Web Services to expose a service as a web service. In my spring configuration xml file, I have a bean which is an instance of DefaultWsdl11Definition. One of the properties that needs to be set is the locationUri. This needs to be…
Greg
  • 121
  • 1
  • 1
  • 3
11
votes
2 answers

Migration to Spring WS 2.0 failed due to lack of bean endpoint mapping?

We used the PayloadRootQNameEndpointMapping to map endpoint scripts (based on a scripting language like groovy or something else) to a given root QName. We recently tried to migrate spring ws to version 2.0. The javadoc of the…
Christopher Klewes
  • 11,181
  • 18
  • 74
  • 102
11
votes
1 answer

Spring WS: How to get and save XSD validation errors

I use SpringWS for my soap service and validate it like this;
Spring
  • 11,333
  • 29
  • 116
  • 185
11
votes
7 answers

Using WebServiceTemplate with a keystore

Is it possible to configure a WebServiceTemplate with a java keystore? edit I'm looking for a way to configure the location of the keystore in the spring config
Mark Pope
  • 11,244
  • 10
  • 49
  • 59
11
votes
3 answers

Spring WS - step by step in STS (from WSDL)

I am trying to create a new Spring webservice project in Spring Tool Suite (STS). I checked this link http://static.springsource.org/spring-ws/site/reference/html/tutorial.html But this doesn't tell the steps very clearly. Can anyone please share…
user1732653
  • 627
  • 3
  • 8
  • 18
10
votes
3 answers

Spring-ws -Problem request webservice from tomcat 6

I have implement a certain spring-ws service and when I sent a soap message I receive in spring webapplication 1 (running on tomcat 6.0.32): Request:
Michel
  • 9,220
  • 13
  • 44
  • 59
10
votes
1 answer

Spring WS WSDL automatic exposure : xsd import are not followed

I'm trying to dynamically generate WSDL for a Spring WS web service, based on multiple xml schemas. I have a multiple xsd files, all of them are "connected" using xsd:import elements. Spring WS reference says : If you want to use multiple schemas,…
lincetto
  • 972
  • 2
  • 13
  • 28
10
votes
2 answers

SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?

I need help with calling a web service. I use org.springframework.ws.client to call WS, code looks like: Response response = (Response) getWebServiceTemplate().marshalSendAndReceive( …
May12
  • 2,420
  • 12
  • 63
  • 99
10
votes
2 answers

Decrypting Message with a Spring Web Service Client

350 Bounty and waffles to the person who can help me! I have been struggling with Spring Web Service encryption for days and I can't figure out how to get Spring's encryption on the message body to work. Whenever I have the server encrypt the…
Zoidberg
  • 10,137
  • 2
  • 31
  • 53
10
votes
2 answers

Spring WS and JAXB - Configuring SOAPMessageDispatcher, DefaultMethodEndpointAdapter and MarshallingPayloadMethodProcessor

When working with Spring-WS, the configuration is very minimal because i have always been using annotations. Recently i have been trying to test out how to include attachements in SOAP responses and to get it to work i ended up with the following…
ziggy
  • 15,677
  • 67
  • 194
  • 287
10
votes
2 answers

How do I specify which kind of version of soap do I use with webServiceTemplate?

I am developing a soap web service client with spring. I am using webServiceTemplate How do I specify which kind of version of soap do I use? I can see that it s using soap 1.1 by default. I want to force it to use soap 1.2 How can I do that?
storm_buster
  • 7,362
  • 18
  • 53
  • 75
9
votes
4 answers

Concatenate string in spring xml configuration

I need to concatenate the string value of a spring bean, to an existing string, and then set it as an attribute of another bean:
rouble
  • 16,364
  • 16
  • 107
  • 102
9
votes
2 answers

How do I create a mock object for Spring's WebServiceTemplate?

I have a class which calls out to an existing web service. My class properly handles valid results as well as fault strings generated by the web service. The basic call to the web service looks something like this (although this is…
Kevin
  • 7,856
  • 11
  • 35
  • 40
9
votes
0 answers

How to check Health of SOAP Based Web-Service built using Spring-WS-Core in spring boot

Spring Boot actuator provides health check such as Disk Space Health Indicator, Data Source Health Indicator and various other Health Indicators. But I don't find one for checking the health of SOAP based web service build with Spring-WS-Core. I at…
1 2
3
84 85