473,714 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:speci alAttrs' 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 7560
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:speci alAttrs' 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
1564
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. <SOAP-ENV:Body><Tag2><Tag3>It is also ok</Tag3></Tag2></SOAP-ENV:Body> The question is, if I write the wsdl as below, it defines the
2
5663
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 expose a DataSet, Websphere cant use the WSDL document, as it doesnt describe the data elments in the dataset. Im done a lot of readying and looking at posts, and typed datasets sounds like they might be the answer, but I cant figure out how to...
1
1270
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 WebReference1.ProductDefinitionType() Try With ws .Description = xx.Item("ozellikleri")
0
1462
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 message: "Error: one or more required WSDL extension elements were ignored. Errors were encountered. Review generated source comments for more details." More specifically, for each of the binding places (inside wsdl:output/wsdl:input) where I use:
1
3324
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 web services, e.g. MyWebService\WS.asmx, so the URL to the web service looks like: http://my.server.com/MyWebService/WS.asmx Now here's the problem. When I try to view the WSDL via http://my.server.com/MyWebService/WS.asmx?WSDL, the
9
11933
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: CODEGEN: The operation binding 'getAvaluos' from namespace 'urn:m15.AvaluosPortType' was ignored. The combination of style=rpc with use=literal is not supported.
0
1726
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 code I am using in Lotus. Part 2 is my Soap request as my post was to large. The WSDL file from the server is https://www.odfl.com/RateWeb/services/RateEstimate?wsdl wouldn't let me post it here. To many img's? I have removed all except the...
2
16095
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. try to generate the WebService interface using wsdl.exe: C:\>wsdl /serverInterface /protocol:SOAP my.xsd 5. An error occurs and no classes are generated (see below) and Interface.cs
2
8819
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 Command Prompt with following line of code wsdl /l:cs /protocol:SOAP mywsdl.wsdl any help is appreciated. Thanks
0
2678
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, and get the WSDL of your service. You should got something like this: <?xml version="1.0" encoding="utf-8" ? - <wsdl:definitions name="Service_WCF" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"...
0
8817
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9193
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7963
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6641
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5964
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4472
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4734
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3170
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2116
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.