Test web service link.
http://efatura-test.uyumsoft.com.tr/Services/BasicDespatchIntegration?wsdl
Test Web page
https://portal-test.uyumsoft.com.tr/GelenIrsaliye
My code:
Int i,ll_rc
String li_ret, despatchid
soapconnection conn;conn =create soapconnection
usbasicdespatchIntegration ln_integration;
usdespatchresponse li_r
ll_rc=conn.createinstance( ln_integration, "usbasicdespatchIntegration")
IF ll_rc<>0 THEN ;messagebox("Error","Service connection problem");return -1 ;END IF
ususerinformation l_ui; l_ui=create ususerinformation
l_ui.username ="Uyumsoft";
l_ui.password="Uyumsoft";
despatchid ="ecbcea08-0e96-4b26-ad81-450a136d6d1d"
UsDespatchResponse l_dresponse;l_dresponse=Create UsDespatchResponse
TRY
l_dresponse= ln_integration.getinboxdespatch( l_ui , despatchid )
// l_dresponse value is coming null
IF l_dresponse.issucceded=FALSE THEN
messagebox("Ok",l_dresponse.ws_message );
return -1;
END IF
CATCH (runtimeerror runerr1 )
li_ret=runerr1.text
messagebox("Error",""+li_ret );return -1
FINALLY
END TRY
Thanks for your attention.