Skip to Content
0
Former Member
Apr 25, 2014 at 04:25 AM

Namespace addition in a DTD in ESR

39 Views

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" />