मैं WSDLImporter (साथ ही WSDLImp कमांड लाइन) का उपयोग करके डेल्फी 7 में डब्लूएसडीएल आयात करने की कोशिश कर रहा हूं।डब्लूएफडीएल में डब्लूएसडीएल आयात करते समय अतिप्रवाह त्रुटि 7
WSDLImporter का उपयोग करते समय, डेल्फी का मेमोरी उपयोग केवल तब तक बढ़ने लगता है जब तक यह क्रैश न हो (कोई त्रुटि नहीं) या मुझे एक स्टैक ओवरफ़्लो त्रुटि मिलती है।
जब मैं पाने के कमांड लाइन टूल निम्नलिखित
Borland WSDLIMP Version 2.2 - $Rev: 10138 $
Copyright (c) 2007 Borland Software Corporation
Reading: https://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
Import : https://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl:0
*Error*: http://api.demo.ezidebit.com.au/v3-3/nonpci?xsd=xsd0
*Error*: http://api.demo.ezidebit.com.au/v3-3/nonpci?xsd=xsd1
*Error*: http://api.demo.ezidebit.com.au/v3-3/nonpci?xsd=xsd2
Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl=wsdl0
Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl=wsdl0
Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
पिछले 2 लाइनों के माध्यम से यह तो लूप बार बार इस्तेमाल करते हैं। जाहिर है यह एक त्रुटि दिखाता है लेकिन उस त्रुटि पर शायद कोई और विवरण नहीं है।
मैंने माइक्रोसॉफ्ट विजुअल स्टूडियो में एक सी # प्रोजेक्ट बनाया है और इसे बिना किसी समस्या के वेब संदर्भ के रूप में जोड़ा है, लेकिन मुझे विरासत कोड के कारण डेल्फी 7 में भी इसकी आवश्यकता है।
डबल्यूएसडीएल के लिए पता
https://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
मैं भी किसी भी त्रुटि के बिना इस soapUI का उपयोग कर लोड करने का प्रयास किया है।
संपादित मैं परीक्षण (एक संभव समाधान के रूप में एक और सवाल में उल्लेख किया है) डेल्फी XE2 के संस्करण डाउनलोड किया है और यह मेरे दिया है मेरे पीए फ़ाइल के शीर्ष पर निम्न। (यदि आवश्यक हो तो मैं पूरा कोड अपलोड कर सकता हूं)
मुझे लगता है कि WSDL फ़ाइल में कोई समस्या है जो डेल्फी पसंद नहीं करता है। डब्लूएसडीएल डेवलपर से बदलने के लिए मैं क्या कह सकता हूं इस पर कोई संकेत है कि यह आयात करेगा?
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : https://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
// >Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl=wsdl0
// >Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl
// >Import : https://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl>0
// >Import : http://api.demo.ezidebit.com.au/v3-3/nonpci?wsdl>0
// Encoding : utf-8
// Version : 1.0
// (9/02/2012 2:32:14 PM - - $Rev: 37707 $)
// ************************************************************************ //
unit nonpci;
interface
uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;
type
// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Embarcadero types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:CreateScheduleResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:CreateSchedule - "https://px.ezidebit.com.au/"[Lit][]
// !:ClearScheduleResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:ClearSchedule - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeScheduledAmountResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPayments - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentDetailPlusNextPaymentInfoResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeScheduledAmount - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentsResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeScheduledDate - "https://px.ezidebit.com.au/"[Lit][]
// !:IsSystemLockedResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:IsSystemLocked - "https://px.ezidebit.com.au/"[Lit][]
// !:PaymentExchangeVersionResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:PaymentExchangeVersion - "https://px.ezidebit.com.au/"[Lit][]
// !:IsBsbValidResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:TestFunction - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeScheduledDateResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:IsBsbValid - "https://px.ezidebit.com.au/"[Lit][]
// !:TestFunctionResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetCustomerDetails - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeCustomerStatusResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:AddPayment - "https://px.ezidebit.com.au/"[Lit][]
// !:GetCustomerDetailsResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:ChangeCustomerStatus - "https://px.ezidebit.com.au/"[Lit][]
// !:AddCustomerResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:AddCustomer - "https://px.ezidebit.com.au/"[Lit][]
// !:EditCustomerDetailsResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:EditCustomerDetails - "https://px.ezidebit.com.au/"[Lit][]
// !:AddPaymentResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentDetail - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentStatusResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentDetailPlusNextPaymentInfo - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentDetailResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetPaymentStatus - "https://px.ezidebit.com.au/"[Lit][]
// !:DeletePaymentResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:DeletePayment - "https://px.ezidebit.com.au/"[Lit][]
// !:GetScheduledPaymentsResponse - "https://px.ezidebit.com.au/"[Lit][]
// !:GetScheduledPayments - "https://px.ezidebit.com.au/"[Lit][]
आप, डेल्फी 7 के बारे में बात कर रहे हैं लेकिन लोग इन यह कहते हैं, "कॉपीराइट (c) 2007", अगर मैं सही ढंग से याद है, डेल्फी 7 होगा में "कॉपीराइट (c) 2002", नोट: 2007! = 2002, क्या यह संभव है कि आपके खोज पथ में डेल्फी 2006/7 है और डेल्फी 7 नहीं है? "सी: \ प्रोग्राम को कॉल करने का प्रयास करें फ़ाइलें \ Borland \ Delphi7 \ bin \ WSDLImp.exe "यह सुनिश्चित करने के लिए कि आप सही WSDLImp – ComputerSaysNo
@DorinDuminica को कॉल कर रहे हैं, ओपी इस अद्यतन आयातक का उपयोग कर रहा है http://cc.embarcadero.com/Item/24535 – RRUZ
ouch , मेरा बुरा, लेकिन शायद उसे मूल की कोशिश करनी चाहिए, यह एक शॉट के लायक है ... – ComputerSaysNo