Hi,
I'm trying to implement a simple WSN scenario where one endpoint is
the NotificationProducer and another the NotificationConsumer. The
NotificationProducer works as far as I can test it at the moment (very
similar to the sample WSDL provided with the tutorial). However, I
couldn't find the sample WSDL for the NotificationConsumer interface.
I've attempted to write up one myself, but generating the respective
code fails. My code so far is posted at [1]. Running Muse's wsdl2java
on my WSDL file results in the following error:
java.lang.RuntimeException: [ID = 'NoTypeDef'] No type definition
found for '{http://docs.oasis-open.org/wsn/b-2}Notify'.
at
org.apache.muse.tools.inspector.ResourceInspector.createJavaMethod(ResourceInspector.java:338)
[snip]
The schemata that I'm trying to "include" are files in the same
directory as the WSDL file with names that correspond to the attribute
values for schemaLocation in lines 19 and 23. I suspect this to be a
beginner's problem as I'm new to XML Schema / WSDL -- please let me
know what I'm missing here.
Cheers,
Felix
[1] http://pastebin.com/d6961a8b6
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]