Groups > Borland > Delphi web services WSDL > Re: another wsdl importer problem




another wsdl importer problem

another wsdl importer problem
Wed, 21 Nov 2007 10:38:19 +010
Hi,
i am using delphi 7 pro for importing wsdl files, the problem is that delphi
does not import xsd schemas used by the wsdl, i am always getting this after
import:
// WSDL     :
D:\Programiranje\Neno\Parley\Parlay_X_Web_Services_Specification_V1_0_1r2\Parlay
X_v101_rpclit\parlayx_sms_send_interface.wsdl
//  >Import : parlayx_sms_faults.wsdl
//  >Import : parlayx_common_faults.wsdl
and
  //
************************************************************************ //
  // 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 Borland types; however, they
could also
  // indicate incorrect WSDL documents that failed to declare or import a
schema type.
  //
************************************************************************ //
  // !:ArrayOfEndUserIdentifier - 
"http://www.csapi.org/schema/parlayx/common/v1_0"
  // !:string          - "http://www.w3.org/2001/XMLSchema"
  // !:SmsFormat       -
"http://www.csapi.org/schema/parlayx/sms/v1_0"
  // !:ArrayOfDeliveryStatusType - 
"http://www.csapi.org/schema/parlayx/sms/v1_0"

so I can not compile the project.
This types are located in xsd schemas located in the same folder as wsdl,
but it still can not find them.
I have updated the wsdl importer application from codegrear website.
Is there something that I have overlooked?

Thanks

Davor
ps:
here is the wsdl file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- June 22, 2004 -->
<wsdl:definitions
   name="parlayx_sms_send_interface"
  
targetNamespace="http://www.csapi.org/wsdl/parlayx/sms/send/v1_0/interface&
quot;
   xmlns="http://schemas.xmlsoap.org/wsdl/"
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  
xmlns:parlayx_sms_send="http://www.csapi.org/wsdl/parlayx/sms/send/v1_0/int
erface"
  
xmlns:parlayx_sms_faults="http://www.csapi.org/wsdl/parlayx/sms/v1_0/faults
"
  
xmlns:parlayx_common_faults="http://www.csapi.org/wsdl/parlayx/common/v1_0/
faults"
  
xmlns:parlayx_sms_xsd="http://www.csapi.org/schema/parlayx/sms/v1_0"
  
xmlns:parlayx_common_xsd="http://www.csapi.org/schema/parlayx/common/v1_0&q
uot;>

   <wsdl:import 
namespace="http://www.csapi.org/wsdl/parlayx/sms/v1_0/faults" 
location="parlayx_sms_faults.wsdl"/>
   <wsdl:import 
namespace="http://www.csapi.org/wsdl/parlayx/common/v1_0/faults" 
location="parlayx_common_faults.wsdl"/>
   <xsd:import
namespace="http://www.csapi.org/schema/parlayx/sms/v1_0" 
schemaLocation="parlayx_sms_types.xsd"/>
   <xsd:import
namespace="http://www.csapi.org/schema/parlayx/common/v1_0" 
schemaLocation="parlayx_common_types.xsd"/>

   <wsdl:types>
      <xsd:schema elementFormDefault="qualified">
         <xsd:import 
namespace="http://www.csapi.org/schema/parlayx/sms/v1_0" 
schemaLocation="parlayx_sms_types.xsd"/>
         <xsd:import 
namespace="http://www.csapi.org/schema/parlayx/common/v1_0" 
schemaLocation="parlayx_common_types.xsd"/>
      </xsd:schema>
   </wsdl:types>

   <wsdl:message name="SendSms_sendSmsRequest">
      <wsdl:part name="destAddressSet" 
type="parlayx_common_xsd:ArrayOfEndUserIdentifier"/>
      <wsdl:part name="senderName"
type="xsd:string"/>
      <wsdl:part name="charging" type="xsd:string"/>
      <wsdl:part name="message" type="xsd:string"/>
   </wsdl:message>

   <wsdl:message name="SendSms_sendSmsResponse">
      <wsdl:part name="result" type="xsd:string"/>
   </wsdl:message>

   <wsdl:message name="SendSms_sendSmsLogoRequest">
      <wsdl:part name="destAddressSet" 
type="parlayx_common_xsd:ArrayOfEndUserIdentifier"/>
      <wsdl:part name="senderName"
type="xsd:string"/>
      <wsdl:part name="charging" type="xsd:string"/>
      <wsdl:part name="image" type="xsd:string"/>
      <wsdl:part name="smsFormat"
type="parlayx_sms_xsd:SmsFormat"/>
   </wsdl:message>

   <wsdl:message name="SendSms_sendSmsLogoResponse">
      <wsdl:part name="result" type="xsd:string"/>
   </wsdl:message>

   <wsdl:message name="SendSms_sendSmsRingToneRequest">
      <wsdl:part name="destAddressSet" 
type="parlayx_common_xsd:ArrayOfEndUserIdentifier"/>
      <wsdl:part name="senderName"
