on 04-25-2014 5:25 AM
Hi,
I have imported an external definition, a DTD, in my ESR. In external definition window in ESR there is a tab WSDL where I cant see namespace for he schema.
Can someone help me with how to get namespace in that WSDL or how to declare and add a namespace in a DTD (doctype) structure?
PFB the my DTD structure where MyMessage is root node in message structure.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MyMessage SYSTEM "http://host.com/app_docs/dtd/PO/xyz.dtd" [
<!--
$Source: /abc/def/xyz.dtd,v $
$Revision: 1.2 $
$Date: 2012/06/27 09:12:17 $
Version 2.5: everything in version 2.4 plus custom field amount totals
-->
<!ELEMENT abc (#PCDATA)>
<!ELEMENT xyz (#PCDATA)>
<!ATTLIST …….
…………………….
……………………………………
>
]>
and PFB corresponding WSDL:
<wsdl:definitions xmlns:wsdl="………/wsdl/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ------> I want targetNamesapce field here with valid namespace.
<xsd:element name="MyMessage" type="MyMessage" />
<xsd:complexType ……………………….>
<xsd:sequence>
<xsd:element name="………………" type="xsd:string" />
<xsd:element name="………………" type="xsd:string" />
Hi Saurabh,
you want to change the namespace http://host.com/app_docs/dtd/po/PO.dt in the XSD ?
Thanks
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Can you please send me the file you are trying to import?
Regards,
Jannus Botha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its very large and complex DTD which I imported, it looked like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE PurchaseOrderMessage SYSTEM "http://host.com/app_docs/dtd/po/PO.dtd" [
<!ELEMENT Address (#PCDATA)>
<!ATTLIST Address
linenumber CDATA #REQUIRED
label CDATA #IMPLIED
>
.
.
.
.
.
.
]>
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.