Dinakar,

I believe you need to add a namespace qualifier to the qname attribute of
the mapping.

Change the line:
xmlns:x="urn:patientobjectinfoclass" qname="patientinfo-object"

to
xmlns:x="urn:patientobjectinfoclass" qname="x:patientinfo-object"

Hope this helps.

Regards,
Mike

-----Original Message-----
From: dinakar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 5:31 PM
To: [EMAIL PROTECTED]
Subject: Error While Deploying.


Hi,

when i deploy in the command prompt using dd.xml file its given this error
D:\webservicedemo\patientprofile>java
org.apache.soap.server.ServiceManagerClien
t http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml
Exception in thread "main" java.lang.IllegalArgumentException: Unable to
determi
ne namespace of 'patientinfo-object'.
        at
org.apache.soap.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown
Source)
        at org.apache.soap.server.DeploymentDescriptor.fromXML(Unknown
Source)
        at org.apache.soap.server.ServiceManagerClient.main(Unknown Source)

my dd.xml file is 
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
             id="patientprofile">
  <isd:provider type="java"
                scope="Application"
                methods="getAllPatientDetails">
    <isd:java class="PatientProfileObject" static="false"/>
  </isd:provider>

 
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>

  <isd:mappings>
  
    <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
             xmlns:x="urn:patientobjectinfoclass" qname="patientinfo-object"
             javaType="PatientInfo"
 
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
 
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
  </isd:mappings>    
</isd:service>
 
thanks and regards
dinakar

Reply via email to