2009/7/29 amit_9b <amit...@yahoo.com>: > So the soap response I desire is : > ==================== DESIRED RESPONSE ==================== > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <models xmlns:ns2="http://prime.simplesoft.org/2009/xsd"> > <model active="true" provider="gili" name="nn" id="1"> > <display-name>Near Neighbors</display-name> > <description>Find near neighbors in cpd collection</description> > <model-output-types> > <model-output-type data-type="integer" name="near neighborId" > id="1"> > <description>LSN of gili near neighbors</description> > </model-output-type> > <model-output-type data-type="smiles" name="near neighbor > structure" id="2"> > <description>Structure of near neighbors</description> > </model-output-type> > </model-output-types> > </model> > <model active="true" provider="gili2" name="nn2" id="2"> > <display-name>gili Near Neighbors 2</display-name> > <description>Find near neighbors in gili cpd > collection</description> > <model-output-types> > <model-output-type data-type="integer" name="near neighbor Id" > id="1"> > <description>LSN of gili near neighbors</description> > </model-output-type> > <model-output-type data-type="smiles" name="near neighbor > structure" id="2"> > <description>Structure of gili near neighbors</description> > </model-output-type> > </model-output-types> > </model> > </models> > </soap:Body> > </soap:Envelope> > ==================== DESIRED RESPONSE ENDS====================
This doesn't make sense. You're declaring a namespace prefix 'ns2' and then never referring to it. Why would you want to do that? Andrew. -- :: http://biotext.org.uk/ ::