Skip to Content
avatar image
Former Member

Import WSDL from HTTPS

I try to import a WSDL with HTTPS to 'interface object' --> 'External Definitions' ,

however , there is no message name at message tab .

Please help for this RFC call https SOAP .

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:intf="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:tns1="http://ws.api.a4.tsmc.com" xmlns:tns2="http://xmlbeans.apache.org" xmlns:tns3="http://lang.java" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://ws.api.a4.tsmc.com" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
   <import namespace="http://xmlbeans.apache.org"/>
   <element name="doService">
    <complexType>
     <sequence>
      <element name="xmlMessage" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="doServiceResponse">
    <complexType>
     <sequence>
      <element name="doServiceReturn" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://xmlbeans.apache.org"/>
   <complexType name="ArrayOf_xsd_anyType">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
    </sequence>
   </complexType>
   <element name="fault" type="tns2:XmlException"/>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://lang.java"/>
   <import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
   <import namespace="http://xmlbeans.apache.org"/>
   <complexType name="Vector">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
    </sequence>
   </complexType>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://xmlbeans.apache.org" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
   <complexType name="XmlException">
    <sequence>
     <element name="cause" nillable="true" type="xsd:anyType"/>
     <element name="error" nillable="true" type="xsd:anyType"/>
     <element name="errors" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
     <element name="localizedMessage" nillable="true" type="xsd:string"/>
     <element name="message" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="doServiceRequest">

      <wsdl:part element="tns1:doService" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="doServiceResponse">

      <wsdl:part element="tns1:doServiceResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="XmlException">

      <wsdl:part element="impl:fault" name="fault"/>

   </wsdl:message>

   <wsdl:portType name="AuthenticationService">

      <wsdl:operation name="doService">

         <wsdl:input message="impl:doServiceRequest" name="doServiceRequest"/>

         <wsdl:output message="impl:doServiceResponse" name="doServiceResponse"/>

         <wsdl:fault message="impl:XmlException" name="XmlException"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="authenticationServiceSoapBinding" type="impl:AuthenticationService">

      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="doService">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="doServiceRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="doServiceResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

         <wsdl:fault name="XmlException">

            <wsdlsoap:fault name="XmlException" use="literal"/>

         </wsdl:fault>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="AuthenticationServiceService">

      <wsdl:port binding="impl:authenticationServiceSoapBinding" name="authenticationService">

         <wsdlsoap:address location="https://bouatap3:8175/a4Secure/services/authenticationService"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Feb 19, 2009 at 10:20 AM

    Just next to the Message tab, there would be a WSDL tab. Check there for errors.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 20, 2009 at 01:56 AM

    I check it , but there is no error at WSDL tab

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 20, 2009 at 06:34 AM

    Hi Jason Chen,

    As Prateek said, reduce the namespace and then Import the WSDL again, It will definetely work

    for Eg: Change Namespace as "[https://bouatap3:8175/a4Secure/services|https://bouatap3:8175/a4Secure/services]" instead "[https://bouatap3:8175/a4Secure/services/authenticationService|https://bouatap3:8175/a4Secure/services/authenticationService]"

    When you change it, then you will be able to find the respective Message Names

    XmlException

    doServiceResponse

    doServiceRequest in the Messages Tab

    Regards,

    Varun

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23, 2009 at 07:01 AM

    Thanks a lot .

    I will try it and update the status to you later .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23, 2009 at 07:07 AM

    Thanks a lot

    It works .

    Add comment
    10|10000 characters needed characters exceeded