Hi ,
When I am calling deploy method on ServiceManagerClient ,I am getting the following error.I am using Soap2.3 version

Fault Code   = SOAP-ENV:Server.BadTargetObjectURI
Fault String = Unable to determine object id from call: is the method element namespaced?
 
Iam giving my code below
 
DeploymentDescriptor deploymentDescriptor=DeploymentDescriptor.fromXML(getElement("DeploymentDescriptor.xml"));
smc.deploy(deploymentDescriptor);
 
Where smc is ServiceManagerClient
 
my DeploymentDescriptor.xml file
 
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:metricserver">
<isd:provider type="java" scope="Session" methods="setMetric"> <isd:java class="com.gm.process.metric.GO2MetricSOAPServer" static="false"/>
</isd:provider>
<isd:mappings>
    <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:metricserver" qname="x:com.gm.domain.metric.GO2MetricSet"
javaType="com.gm.domain.metric.GO2MetricSet"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
 
  </isd:mappings>
</isd:service>
 
Could any one please tell me what is the wrong with the code?
 
Thank you and Regards
Kiran Kumar Vasireddy
 

 
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

Reply via email to