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

Problem in Consuming Web Services in Powerbuilder 12.5 Classic and .Net

$
0
0

Hi, I'm developing a clien that consume a web service. The producer sent to me the .wsdl file and the  schema .xsd files.

Using Powerbuilder 12.0 and 12.5 Classic, i generated a Web Service Proxy using the Web Service Prowy Wizard correctly, but I'm not able to contact the web service because it requires the preemptive authentication, whit basic authentication.Searching online I read that the Classic edition doesn't permit to modify the Http header of the request ( the SetBasicAuthentication of Soapconnection , using .Net engine , doesn't resolve the problem), so the web service send to me an error "Credentials not found".

So I tried to use Powerbuilder 12 and 12.5 .Net, creating a WCF CLient Proxy. But when I load the .wsdl file ( is a local file, not stored in remote server), it shows me an :

"Assembly error" with exception WSDL: Syistem.ServiceModel.Description.DataContractSerializerMessageContractImporter . Impossible ti find schema with destination namespace 'http://........."

"Error:Unable to import wsdl:binding"

"Detail:Error during import of wsdl:portType depending wsdl:binding

..................................................................................."

"Error:Unable to import wsdl:port"

"Detail:Error during import of wsdl:portType depending wsdl:port

..................................................................................."

 

 

 

If someone can help me to understand the error, because this .wsdl file has correctly imported in Powerbuilder Classic, Visual Studio 2010, SoapUi ( with SoapUi i consumed correctly the web service obtaining the correct responses.

If you want i can attach the wsdl file.

 

Please help me! Thanks!


Viewing all articles
Browse latest Browse all 2881

Trending Articles



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