[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:XML not parsing
attached are:
httpapi_url.txt this is the debug file when the program runs and
outputs the xml to an ifs file.
esorders.txt is the ifs file returned xml from the http_url_post
httpapi_xml.txt is the debug file from the xml post where the returned
data is not being parsed.
Any help to figure this out would be appreciated. I tried several of
the examples that were close to what I am trying to do to ensure the
EXPAT is compile and installed properly, but none of those that I
tried could connect to the web service. If there is something that I
could do to confirm EXPAT is working please advise. Thank you all.
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R4M0
http_url_post(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 10
DNS resolver options: x'000001B6'
DNS default domain: VSI-NJ.VITSHOPPE.COM
DNS server found: 10.3.2.65
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /axis/services/OrderRetrieve HTTP/1.1
Host: 10.3.53.75:8091
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 2103
SOAPAction: " "
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://orderretrieve.services.es.crsretail.com"><soapenv:Header/><soapenv:Body><ord:retrieveOrderMetaDataList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><orderRetrieveCriteria xsi:type="urn:OrderMetaDataRetrieveCriteria" xmlns:urn="urn:BeanService"><customerEmail xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerEmail><customerFirstName xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerFirstName><customerId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerId><customerLastName xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerLastName><fulfillingDivisionId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></fulfillingDivisionId><fulfillingOutletId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">9001</fulfillingOutletId><orderId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></orderId><orderStates xsi:type="ord:ArrayOf_soapenc_string" soapenc:arrayType="soapenc:string[1]" xmlns:ord="http://10.3.53.75:8091/axis/services/OrderRetrieve" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item>No Action</item></orderStates><sellingDivisionId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></sellingDivisionId><sellingOutletId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></sellingOutletId><strDateRangeMax xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></strDateRangeMax><strDateRangeMin xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></strDateRangeMin></orderRetrieveCriteria></ord:retrieveOrderMetaDataList></soapenv:Body></soapenv:Envelope>
recvresp(): entered
HTTP/1.1 200 OK
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 30 Jul 2009 16:32:22 GMT
Server: Apache-Coyote/1.1
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
80e
chunk size = 2062
get_chunk_size returned 2062
calling comm_blockread
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:retrieveOrderMetaDataListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://orderretrieve.services.es.crsretail.com"><retrieveOrderMetaDataListReturn soapenc:arrayType="ns2:OrderMetaData[2]" xsi:type="soapenc:Array" xmlns:ns2="urn:BeanService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620501</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620401</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn></retrieveOrderMetaDataListReturn></ns1:retrieveOrderMetaDataListResponse></soapenv:Body></soapenv:Envelope>
comm_blockread returned 2062
get_chunk_size(): entered
0
chunk size = 0
get_chunk_size returned 0
http_close(): entered
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:retrieveOrderMetaDataListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://orderretrieve.services.es.crsretail.com"><retrieveOrderMetaDataListReturn soapenc:arrayType="ns2:OrderMetaData[2]" xsi:type="soapenc:Array" xmlns:ns2="urn:BeanService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620501</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620401</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn></retrieveOrderMetaDataListReturn></ns1:retrieveOrderMetaDataListResponse></soapenv:Body></soapenv:Envelope>
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R4M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 10
DNS resolver options: x'000001B6'
DNS default domain: VSI-NJ.VITSHOPPE.COM
DNS server found: 10.3.2.65
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /axis/services/OrderRetrieve HTTP/1.1
Host: 10.3.53.75:8091
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 2103
SOAPAction: " "
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://orderretrieve.services.es.crsretail.com"><soapenv:Header/><soapenv:Body><ord:retrieveOrderMetaDataList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><orderRetrieveCriteria xsi:type="urn:OrderMetaDataRetrieveCriteria" xmlns:urn="urn:BeanService"><customerEmail xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerEmail><customerFirstName xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerFirstName><customerId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerId><customerLastName xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></customerLastName><fulfillingDivisionId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></fulfillingDivisionId><fulfillingOutletId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">9001</fulfillingOutletId><orderId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></orderId><orderStates xsi:type="ord:ArrayOf_soapenc_string" soapenc:arrayType="soapenc:string[1]" xmlns:ord="http://10.3.53.75:8091/axis/services/OrderRetrieve" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item>No Action</item></orderStates><sellingDivisionId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></sellingDivisionId><sellingOutletId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></sellingOutletId><strDateRangeMax xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></strDateRangeMax><strDateRangeMin xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"></strDateRangeMin></orderRetrieveCriteria></ord:retrieveOrderMetaDataList></soapenv:Body></soapenv:Envelope>
recvresp(): entered
HTTP/1.1 200 OK
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 30 Jul 2009 17:33:47 GMT
Server: Apache-Coyote/1.1
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
80e
chunk size = 2062
get_chunk_size returned 2062
calling comm_blockread
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:retrieveOrderMetaDataListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://orderretrieve.services.es.crsretail.com"><retrieveOrderMetaDataListReturn soapenc:arrayType="ns2:OrderMetaData[2]" xsi:type="soapenc:Array" xmlns:ns2="urn:BeanService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620501</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn><retrieveOrderMetaDataListReturn xsi:type="ns2:OrderMetaData"><customerFirstName xsi:type="soapenc:string">sally</customerFirstName><customerLastName xsi:type="soapenc:string">black</customerLastName><orderCreateDate xsi:type="soapenc:string">07/29/2009 13:37:35:000</orderCreateDate><orderId xsi:type="soapenc:string">04443062301000620401</orderId><orderState xsi:type="soapenc:string">No Action</orderState><orderTotalPrice xsi:type="xsd:int">9130</orderTotalPrice><orderType xsi:type="soapenc:string">shipping</orderType><sellingDivisionId xsi:type="soapenc:string">0</sellingDivisionId><sellingOutletId xsi:type="soapenc:string">4443</sellingOutletId></retrieveOrderMetaDataListReturn></retrieveOrderMetaDataListReturn></ns1:retrieveOrderMetaDataListResponse></soapenv:Body></soapenv:Envelope>
comm_blockread returned 2062
get_chunk_size(): entered
0
chunk size = 0
get_chunk_size returned 0
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------