type="xsd:string"/>
      <wsdl:part name="charging" type="xsd:string"/>
      <wsdl:part name="ringtone" type="xsd:string"/>
      <wsdl:part name="smsFormat"
type="parlayx_sms_xsd:SmsFormat"/>
   </wsdl:message>

   <wsdl:message name="SendSms_sendSmsRingToneResponse">
      <wsdl:part name="result" type="xsd:string"/>
   </wsdl:message>

   <wsdl:message name="SendSms_getSmsDeliveryStatusRequest">
      <wsdl:part name="requestIdentifier"
type="xsd:string"/>
   </wsdl:message>

   <wsdl:message name="SendSms_getSmsDeliveryStatusResponse">
      <wsdl:part name="result" 
type="parlayx_sms_xsd:ArrayOfDeliveryStatusType"/>
   </wsdl:message>

   <wsdl:portType name="SendSms">
      <wsdl:operation name="sendSms">
         <wsdl:input
message="parlayx_sms_send:SendSms_sendSmsRequest"/>
         <wsdl:output
message="parlayx_sms_send:SendSms_sendSmsResponse"/>
         <wsdl:fault name="UnknownEndUserException" 
message="parlayx_common_faults:UnknownEndUserException"/>
         <wsdl:fault name="InvalidArgumentException" 
message="parlayx_common_faults:InvalidArgumentException"/>
         <wsdl:fault name="ServiceException" 
message="parlayx_common_faults:ServiceException"/>
         <wsdl:fault name="MessageTooLongException" 
message="parlayx_common_faults:MessageTooLongException"/>
         <wsdl:fault name="PolicyException" 
message="parlayx_common_faults:PolicyException"/>
      </wsdl:operation>

      <wsdl:operation name="sendSmsLogo">
         <wsdl:input
message="parlayx_sms_send:SendSms_sendSmsLogoRequest"/>
         <wsdl:output 
message="parlayx_sms_send:SendSms_sendSmsLogoResponse"/>
         <wsdl:fault name="UnknownEndUserException" 
message="parlayx_common_faults:UnknownEndUserException"/>
         <wsdl:fault name="InvalidArgumentException" 
message="parlayx_common_faults:InvalidArgumentException"/>
         <wsdl:fault name="MessageTooLongException" 
message="parlayx_common_faults:MessageTooLongException"/>
         <wsdl:fault name="UnsupportedFormatException" 
message="parlayx_sms_faults:UnsupportedFormatException"/>
         <wsdl:fault name="ServiceException" 
message="parlayx_common_faults:ServiceException"/>
         <wsdl:fault name="PolicyException" 
message="parlayx_common_faults:PolicyException"/>
      </wsdl:operation>

      <wsdl:operation name="sendSmsRingTone">
         <wsdl:input 
message="parlayx_sms_send:SendSms_sendSmsRingToneRequest"/>
         <wsdl:output 
message="parlayx_sms_send:SendSms_sendSmsRingToneResponse"/>
         <wsdl:fault name="UnknownEndUserException" 
message="parlayx_common_faults:UnknownEndUserException"/>
         <wsdl:fault name="InvalidArgumentException" 
message="parlayx_common_faults:InvalidArgumentException"/>
         <wsdl:fault name="MessageTooLongException" 
message="parlayx_common_faults:MessageTooLongException"/>
         <wsdl:fault name="UnsupportedFormatException" 
message="parlayx_sms_faults:UnsupportedFormatException"/>
         <wsdl:fault name="ServiceException" 
message="parlayx_common_faults:ServiceException"/>
         <wsdl:fault name="PolicyException" 
message="parlayx_common_faults:PolicyException"/>
      </wsdl:operation>

      <wsdl:operation name="getSmsDeliveryStatus">
         <wsdl:input 
message="parlayx_sms_send:SendSms_getSmsDeliveryStatusRequest"/>
         <wsdl:output 
message="parlayx_sms_send:SendSms_getSmsDeliveryStatusResponse"/>
         <wsdl:fault name="UnknownRequestIdentifierException" 
message="parlayx_sms_faults:UnknownRequestIdentifierException"/>
         <wsdl:fault name="ServiceException" 
message="parlayx_common_faults:ServiceException"/>
      </wsdl:operation>
   </wsdl:portType>
</wsdl:definitions>



Post Reply
Re: another wsdl importer problem
Mon, 26 Nov 2007 14:02:34 -080
Hello Davor,

I suspect you've downloaded and tried the importer at the following link:

    http://cc.codegear.com/Item/24535

I cannot use the WSDL you posted as the externally referred schemas are
expected to be in the same location as the WSDL file. If there's a URL that
you can point me to, I'd be happy to investigate the import failure. Or, if
that's possible, would you mind emailing me a copy of the WSDL file and the
related schemas at bbabet @ borland dot com.

Cheers,

Bruneau.

Post Reply
about | contact