Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

working with ws

$
0
0

hi all ,

 

I need to work with this ws invoked by this wsdl file :

https://toshavnet.malam.com/metroramadebitws/metroramaDebit.asmx?WSDL

 

here is my code :

 

sc = CREATE SoapConnection
sc.CreateInstance(metro_ws ,"metrometroramadebit")
if IsValid(metro_ws) then

 

   is_muni_code       = 6501

     is_appl_code      = 4

     client_id              =  679969

 

 

  

  if Len( client_id) > 0 then
   metro_wsreturn_class_valid          = Create metrowsreturnclassvalidation ;
   metro_wsreturn_class                   = Create  metrowsreturnclass;
   Metro_dataset                                = Create metrodatasetrc;
  

   

   Metro_dataset = metro_ws.get_api_client_data(is_muni_code, is_appl_code, client_id)

   if IsValid(Metro_dataset) then
         MessageBox("metro_ws",Metro_dataset.dsdataset)
   else
         MessageBox("dataset=","failed")
   end if
  end if

end if

 

but the :  Metro_dataset is always null and never valid

can someone try this WSDL file , create a proxy ws , and run the function like I did ,  and tell me what is wrong with my code ?

 

working with pb12.5 classic

 

in the internet explorer its works fine

 

thanx

moshe


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>