1
Vote

Callback Function always returns NULL, although valid XML returned

description

I'm very new to this project and have been testing version 2.4
 
I've tried the SOAPClient with our exisitng webservice application - sadly, it always returns NULL when the "GetStockInfo" function is called.
 
Strangely, if I use the debug_mode where I display the actual XML document being returned using the "GetSoapResponse" method - its returning a valid XML document - that leads me to believe that something is amissed or I may be doing something wrong?
 
Any help would be appreciated
 
Thanks
 
Please see attached document for source and below is the returned XML file:
 
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body>
               <m:GetStockInfoResponse xmlns:m="http://xl-raveens/xls.retailplus.600/webcatservice.wso">
                        <m:GetStockInfoResult>
                                  <m:RecId>165358</m:RecId>
                                  <m:BRCH>11</m:BRCH>
                                  <m:CODE>RRSTOCK     </m:CODE>
                                  <m:DEPT>TA</m:DEPT>
                                  <m:DEPT_DESC>TRADE AID STORE     </m:DEPT_DESC>
                                  <m:GROUP>BA</m:GROUP>
                                  <m:GROUP_DESC>BASKETWARE          </m:GROUP_DESC>
                                  <m:SUBGRP>AA</m:SUBGRP>
                                  <m:SUBGRP_DESC>ALL OTHER           </m:SUBGRP_DESC>
                                  <m:DESC>RRSTOCK ORDINARY         </m:DESC>
                                  <m:LONG_DESC>RRSTOCK ORDINARY LONG DESCRIPTION TESTING FOR PRINTING 2 LINES...........X</m:LONG_DESC>
                                  <m:SUPP>RRSUPP</m:SUPP>
                                  <m:BRAND></m:BRAND>
                                  <m:Type>O</m:Type>
                                  <m:PRIORITY_LEVEL>5</m:PRIORITY_LEVEL>
                                  <m:SEASON_CODE>SUMMER</m:SEASON_CODE>
                                  <m:SEASON_DESC>SUMMER                        </m:SEASON_DESC>
                                  <m:ON_HAND>2</m:ON_HAND>
                                  <m:ALLOCATED>0</m:ALLOCATED>
                                  <m:SELL_PRICE>375</m:SELL_PRICE>
                        </m:GetStockInfoResult>
               </m:GetStockInfoResponse>
     </soap:Body>
</soap:Envelope>

file attachments

comments