473,698 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WSDL generation

Hello All,
Iam using the ServiceDescript ion class and writing a
wsdl file.
Currently the way wsdl is generated is as follows.

<definitions
xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.xignite.com/services/"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
targetNamespace ="http://www.xignite.com/services/"
xmlns="http://schemas.xmlsoap .org/wsdl/">
- <types>
- <s:schema elementFormDefa ult="qualified"
targetNamespace ="http://www.xignite.com/services/">
- <s:element name="CompareQu otes">
- <s:complexTyp e>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Exchange"
type="s0:ECNTyp es" />
<s:element minOccurs="0" maxOccurs="1" name="Symbol"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:simpleType name="ECNTypes" >
- <s:restrictio n base="s:string" >
<s:enumeratio n value="Island" />
</s:restriction>
</s:simpleType>
- <s:element name="CompareQu otesResponse">
- <s:complexTyp e>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="CompareQu otesResult" type="s0:Compar ison" />
</s:sequence>
</s:complexType>
</s:element>

Iam looking to generate the file rather as follows, with
the "wsdl:" preceeding every element name.Is there a way
to do so?
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitio ns
targetNamespace ="http://www.lixusnet.co m/lixusnet/HPcatalog
..jws" xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://www.lixusnet.co m/lixusnet/HPcatalog.jws"

xmlns:intf="htt p://www.lixusnet.co m/lixusnet/HPcatalog.jws"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:wsdlsoap= "http://schemas.xmlsoap .org/wsdl/soap/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema
targetNamespace ="http://www.lixusnet.co m/lixusnet/HPcatalog
..jws" xmlns="http://www.w3.org/2001/XMLSchema">
<import
namespace="http ://schemas.xmlsoap .org/soap/encoding/" />
- <complexType name="ArrayOfAr rayOf_xsd_strin g">
- <complexContent >
- <restriction base="soapenc:A rray">
<attribute ref="soapenc:ar rayType"
wsdl:arrayType= "xsd:string[][]" />
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="getListRe sponse">
<wsdl:part name="getListRe turn"
type="intf:Arra yOfArrayOf_xsd_ string" />
</wsdl:message>
- <wsdl:message name="getListRe quest">
<wsdl:part name="productnu mber" type="xsd:strin g" />
</wsdl:message>
- <wsdl:portTyp e name="HPcatalog ">
- <wsdl:operati on name="getList"
parameterOrder= "productnumber" >
<wsdl:input message="intf:g etListRequest"
name="getListRe quest" />
<wsdl:output message="intf:g etListResponse"
name="getListRe sponse" />
</wsdl:operation>
</wsdl:portType>

Any help is greatly appreciated.

Thanks
Suresh

Nov 15 '05 #1
0 1976

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

Similar topics

1
3833
by: Leepe | last post by:
example: I have a skill object that implements the XmlSerializable interface Implementing the getschema gives me some unwanted generations towards the wsdl.exe Reference.cs generation. skill is an object with properties name and code public System.Xml.Schema.XmlSchema GetSchema() { string _namespace;
1
2049
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 of wsdl, can't set the occurance of the element, can't create attribute is there any better way to do so? thanks!
5
7087
by: Wayne | last post by:
I have a way for doing plugin's in my gui app. These plugins have to talk to a webservice to do database calls. I've done the DB access as a web service so it can be shared with the rest of the company, if not for the want of reuse the gui app would have just simply accessed the DB Directly and each plugin in would have been fully self contained. Each time I create a new gui plugin I find myself modifying the web service to add new support...
0
2056
by: Stefan Lischke | last post by:
Hi, I'm really desperate using code generation(wsdl.exe) from wsdl files for latest WS-Eventing(including WS-Addressing) Specs. I'm writing my diploma about "publish subscribe systems based on Web Services" I took the WS-Eventing WSDL file and added <binding>'s and <service>'s... Then i took the apache axis wsdl2java tool and i got nice
1
313
by: PaulF | last post by:
I am writing a web service that accepts and returns an XML message - I know the issues behind this but want to be able to process the messages generically using XSD / XSLT. My problem occurs with the way the .NET framework appears to handle the XmlNode, in particular the generation of the WSDL. The details follow: I define the code behind method as
0
1150
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 return types) are added to WSDL)? The background is that I would like to (ab-) use .NET remoting for offering "webservices", which are consumed by java applications (AXIS is used for generating client-proxy-classes) via SOAP. It works in general,...
0
1339
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 sucessfully able to share the Business Types. So far so good.. My Class structure is somewhat like
3
32141
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: <webServices> <wsdlHelpGenerator href="helpPage.aspx"/> <protocols> <remove name="Documentation" /> </protocols> </webServices>
3
2986
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 something I don't like.
0
8675
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
8604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6521
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
5860
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
4370
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
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
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.