I have successfully been using XML::Compile::WSDL11/SOAP11 to interact with the EngeryStar's QPX service for several years. Their WSDL is published here:
https://esws.energystar.gov/DataServices/servlet/webservices?ver=1.1&wsdlxml Recently, I have started getting the following error from $wsdl->call( 'Submit_Status_Request_For_Submission', ... ): decode error: data for element or block starting with `Acceptance' missing at aw_Submit_Status_Request_For_Submission_status_response_Output: status_response/product_response The cleaned up $trace->response is: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:status_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.energystar.gov/schema/core/" xmlns:ns2="http://www.energystar.gov/schema/status/" > <ns1:core_response> <ns1:Code>0</ns1:Code> <ns1:SubmissionToken>3618...</ns1:SubmissionToken> <ns1:Message>Your submission ....</ns1:Message> </ns1:core_response> <ns2:product_response> <ns2:ENERGY_STAR_Manufacturing_Partner> .... </ns2:ENERGY_STAR_Manufacturing_Partner> <ns2:Model_Name>...</ns2:Model_Name> <ns2:Model_Number>...</ns2:Model_Number> <ns2:ENERGY_STAR_Model_Identifier> ES_103... </ns2:ENERGY_STAR_Model_Identifier> <ns2:ENERGY_STAR_UniqueID>2263010</ns2:ENERGY_STAR_UniqueID> <ns2:Acceptance>Accepted-No Errors</ns2:Acceptance> </ns2:product_response> </ns2:status_response> </soapenv:Body> </soapenv:Envelope> As you can see, the 'status_response/product_response/Acceptance' does exist. I'm wondering if the problem is due to the multiple namespaces. I don't think I have seen that in from this service in the past. Any help would be very much appreciated. Thanks, Mark _______________________________________________ Xml-compile mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile
