[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing a soap response



   Good afternoon,

   I am receiving the soapfile back from the URL using Httpapi and I don't
   know how to parse it. (I'm a beginner.)


   I'm using example 17 (which returns the bank routing data) as a
   starting point to parse the data. (see attached).

   The soapfile displays correctly.

   The SaveEmbed procedure is called. The value in the name field at the
   beginning of the SaveEmbed procedure is env:Header.


   I need to get to the elements beyond that.

   I greatly appreciate your help,


   Debra Abelow

   Systems Analyst/Developer III

   Anda Inc.

   2915 Weston Road

   Weston, FL 33331

   1-800-331-ANDA (4784) Ext. 74784

   Fax 954-217-4377

   Debra.Abelow@xxxxxxxxxxx
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><soapenv:Body><v1:ExpressTagAvailabilityReply xmlns:v1="http://fedex.com/ws/returntag/v1";><v1:HighestSeverity>SUCCESS</v1:HighestSeverity><v1:Notifications><v1:Severity>SUCCESS</v1:Severity><v1:Source>disp</v1:Source><v1:Code>0000</v1:Code><v1:Message>Success</v1:Message><v1:LocalizedMessage>Success</v1:LocalizedMessage></v1:Notifications><q0:TransactionDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:q0="http://fedex.com/ws/returntag/v1"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><q0:CustomerTransactionId>Express Tag Availability Example</q0:CustomerTransactionId></q0:TransactionDetail><q0:Version xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:q0="http://fedex.com/ws/returntag/v1"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><q0:ServiceId>wsi</q0:ServiceId><q0:Major>1</q0:Major><q0:Intermediate>0</q0:Intermediate><q0:Minor>0</q0:Minor></q0:Version><v1:AccessTime>01:00:00</v1:AccessTime><v1:ReadyTime>20:00:00</v1:ReadyTime><v1:Availability>SAME_DAY_AND_NEXT_DAY_AVAILABLE</v1:Availability></v1:ExpressTagAvailabilityReply></soapenv:Body></soapenv:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------