Hi Andrew, That was a typo. The desired response is :
=====8<==== RESPONSE START =====8<==== <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <models xmlns="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> ======8<==== RESPONSE END =====8<===== Any ideas ? Thanks, amit_9b Andrew Clegg-2 wrote: > > 2009/7/29 amit_9b <[email protected]>: > >> 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/ :: > > -- View this message in context: http://www.nabble.com/Namespace-problem-in-webservice-response-tp24719842p24733101.html Sent from the cxf-user mailing list archive at Nabble.com.
