WSDL imports another WSDL does not get WS-I complaince tested

beginnersmind's picture
When a wsdl imports another wsdl it does not get WS-I complaince tested. This has been documented in WSDLProcessor.java. Is this an option that can be enabled? Do I have to custom code the handler to do this? Is this because JSR110 does not allow the hook to the imported WSDL? I have seen that "importResource(RequestContext ctx)" does not get called for imported WSDLS. May I add that this is a very common use case for Porttype reuse across bindings By the way thanks a lot for prompt replies to previous queries that i posted.. Thanks in advance. Mohit
senakafdo's picture

Re: WSDL imports another WSDL does not get WS-I complaince teste

Hi Mohit, This is not supported at the moment. I will have a look into the possibility of adding this validation step. But, AFAIR, the version of the validator tool (based on eclipse wsdl-validator), which we use, had some issues. Yes, you can plug in your custom implementation. You need to extend the WSDLMediaTypeHandler class, and the WSDLProcessor class with your own, and appropriately replace the entries in the registry.xml file. Thanks, Senaka.
beginnersmind's picture

Hi Seneka, I figured it out.

Hi Seneka, I figured it out. Ill post in on my blog sometime and send you the address. I had another question though. Are Registry and Repository methods thread safe?? Or it has to taken care of at a higher level?? regards Mohit
senakafdo's picture

Re: Hi Seneka, I figured it out.

Hi Mohit, IIRC, it is thread safe at the Registry level. Thanks, Senaka.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)