ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Help with namespace , parsing the SOAP response

Post new topic  Reply to topic
 Help with namespace , parsing the SOAP response « View previous topic :: View next topic » 
Author Message
narendra68
PostPosted: Fri Jun 01, 2012 7:06 am    Post subject: Help with namespace , parsing the SOAP response Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 30

I having issues parsing the the following SOAP response. Not able to refer the table element.
Can some one please help?

<?xml version="1.0" encoding="utf-8" ?>

<DataTable xmlns="http://tempuri.org/">

<xs:schema id="SqlDataSet_DS" xmlns=""
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemasmicrosoftcom:xmlmsdata">

<xs:element name="SqlDataSet_DS" msdata:IsDataSet="true"
msdata:MainDataTable="Table" msdata:UseCurrentLocale="true">

<xs:complexType>

<xs:choice minOccurs="0" maxOccurs="unbounded">

<xs:element name="Table">

<xs:complexType>

<xs:sequence>
<xs:element name="MONSYSID"
type="xs:int" minOccurs="0" />
<xs:element name="PLATFORM"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

<diffgr:diffgram xmlns:msdata="urn:schemasmicrosoftcom:xmlmsdata"
xmlns:diffgr="urn:schemasmicrosoftcom:xmldiffgramv1">

<SqlDataSet_DS xmlns="">

<Table diffgr:id="Table1" msdata:rowOrder="0">
<MONSYSID>1000</MONSYSID>
<PLATFORM>ABCDE</PLATFORM>
</Table>

<Table diffgr:id="Table2" msdata:rowOrder="1">
<MONSYSID>1001</MONSYSID>
<PLATFORM>XYZBC</PLATFORM>
</Table>


</SqlDataSet_DS>
</diffgr:diffgram>
</DataTable>
_________________
Narendra
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 01, 2012 7:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Code:
InputRoot.XMLNSC.ns1:DataTable.ns2:diffgram."SQLDataSet_DS".Table[1].MONSYSID
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Help with namespace , parsing the SOAP response
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.