Problem with wsconsume and asmx file

Solution Verified - Updated -

Issue

  • Problem with wsconsume.bat and a .asmx file:
[WARNING] src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but compone nts from this namespace are not referenceable from schema document 'file:/C:/jav
a/jboss/soa-p-5.2.0.GA/jboss-soa-p-5/jboss-as/bin/Webservice.asmx#types?schema1'.  If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/java/jboss/soa-p-5.2.0.GA/jboss-soa-p-5/jboss-as/bin/Webservice.asmx#types?schema1'.
  • JBossWS, multiple schema import, incorrect namespace while deploying webservice

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Remote .NET Webservice

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.