Announcement Announcement Module
No announcement yet.
Is it hard to integrate WSDLValidationErrorHandler into spring? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it hard to integrate WSDLValidationErrorHandler into spring?

    Hi all,
    I using metro+spring in my project.

    @SchemaValidation(handler = WSDLValidationErrorHandler.class)
    @WebService(name = "rm", targetNamespace = "", endpointInterface = " Rm", serviceName = "rm", portName = "rmSOAP")
    public class RmServiceController implements Rm {
    I using SchemaValidation annotation to handle wsdl validation.
    Unfortunately,WSDLValidationErrorHandler is not in the spring IOC.
    That mean I can not find any instance what maintained in the IOC.

    Here is the part about How I define the server.
    <wss:binding url="/rm">
    <ws:service bean="#rmServiceController">
    <ref bean="rmHandler" />
    <bean id="wSDLValidationErrorHandler"
    class="com.hp.psgit.elements.royalty.validation.WS DLValidationErrorHandler">

    About wSDLValidationErrorHandler
    public class WSDLValidationErrorHandler extends ValidationErrorHandler {
    Is there anyway to integrate the wsdlvalidation class into spring configuration file?
    That makes the wsdlvalidation class maintained by spring?

  • #2
    i'm don't know what metro is or this other validator but i think you might be looking for


    • #3
      I have check the link,but I find that I have no "orders.xsd".
      <property name="schema" value="/WEB-INF/orders.xsd"/>
      What I have is a wsdl,How can I handle this issue?


      • #4
        i would convert your wsdl in to a xsd and let spring generate your wsdl at runtime. life will be easier this way.