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