Problem importing schema in wsi compatibility mode

From: Farrukh Najmi <Farrukh.Najmi_at_Sun.COM>
Date: Thu, 06 Nov 2003 09:41:48 -0500

I am certain this is a problem in my (very simple) WSDL file but I cant
seem to figure it out.

The file NotificationListenerPortType.wsdl (attached) imports query.xsd
schema using the WS-I BP 1.0 way of
using a xsd:schema within an xsd:types element.

When I run ws-compile I get the error:

     [exec] error: modeler error: invalid entity name:
"ObjectsNotification" (in namespace:

If I remove the -features:wsi and replace the WS-I style import with a
WSDL import statement everything work fine except it is not WS-I compliant.

Any idea what is wrong with my xsd:import?

I used the following ant target to run wscompile:

  <target name="genNotificationListener">
    <exec executable="${wscompile}">
       <arg line="-httpproxy:${proxyHost}:${proxyPort}"/>
       <arg line="-import"/>
       <arg line="-keep"/>
       <arg line="-features:wsi"/>
       <arg line="-d ${build.home}/lib/classes"/>
       <arg line="-classpath ${build.home}/lib/classes"/>
       <arg line="-model ${build.home}/event-listener-model.Z"/>
       <arg line="src/xml/NotificationListenerWscompileConfig.xml"/>

Thanks for your help.


To unsubscribe, e-mail:
For additional commands, e-mail: