JBoss SOA-P - Does ESB support schema includes in xsds when exposed as a Webservice?

Solution Verified - Updated -

Issue

  • We are using SOA to develop a ESB service with a webservice frontend.
  • Our webservice is declared like this: <actions mep="RequestResponse" inXsd="/customer-data_v1.0.xsd" outXsd="/customer-data_v1.0.xsd" faultXsd="/customer-data-error_v1.0.xsd">
  • Our inXsd schema imports another schema, and when deploying this it fails with an error:

    org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: 
    WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: 
    java.io.FileNotFoundException: /users/soa/server/default/tmp/deploy/.../WEB-INF/wsdl/yyy/schema.xsd
    at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
    at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
    at org.jboss.ws.metadata.builder.MetaDataBuilder.replaceAddressLocation(MetaDataBuilder.java:284)
    at org.jboss.ws.metadata.builder.jaxws.JAXWSProviderMetaDataBuilder.buildProviderMetaData(JAXWSProviderMetaDataBuilder.java:147)
    

Environment

  • JBoss Enterprise SOA Platform (SOA-P) version 4.x.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In