Merge branch '2.1.x'
This commit is contained in:
@@ -30,7 +30,7 @@ public class WebServiceConfig extends WsConfigurerAdapter {
|
||||
DefaultWsdl11Definition wsdl = new DefaultWsdl11Definition();
|
||||
wsdl.setPortTypeName("HumanResource");
|
||||
wsdl.setLocationUri("/holidayService/");
|
||||
wsdl.setTargetNamespace("http://mycompany.com/hr/definitions");
|
||||
wsdl.setTargetNamespace("https://company.example.com/hr/definitions");
|
||||
wsdl.setSchema(countriesSchema);
|
||||
return wsdl;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.ws.server.endpoint.annotation.RequestPayload;
|
||||
@Endpoint
|
||||
public class HolidayEndpoint {
|
||||
|
||||
private static final String NAMESPACE_URI = "http://mycompany.com/hr/schemas";
|
||||
private static final String NAMESPACE_URI = "https://company.example.com/hr/schemas";
|
||||
|
||||
private XPathExpression<Element> startDateExpression;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:hr="http://mycompany.com/hr/schemas"
|
||||
xmlns:hr="https://company.example.com/hr/schemas"
|
||||
elementFormDefault="qualified"
|
||||
targetNamespace="http://mycompany.com/hr/schemas">
|
||||
targetNamespace="https://company.example.com/hr/schemas">
|
||||
<xs:element name="HolidayRequest">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
|
||||
Reference in New Issue
Block a user