473,387 Members | 1,863 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,387 software developers and data experts.

code generation xsd and wsdl

I'm fairly new to MSVS 2005. I have 5 WSDLs and a dozen Schemas. I would like
to generate C# code from these. I've been looking through the documentation
from the MSDN library for quite some time now and I haven't gotten anywhere.
I've probably spent 6 hours in there.

I've taken the same generated java code, using AXIS, from the same files.
It's pretty simply. I give it the WSDL and it introspects it to find the
import statement for the schema and goes from there to generate all of the
code. The schema code gets generated as seperate classes so that the other
WSDLs can make use of them.

Given that experience I thought it would be fairly straight forward to do
the same thing in MSVS. I've tried usind wsdl.exe and it will only generate a
single C# file with partial clases in it for that specific WSDL. I get
namespace and types already defined issues, because there are 5 C# files that
name the partial classes the same. I also tried using the IDE to add the
WSDLs and XSDs to an ASP.NET Web Service "Website" so that the code would be
generated automatically. However, the build error shows that MSVS isn't
following the include statement in the XSD to get the type definition from
another XSD. So it says that a type is undefined when in fact if is just
would follow the "include" it would find the type definition.

Anyway, I'm sure this is pretty easy and I'm just doing something wrong, but
it's been pretty frustrating.

--
-Thanks

Nov 23 '05 #1
0 1019

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mullin Yu | last post by:
i just know that i can write the struct at c#, and then asp.net will automatically generate the wsdl, but there're some limitations e.g. can't write the soap header, can't show all the structures...
0
by: Suresh Pasala | last post by:
Hello All, Iam using the ServiceDescription class and writing a wsdl file. Currently the way wsdl is generated is as follows. <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"...
4
by: Henrik Gøttig | last post by:
Hi all Feeling a bit frustrated here. Maybe I did not find the correct info yet, that's why I am asking you. I have "developed" a .NET 2.0 WebService and generated (using wsdl.exe) the WSDL...
7
by: George Jordanov Ivanov | last post by:
Folks, I have to design the WSDL files of a bunch of XML Web Services. But, unfortunately, I am not very keen on writing the WSDL file line by line, and moreover be aware of the whole standard...
0
by: Albert Greinöcker | last post by:
Hi there, I have a very general question about .NET remoting using SOAP: is there any way to influence WSDL generation (like setting a different target-namespace, or which classes (e.g. custom...
0
by: Ashish | last post by:
Iam working on a project that would use web services to transfer business objects around. I worked a little bit with the new SchemaImporterExtension class to tweak the proxy generation, and Iam...
13
by: ScottM | last post by:
I have run into a problem generating the class file via the WSDL utility. I have a WSDL file that was generated by XMLSpy and is able to be read by the Java code utility, but I get the following...
3
by: John K | last post by:
I am trying to eliminate the capability of displaying the details of a web service by disabling WSDL generation in the web.config file. I have made the following changes to the web.config: ...
3
by: Thomas Guettler | last post by:
Hi, I looked for a solution to talk to a web service which offers its signature with a wsdl file. I googled for 'wsdl python' and found ZSI. This project uses code generation. That's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.