Spring payloadvalidatinginterceptor schemas

My question was can we use the schema Location with wsdl file containing the xsd information? So here we go: Currently in our Spring Web Services application, we have a set of xml file in which we have defined the following: 1. Recently we have been provided a wsdl file by a third party vendor who hasnt supplied the xsd schema, so my question to you and everyone who has worked on Web Services is, since I don't have the xsd and I am only supplied with wsdl file, is there anyway to provide the schema Location property to fetch the xsd information from wsdl file?I do have the wsdl file which has the ..my question to you and everyone who has worked on Web Services is, since I don't have the xsd and I am only supplied with wsdl file, is there anyway to provide the schema Location property to fetch the xsd information from wsdl file?Next, I changed Action Interceptor Impl to use Wss4j Security Interceptor With NClients instead of Wss4j Security Interceptor.There were two other issues I noticed: The Interceptor will verify all signatures in the request, but I couldn’t find a way for it to ensure/enforce particular fields were signed.Can we refer to the schema inside the wsdl with the same attribute i.e schema Location ? For details, please refer to page 32 in my e-book: Hope this helps.

I recently had to put in place a public facing soap web service with Spring and WS-Security.

Ah, thanks for your patience - finally I understand.

I don't think there is a simple way of doing what you want.

Ideally the schema Location attribute should have the relative path to the xsd, however the problem right now is we dont have a seperate xsd to refer. Import is used to import one XML schema into another XML schema when the both schemas have different namespaces.

The XSD information is right there, inside the wsdl file. Include can be used when both the XML schemas have the same namespace.

Search for spring payloadvalidatinginterceptor schemas:

spring payloadvalidatinginterceptor schemas-59spring payloadvalidatinginterceptor schemas-80

I suspect that this will require some programming on your part.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “spring payloadvalidatinginterceptor schemas”