Hi All,
we have done the webservice coding in JAVA with SOAP UI. Now we are tried to invoke the service through PowerBuilder. While accesing the WSDL from Web Service Proxy , I am not able to invoke the service with Easy Soap. if i click the Radio Button ".Net Engine". i can able to invoke the service and get the all functions, while trying with soap i got invalid wsdl file error.
WSDL: https://dev.services.edpm.usb.metlife.com/dpm/services/PartyServices/PartyServices.wsdl
when i proceed with the .Net, I am getting error on the service
Long ll_ret
string ll_v1 = 'STRK', ll_v2 = "Test"
party ll_ReturnVal
String str_proxy_name = "partyservices"
//String ls_url = "https://dev.services.edpm.usb.metlife.com/dpm/services/PartyServices"
SoapConnection lsc_Conn
partyservices lproxy_obj
lsc_Conn = create SoapConnection
lsc_Conn.SetOptions("SoapLog=~"C:\\soaplog.txt~"")
ll_ret = lsc_Conn.CreateInstance(lproxy_obj, str_proxy_name)
IF ll_ret <> 0 THEN
MessageBox("Error","CreateInstance failed " + String(ll_ret))
return
END IF
Try
ll_ReturnVal = lproxy_obj.findpartybynaturalidv2(ll_v1, ll_v2) //Getting Error in this line
MessageBox("Message", String(ll_v1) + "+" + String(ll_v1) + "=" + String(ll_ReturnVal))
Catch ( SoapException e )
MessageBox("Error","Exception: " + e.getmessage())
end try
Destroy lsc_Conn
In the findpartybynaturalidv2 function we are getting the error as, Exception: The SoapClient doesn't Support .NET Proxy. I have attached the wsdl file in the txt format for your reference.
Please help me on this issue, I am using PowerBuilder12.5 Classic version
Thanks
Naresh