A
avishosh
Hi,
I'm getting the folowing error when tring to open xml file:
--------------------------------------------------------------------------------
The system cannot locate the resource specified. Error processing
resource 'file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd'.
Error processing resource
'file:///D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/getCustomerDetailsResponse.xml'.
Line 2, Position 93
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
--------------------------------------------------------------------------------
The xml look like that:
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
<service>
<header>
<session ID="13"/>
</header>
<body>
<customer customerId="3002">
<customerDetails creditClass="High" creditStatus="Good"
marketSegment="Residential" communicationLanguage="English"
blackListInd="False" title="Mister" firstName="Bill"
officialLanguage="English" lastName="Clinton"/>
<addressDetails state="IL" street="W North Ave"
streetNumber="1000" country="USA" municipality="Chicago"
postCode="78328"/>
</customer>
</body>
</service>
--------------------------------------------------------------------------------
The path of the xml is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\omsserver
and the path of the DTD file is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\omsserver\xml\amdocs\oms\opi\customer
When I change the path of the DTD in the xml file to:
<!DOCTYPE service SYSTEM
"file:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
it's work just fine.
Why it does not work with relative path ?
I'm getting the folowing error when tring to open xml file:
--------------------------------------------------------------------------------
The system cannot locate the resource specified. Error processing
resource 'file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd'.
Error processing resource
'file:///D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/getCustomerDetailsResponse.xml'.
Line 2, Position 93
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
--------------------------------------------------------------------------------
The xml look like that:
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
<service>
<header>
<session ID="13"/>
</header>
<body>
<customer customerId="3002">
<customerDetails creditClass="High" creditStatus="Good"
marketSegment="Residential" communicationLanguage="English"
blackListInd="False" title="Mister" firstName="Bill"
officialLanguage="English" lastName="Clinton"/>
<addressDetails state="IL" street="W North Ave"
streetNumber="1000" country="USA" municipality="Chicago"
postCode="78328"/>
</customer>
</body>
</service>
--------------------------------------------------------------------------------
The path of the xml is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\omsserver
and the path of the DTD file is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\omsserver\xml\amdocs\oms\opi\customer
When I change the path of the DTD in the xml file to:
<!DOCTYPE service SYSTEM
"file:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
it's work just fine.
Why it does not work with relative path ?