Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Issue with Web Proxy PB 12.0 Classic

$
0
0

What needs to be deployed with the .NET proxy?

 

I imported the pbwsclient120.pbx into the pbl. I added the proxy DLL generated from the WSDL file.and libeay32.dll in the application directory. The compiled application works on my machine but not on a user's non-development pc On their machine I get a system error (Bad runtime function ) when trying to create the Proxy object. The same code is used in a server process and works perfectly. I feel I'm missing a deliverable but cannot figure which. Below is code snippet used blows on the highlighted line :

 

*** User function call **

claimsfnolmanagerservicewsv10service proxy_obj // Declare proxy

 

int iRet

long ll_return

string ls_string

long rVal, lLog

boolean lb_value

real amount

string str_endpoint, s_sometext

pingrequest l_pingreq

pingresponse l_pingresp

businessservicetype l_BusSvctype

servicerequestinfotype l_ServReq

 

 

// Security Objects

security l_security

security l_security_values

securityusernametoken l_SecToken

securityusernametokenpassword l_SecTokenPswd

 

 

// Create SOAP Connection

conn = create SoapConnection  //Instantiated connect

 

 

 

l_SecToken.username             = ps_username

l_SecTokenPswd.value             = ps_password

l_SecTokenPswd.ws_type         = ps_ws_type

l_security.mustunderstand = false

 

 

str_endpoint = ps_endpoint

 

 

// These are not used by the process but cannot be NULL or security object will not generate the appropriate Header info

// Loading default values

l_security.didunderstand = true

l_security.relay = true

l_security.actor = ''

l_security.encodedmustunderstand = '0'

l_security.encodedmustunderstand12 = '0'

l_security.encodedrelay = '0'

l_security.role = ''

l_security.usernametoken                 = l_SecToken

l_security.usernametoken.password = l_SecTokenPswd

 

 

//Create Proxy Object

rVal = Conn.CreateInstance(proxy_obj, "claimsfnolmanagerservicewsv10service", str_endpoint)

 

Return proxy_obj


Viewing all articles
Browse latest Browse all 7329

Latest Images

Trending Articles



Latest Images