cancel
Showing results for 
Search instead for 
Did you mean: 

Import WSDL from HTTPS

Former Member
0 Kudos

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>

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks a lot

It works .

Former Member
0 Kudos

Thanks a lot .

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

varun_k
Contributor
0 Kudos

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

Former Member
0 Kudos

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

prateek
Active Contributor
0 Kudos

Could you try to reduce the namespace length of

https://bouatap3:8175/a4Secure/services/authenticationService

The namespace limit is of 60 characters only.

Regards,

Prateek

prateek
Active Contributor
0 Kudos

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

Regards,

Prateek