473,320 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 7528
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sonna Nach | last post by:
Hi All, I am writing a doc/lit web services, in which the elements under SOAPBody is unknown. That is, these two message are acceptable. 1. <SOAP-ENV:Body><Tag1>It is ok</Tag1></SOAP-ENV:Body>...
2
by: MarkAurit | last post by:
How does one go about getting the information from an .xsd file into a WSDL document? I have a web service that creates a simple object that IBM Websphere can see and use. Great. However, when I...
1
by: Savas Ates | last post by:
i created an proxy class .. it named webreference1 my code is like following. how can i learn the return message from wsdl (it works or not) how can i learn it(wsdl's respond) Dim ws As New...
0
by: AndyO | last post by:
Following what is found out at http://www.gotdotnet.com/team/xml_wsspecs/dime/WSDL-Extension-for-DIME.htm for composing my WSDL, when using the wsdl.exe, I can't seem to get around the error...
1
by: JT | last post by:
Hi, We have 2 servers having the same web site running on port 8080. These two servers are load balanced and have DNS name, e.g. my.server.com. Now on both of these two servers, we put the same...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
0
by: elgemcdlf | last post by:
I have a small db built with Lotus Approach that polls servers and catalogs the responses. I have now run into one that uses a Web Service for the data I desire. Below is the WSDL file along with the...
2
by: =?Utf-8?B?TWlnaHR5IE1hcms=?= | last post by:
I'd like to generate my WebService interface from an XSD schema. Here's what I've done: 1. created a XML file 2. use the xsd.exe to generate the XSD: C:\>xsd my.xml 3. my.xsd is generated 4....
2
by: BillB | last post by:
Hi, I've been given a WSDL file and need to convert it to C# so that I can use the procedures it creates, can anyone tell me how to do this? I'm looking at doing it using Visual Studio 2005...
0
by: Eternal Snow | last post by:
Hi all. I have some trouble by using WCF while creating WSDL. Please follow that: 1 Create a WCF service in EXE mode (not tried in IIS), add a basicHTTPBinding and a mexHttpBinding. 2 Run it,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.