Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Powerbuilder Classic calling webservice and get message "can not be reflected"

$
0
0

We are switching to Ultipro Saas offering, so I need to convert a program that synchronizes data to use Web Services instead of the direct DB connection we had before.

 

I created the proxy using .NET, but when I run authenticate I get the message "Method LoginService.Authenticate can not be reflected"

 

I'm not sure what I am doing wrong

 

li_ret = s_conn.createinstance(u_soap,"LoginService")

u_soap.setclientaccesskey( lws_client )

u_soap.setuseraccesskey( ls2_userkey )

u_soap.setusername( ls3_user )

u_soap.setpassword( ls1_pass )

u_soap.authenticate( ll_status, lb_status, ls_msg, ls_token )

 

 

 

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://www.ultipro.com/services/loginservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="LoginService" targetNamespace="http://tempuri.org/">

<wsp:Policy wsu:Id="WSHttpBinding_ILoginService_policy">

<wsp:ExactlyOne>

<wsp:All>

<wsaw:UsingAddressing/>

</wsp:All>

</wsp:ExactlyOne>

</wsp:Policy>

<wsdl:import namespace="http://www.ultipro.com/services/loginservice" location="https://service2.ultipro.com/services/LoginService?wsdl=wsdl0"/>

<wsdl:types/>

<wsdl:binding name="WSHttpBinding_ILoginService" type="i0:ILoginService">

<wsp:PolicyReference URI="#WSHttpBinding_ILoginService_policy"/>

<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="Authenticate">

<soap12:operation soapAction="http://www.ultipro.com/services/loginservice/ILoginService/Authenticate" style="document"/>

<wsdl:input name="TokenRequest">

<soap12:header message="i0:TokenRequest_Headers" part="ClientAccessKey" use="literal"/>

<soap12:header message="i0:TokenRequest_Headers" part="Password" use="literal"/>

<soap12:header message="i0:TokenRequest_Headers" part="UserAccessKey" use="literal"/>

<soap12:header message="i0:TokenRequest_Headers" part="UserName" use="literal"/>

<soap12:body use="literal"/>

</wsdl:input>

<wsdl:output name="TokenResponse">

<soap12:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="LoginService">

<wsdl:port name="WSHttpBinding_ILoginService" binding="tns:WSHttpBinding_ILoginService">

<soap12:address location="https://service2.ultipro.com/services/LoginService"/>

<wsa10:EndpointReference>

<wsa10:Address>https://service2.ultipro.com/services/LoginService</wsa10:Address>

</wsa10:EndpointReference>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>


Viewing all articles
Browse latest Browse all 2881

Trending Articles



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