{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12707","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12707/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12707/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12707/events","html_url":"https://github.com/spring-projects/spring-boot/pull/12707","id":310236286,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc4Njc5NzMz","number":12707,"title":"WebServiceTemplateBuilder ","user":{"login":"nosan","id":5054994,"node_id":"MDQ6VXNlcjUwNTQ5OTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5054994?v=4","gravatar_id":"","url":"https://api.github.com/users/nosan","html_url":"https://github.com/nosan","followers_url":"https://api.github.com/users/nosan/followers","following_url":"https://api.github.com/users/nosan/following{/other_user}","gists_url":"https://api.github.com/users/nosan/gists{/gist_id}","starred_url":"https://api.github.com/users/nosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosan/subscriptions","organizations_url":"https://api.github.com/users/nosan/orgs","repos_url":"https://api.github.com/users/nosan/repos","events_url":"https://api.github.com/users/nosan/events{/privacy}","received_events_url":"https://api.github.com/users/nosan/received_events","type":"User","site_admin":false},"labels":[{"id":97741072,"node_id":"MDU6TGFiZWw5Nzc0MTA3Mg==","url":"https://api.github.com/repos/spring-projects/spring-boot/labels/status:%20waiting-for-feedback","name":"status: waiting-for-feedback","color":"fef2c0","default":false},{"id":293438798,"node_id":"MDU6TGFiZWwyOTM0Mzg3OTg=","url":"https://api.github.com/repos/spring-projects/spring-boot/labels/status:%20waiting-for-triage","name":"status: waiting-for-triage","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-03-31T12:11:14Z","updated_at":"2018-06-03T20:15:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/12707","html_url":"https://github.com/spring-projects/spring-boot/pull/12707","diff_url":"https://github.com/spring-projects/spring-boot/pull/12707.diff","patch_url":"https://github.com/spring-projects/spring-boot/pull/12707.patch"},"body":"Added the **WebServiceTemplateBuilder** (similar to the RestTemplateBuilder) helper class for building **WebServiceTemplate**.        \r\n\r\n```\r\n        WebServiceTemplateBuilder webServiceTemplateBuilder = new WebServiceTemplateBuilder();\r\n        WebServiceTemplate webServiceTemplate = webServiceTemplateBuilder\r\n                .setConnectionTimeout(connectTimeout)\r\n                .setReadTimeout(readTimeout)\r\n                .addCustomizers(customizers())\r\n                .addInterceptors(interceptors())\r\n                .addWebServiceMessageSenders(webServiceMessageSenders())\r\n                .setCheckConnectionForFault(true)\r\n                .setCheckConnectionForError(true)\r\n                .setMarshaller(marshaller)\r\n                .setUnmarshaller(unmarshaller)\r\n                .setDefaultUri(defaultUri)\r\n                ...\r\n                .build();\r\n```\r\nIn a typical auto-configured Spring Boot application this builder will be available as bean and can be injected whenever a WebServiceTemplate is needed.\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/394188201","html_url":"https://github.com/spring-projects/spring-boot/pull/12707#issuecomment-394188201","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/12707","id":394188201,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDE4ODIwMQ==","user":{"login":"gregturn","id":311040,"node_id":"MDQ6VXNlcjMxMTA0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/311040?v=4","gravatar_id":"","url":"https://api.github.com/users/gregturn","html_url":"https://github.com/gregturn","followers_url":"https://api.github.com/users/gregturn/followers","following_url":"https://api.github.com/users/gregturn/following{/other_user}","gists_url":"https://api.github.com/users/gregturn/gists{/gist_id}","starred_url":"https://api.github.com/users/gregturn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregturn/subscriptions","organizations_url":"https://api.github.com/users/gregturn/orgs","repos_url":"https://api.github.com/users/gregturn/repos","events_url":"https://api.github.com/users/gregturn/events{/privacy}","received_events_url":"https://api.github.com/users/gregturn/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T20:15:31Z","updated_at":"2018-06-03T20:15:31Z","author_association":"MEMBER","body":"@snicoll While it's true that SOAP supports all these various protocols, since we're talking Spring Boot which is based on autoconfiguring for the 80% case, perhaps we could assume HTTP (or trigger off some web-based criteria) and supply that.\r\n\r\nHTTP is probably 80% or more of what people are doing with Spring WS, let alone the SOAP community."}}
{"actor":{"display_login":"gregturn"}}