I started to go down that path. But my current requirements are to have a role that allows calling any webservice method. (in the future, the @Secured annotation and the interceptors to support...
Type: Posts; User: jrduncans; Keyword(s):
I started to go down that path. But my current requirements are to have a role that allows calling any webservice method. (in the future, the @Secured annotation and the interceptors to support...
I've got using a SpringPlainTextPasswordValidationCallbackHandler to validate the web-service request against a Spring-Security User Service (in-memory for now; will eventually be DAO-based). Now I...
I suggest putting this into JIRA.
Yeah, SaajSoapMessageFactory is not an option for me either (performance as well as the problems I listed in my aside).
Further information:
This mangling only happens when using the AxiomSoapMessageFactory. When I comment out my messageFactory bean in my context xml file, it outputs it properly. However (though...
I'm seeing this error too. I'm trying to output a string that includes the term Texas A&M.
Through AbstractStaxStreamPayloadEndpoint, with following code for invokeInternal:
...
Thanks, that lead down a good path. I actually already had a utility to go from a javax.transform.Source to a JDOM element (basically duplicating the functionality of the...
I think PayloadRoot annotation only works on a method that either takes in a source and returns a source, or with XPath annotations. The Stax endpoint only implements the MessageEndpoint interface,...
Thanks. I'm using Axiom, but haven't been able to figure out the right settings to get turning payloadCaching to false to not cause my web-services to blow up. Thanks for the tip on which security...
I'd agree in general, but I'd like to explore my options with WS before I go changing over to plain HTTP solution.
Note, however, that my problem is serving up large XML that is built dynamically,...
I need to send SOAP responses that are quite large. Currently I limit to around 6.5 MB, but I need to be able to provide larger, the bigger the better. Memory is currently the main limiting factor,...
Excellent. That makes sense now. Thank you very much.
How are the order of endpoint interceptors determined. For troubleshooting purposes, I'd like to have my PayloadLoggingInterceptor log the response first, before the PayloadValidatingInterceptor...
/**
* Extension of default validator that throws an exception on responses in
* addition to requests.
*/
static class ExceptionThrowingPayloadValidatingInterceptor extends
...
Oh, but of course validation responses on errors just log the problem, they don't throw an error. That isn't very helpful to me when I want to catch validation errors in my web service...
Thanks for the help! That did get it working for me. I guess possibly my use of UrlResource with file:// URLs vs FileSystemResource was the problem.
I'm kind of stuck on this. I saw the new client-side PayloadValidatingInterceptor in 2.5.4, and am trying to use that in JUnit integration test (i.e. it fires up the webapp in Jetty and then runs...
I've logged my request here: http://jira.springframework.org/browse/SWS-349
Ok, I created http://jira.springframework.org/browse/SWS-340
Ok, created an issue for the xml namespace issue: http://jira.springframework.org/browse/SWS-339
Yeah, I started to come to that conclusion as well. Should I make an issue, then, about finding...
More problems/info:
If I don't set inline=true while using the wrapper schema file (that just uses xsd:include on my two real schemas), or if I use the SimpleXsdSchema, then the *Request &...
Here's a few more details for my problems that I've discovered while testing.
The first problem regarding the xml namespace only applies building the WSDL. Validation seems to work fine.
The...
I've hit a couple issues with CommonsXsdSchemaCollection with inline=true, and I'd like to know if these are likely Spring-WS bugs or Apache XmlSchema bugs, so I can work on a test case and reporting...
Thanks. I did eventually look at the source for the AbstractJDomPayloadEndpoint and saw what it took, and did pretty much what you've suggested. Would it be a desirable for me to put in a JIRA...
I'd like to use JDOM, and therefore the AbstractJDomPayloadEndpoint for my endpoint implementation. However, I'd also like to do configuration through annotations as much as possible. Therefore,...