472,355 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,355 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 7443
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,...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

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.