users@jax-rpc.java.net

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:
"urn:oasis:names:tc:ebxml-regrep:query:xsd:2.5")

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"/>
    </exec>
  </target>

Thanks for your help.

-- 
Regards,
Farrukh








---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net