Within my wsdl I can do the following and wsdl2java will handle it OK:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wsdl [
  <!ENTITY servicename "myservice">
]>
<definitions...>
   ...
   <service name="&servicename;">
   ...
</definitions>

However, if I try to do this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE entities SYSTEM "entities.dtd">
<definitions...>
   ...
   <service name="&servicename;">
   ...
</definitions>

Where entities.dtd contains only:

<!ENTITY servicename "myservice">

It doesn't work! The generated wsdl has a zero length string substituted for 
&servicename;

Does anybody know why? Are external DTD and entities etc. supported? Or have I 
just done it wrong?

Pete.H.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to