I’m using: Windows 7 PowerBuilder 12.5 Build 2511 Microsoft .NET Framework 4 Microsoft Windows SDK for Windows 7 (7.1) I am tasked with my first Web Services project. Connecting to a Vendor via a WSDL file and then pulling down large packets of data and then eventually, sending data back to them. I started with PowerBuilder 12.5 Classic. I could successfully build the Project and Proxy by: New, Project, Web Service Proxy Wizard, Use .Net Engine etc. The vendor provided WSDL file was read and the PB objects were created. The vendor provided a WSDL file and two separate .XSD files, stating as long as all three are in the same directory, they should be read just fine… I then learned that PB 12.5 Classic does not support Mtom and ws-security that are required by my vendor. So I am now trying this in PB12.5 .Net. New, WCF Client Proxy, enter the project name, enter the same exact WSDL file name that I used in PB Classic, enter in the Namespace:, Proxy assembly name:, Proxy library: When I click Next, I get the following Errors: Error: Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporte... Error: Schema with target namespace "http://methods.webservices..." could not be found. I’ve tried many things to resolve this. Why does this WSDL file and .xsd files seem to work ok with PB 12.5 Classic, SoapUI, and Visual Studio .Net but not PB12.5 .NET? Anyone have any thoughts? I’m very frustrated. Thanks
↧