468,249 Members | 1,580 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

WSDL generation

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/"
xmlns:soap="http://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="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://www.xignite.com/services/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://www.xignite.com/services/">
- <s:element name="CompareQuotes">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Exchange"
type="s0:ECNTypes" />
<s:element minOccurs="0" maxOccurs="1" name="Symbol"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:simpleType name="ECNTypes">
- <s:restriction base="s:string">
<s:enumeration value="Island" />
</s:restriction>
</s:simpleType>
- <s:element name="CompareQuotesResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="CompareQuotesResult" type="s0:Comparison" />
</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:definitions
targetNamespace="http://www.lixusnet.com/lixusnet/HPcatalog
..jws" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://www.lixusnet.com/lixusnet/HPcatalog.jws"

xmlns:intf="http://www.lixusnet.com/lixusnet/HPcatalog.jws"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://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.com/lixusnet/HPcatalog
..jws" xmlns="http://www.w3.org/2001/XMLSchema">
<import
namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="ArrayOfArrayOf_xsd_string">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:string[][]" />
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="getListResponse">
<wsdl:part name="getListReturn"
type="intf:ArrayOfArrayOf_xsd_string" />
</wsdl:message>
- <wsdl:message name="getListRequest">
<wsdl:part name="productnumber" type="xsd:string" />
</wsdl:message>
- <wsdl:portType name="HPcatalog">
- <wsdl:operation name="getList"
parameterOrder="productnumber">
<wsdl:input message="intf:getListRequest"
name="getListRequest" />
<wsdl:output message="intf:getListResponse"
name="getListResponse" />
</wsdl:operation>
</wsdl:portType>

Any help is greatly appreciated.

Thanks
Suresh

Nov 15 '05 #1
0 1767

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mullin Yu | last post: by
5 posts views Thread by Wayne | last post: by
reply views Thread by Stefan Lischke | last post: by
1 post views Thread by PaulF | last post: by
reply views Thread by Albert Greinöcker | last post: by
reply views Thread by Ashish | last post: by
3 posts views Thread by Thomas Guettler | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.