Loading ...
Sorry, an error occurred while loading the content.

Accessing the response data

Expand Messages
  • Stig Woxholt
    Hey ppl.... Me again :) My soap-app actually work now, but I have problems accessing the response data. I m sure that it s a pretty easy way to do this, and
    Message 1 of 1 , Feb 10, 2002
    • 0 Attachment
      Melding
      Hey ppl....
      Me again :)
       
      My soap-app actually work now, but I have problems accessing the response data. I'm sure that it's a pretty easy way to do this, and I've tried some but It does'nt work to good.
      The response I get is pretty big, and I'm alittle confused on how to start, so I was wondering if there was someone who could point me in the right direction.
       
      TIA
      Regards
      Stig Woxholt
       
      ##### RESPONSE #####
      <?xml version='1.0' encoding='UTF-8'?>
      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Body>
      <ns1:checkLineResponse xmlns:ns1="urn:kapaksm2minterface-service" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <return xmlns:ns2="urn:soap-kapaks-response-KapaksResponse-kapaksm2minterface" xsi:type="ns2:KapaksResponse"> <listOfProductReplies xmlns:ns3="http://xml.apache.org/xml-soap" xsi:type="ns3:Vector"> <item xmlns:ns4="urn:soap-kapaks-response-ProductReply-kapaksm2minterface" xsi:type="ns4:ProductReply"> <addressInfromation xmlns:ns5="urn:soap-kapaks-response-AddressInformation-kapaksm2minterface" xsi:type="ns5:AddressInformation">
      <houseNumber xsi:type="xsd:int">262</houseNumber>
      <postalPlace xsi:type="xsd:string">OSLO </postalPlace>
      <floor xsi:type="xsd:int" xsi:null="true"/>
      <municipalityName xsi:type="xsd:string">OSLO </municipalityName>
      <houseLetter xsi:type="xsd:string"></houseLetter>
      <propertyPartNumber xsi:type="xsd:int" xsi:null="true"/> <streetNumber xsi:type="xsd:int">15090</streetNumber>
      <county xsi:type="xsd:string">OSLO </county>
      <postalCode xsi:type="xsd:string">543</postalCode>
      <streetName xsi:type="xsd:string">Streetname</streetName>
      <apartmentNumber xsi:type="xsd:string"></apartmentNumber>
      <municipalityNumber xsi:type="xsd:int">301</municipalityNumber>
      <propertyNumber xsi:type="xsd:int" xsi:null="true"/>
      <name xsi:type="xsd:string">Fullname </name>
      </addressInfromation>
      <connectionProperties xmlns:ns6="urn:soap-kapaks-response-ConnectionProperties-kapaksm2minterface" xsi:type="ns6:ConnectionProperties">
      <listofLinePartProperties xsi:type="ns3:Vector">
      <item xmlns:ns7="urn:soap-kapaks-response-LinePartProperties-kapaksm2minterface" xsi:type="ns7:LinePartProperties">
      <telsisFslSign xsi:type="xsd:string">HJ_9 </telsisFslSign>
      <service xmlns:ns8="urn:soap-kapaks-response-Service-kapaksm2minterface" xsi:type="ns8:Service"> <requestedProduct xsi:type="xsd:string">ADSL-PREMIUM</requestedProduct>
      <resultCode xsi:type="xsd:int">61</resultCode>
      <listOfInformations xsi:type="ns3:Vector"> </listOfInformations> <listOfResultCause xsi:type="ns3:Vector"> <item xmlns:ns9="urn:soap-kapaks-response-ResultCause-kapaksm2minterface" xsi:type="ns9:ResultCause"> <resultCauseText xsi:type="xsd:string">a loooong string
      </resultCauseText>
      <resultCauseCode xsi:type="xsd:int" xsi:null="true"/>
      </item>
      </listOfResultCause>
      <resultText xsi:type="xsd:string">Even more text</resultText> <listOfAvailableServiceClasses xsi:type="ns3:Vector"> <item xmlns:ns10="urn:soap-kapaks-response-AvailableServiceClasses-kapaksm2minterface" xsi:type="ns10:AvailableServiceClasses">
      <serviceClassCode xsi:type="xsd:int" xsi:null="true"/>
      <serviceClassText xsi:type="xsd:string">Service </serviceClassText>
      </item>
      </listOfAvailableServiceClasses>
      </service>
      <pupin xsi:type="xsd:string" xsi:null="true"/>
      <tapp xsi:type="xsd:string" xsi:null="true"/>
      <telsisGslSign xsi:type="xsd:string">sentral </telsisGslSign>
      <connectionPointInsideType xsi:type="xsd:string" xsi:null="true"/> <connectionPointInsideName xsi:type="xsd:string" xsi:null="true"/> <part xsi:type="xsd:string" xsi:null="true"/> <droplengthType xsi:type="xsd:int" xsi:null="true"/> <connectionPointOutsideType xsi:type="xsd:string" xsi:null="true"/> <nitraConnectionPointSign xsi:type="xsd:string" xsi:null="true"/> <listOfEquipmentProperties xsi:type="ns3:Vector"> </listOfEquipmentProperties> <connectionPointOutsideName xsi:type="xsd:string" xsi:null="true"/> <length xsi:type="xsd:int">696</length> <vern xsi:type="xsd:string" xsi:null="true"/> <lineDeliveryDate xsi:type="xsd:string" xsi:null="true"/> <listOfConnectionNumberProperties xsi:type="ns3:Vector"> <item xmlns:ns11="urn:soap-kapaks-response-ConnectionNumberProperties-kapaksm2minterface" xsi:type="ns11:ConnectionNumberProperties">
      <connectionNumberType xsi:type="xsd:string">T</connectionNumberType>
      <lineStatus xsi:type="xsd:string">O</lineStatus>
      <connectionNumber xsi:type="xsd:string">clinr</connectionNumber>
      <serviceType xsi:type="xsd:string">IG </serviceType>
      </item>
      <item xmlns:ns12="urn:soap-kapaks-response-ConnectionNumberProperties-kapaksm2minterface" xsi:type="ns12:ConnectionNumberProperties">
      <connectionNumberType xsi:type="xsd:string">L</connectionNumberType>
      <lineStatus xsi:type="xsd:string">O</lineStatus>
      <connectionNumber xsi:type="xsd:string">connnr</connectionNumber>
      <serviceType xsi:type="xsd:string">IG </serviceType>
      </item>
      </listOfConnectionNumberProperties>
      <wireDiameter xsi:type="xsd:float" xsi:null="true"/>
      <mks xsi:type="xsd:string" xsi:null="true"/>
      <dropLength xsi:type="xsd:int" xsi:null="true"/>
      </item>
      </listofLinePartProperties>
      </connectionProperties>
      </item>
      </listOfProductReplies>
      <statusCode xsi:type="xsd:int">100</statusCode>
      </return>
      </ns1:checkLineResponse>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
       
    Your message has been successfully submitted and would be delivered to recipients shortly.