469,949 Members | 2,186 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

wsdl.exe and WS-Eventing

hi there,

I have a lot of problems generating code for the new "WS-Eventing"
Specification

http://schemas.xmlsoap.org/ws/2004/08/eventing/

Is it possible, that after IBM joined this spec. the code can only be
generated
by the WSDL toolkit from IBM?????

I'm doing

wsdl.exe /server http://schemas.xmlsoap.org/ws/2004/08/eventing/

in a directory where i have downloaded XMLSchema.dtd and datatypes.dtd
(i was not able to use a local version of eventing.wsdl for wsdl.exe)

The following Error occurred:
-------
Schema validation warning: The global attribute
'http://www.w3.org/XML/1998/namespace:lang' has already been declared.
An error occurred at , (88, 3).
Schema validation warning: The global attribute
'http://www.w3.org/XML/1998/namespace:space' has already been
declared. An error occurred at , (95, 3).
Schema validation warning: The attributeGroup
'http://www.w3.org/XML/1998/namespace:specialAttrs' has already been
declared. An error occurred at , (111, 3).

Warning: Schema could not be validated. Class generation may fail or
may produce incorrect results.

Warning: no classes were generated.
--------

thanx for any help

Stefan Lischke
Nov 21 '05 #1
1 7306
Hello,

I solved some of my problems, and i just want to update this, in case of
someone googles to this problem.

I made a local version of eventing.wsdl eventing.xsd and addressing.xsd
and then used wsdl.exe

wsdl.exe /server eventing.wsdl addressing.xsd

!! pay attention not to add eventing.xsd to the cmd line, it gives a
redefiniton error

!! pay attention, you have to add addressing.xsd to cmd line, cause
wsdl.exe is not interpreting the schema location for imports [1]

Now there are no errors anymore and no redefinitions.
But also no code :-)

i wrote a mail to Alan Geller, who pointed me to the following:
--snip---
.....the .Net WSDL tool only generates code if you have bindings in your
WSDL, and the distributed .wsdl file only contains portTypes. To get
code to generate, you'll need to add a binding definition.
--snap---

I'll keep you updated when i created bindings and got some code.

In the meantime i found the Plumbwork Orange[2] project, an OpenSource
WS-Eventing implementation.
Greetings Stefan
[1]
http://msdn.microsoft.com/library/de...ml01202003.asp
(at the bottom of the page there is the question: Why doesn't XSD.exe
support the schemaLocation attribute on imports and includes?

[2] http://sourceforge.net/projects/plumbworkorange/

Stefan Lischke wrote:
hi there,

I have a lot of problems generating code for the new "WS-Eventing"
Specification

http://schemas.xmlsoap.org/ws/2004/08/eventing/

Is it possible, that after IBM joined this spec. the code can only be
generated
by the WSDL toolkit from IBM?????

I'm doing

wsdl.exe /server http://schemas.xmlsoap.org/ws/2004/08/eventing/

in a directory where i have downloaded XMLSchema.dtd and datatypes.dtd
(i was not able to use a local version of eventing.wsdl for wsdl.exe)

The following Error occurred:
-------
Schema validation warning: The global attribute
'http://www.w3.org/XML/1998/namespace:lang' has already been declared.
An error occurred at , (88, 3).
Schema validation warning: The global attribute
'http://www.w3.org/XML/1998/namespace:space' has already been
declared. An error occurred at , (95, 3).
Schema validation warning: The attributeGroup
'http://www.w3.org/XML/1998/namespace:specialAttrs' has already been
declared. An error occurred at , (111, 3).

Warning: Schema could not be validated. Class generation may fail or
may produce incorrect results.

Warning: no classes were generated.
--------

thanx for any help

Stefan Lischke

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Sonna Nach | last post: by
2 posts views Thread by MarkAurit | last post: by
1 post views Thread by Savas Ates | last post: by
9 posts views Thread by Cesar | last post: by
reply views Thread by elgemcdlf | last post: by
2 posts views Thread by =?Utf-8?B?TWlnaHR5IE1hcms=?= | last post: by
2 posts views Thread by BillB | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.