4 Replies Latest reply: Jun 14, 2012 10:03 AM by AbhishekJ RSS

    WSDL is not working in Jdeveloper

    941213
      Hi ,

      I got a WSDL from Informatica team .It's working in soap UI but not wokring in Jdev 11.1.1.5.

      Please help it's urgent.


      WSDL--------------------------

      <?xml version="1.0" encoding="utf-8"?>
      <wsdl:definitions

      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
      xmlns:n="http://www.informatica.com/wsdl/"
      xmlns:infa="http://www.informatica.com/"
      targetNamespace="http://www.informatica.com/"
      xmlns="http://schemas.xmlsoap.org/wsdl/">

      <wsdl:types>
      <xsd:schema targetNamespace="http://www.informatica.com/wsdl/" xmlns="http://www.informatica.com/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:infatype="http://www.informatica.com/types/" elementFormDefault="qualified" attributeFormDefault="unqualified">
      <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/http/"/>
      <xsd:element name="INFORM_WEBSERVICE_1Request" type="INFORM_WEBSERVICE_1RequestType"/>

      <xsd:element name="INFORM_WEBSERVICE_1Response" type="INFORM_WEBSERVICE_1ResponseType"/>

      <xsd:complexType name="INFORM_WEBSERVICE_1RequestType">
      <xsd:sequence>
      <xsd:element name="INFORM_WEBSERVICE_1RequestElement">
      <xsd:complexType>
      <xsd:sequence>
      <xsd:element name="ProjectNumber" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      <xsd:element name="ProjectName" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      <xsd:element name="ProjectGUID" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>

      <xsd:complexType name="INFORM_WEBSERVICE_1ResponseType">
      <xsd:sequence>
      <xsd:element name="INFORM_WEBSERVICE_1ResponseElement">
      <xsd:complexType>
      <xsd:sequence>
      <xsd:element name="ProjectNumber" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      <xsd:element name="ProjectName" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      <xsd:element name="ProjectGUID" minOccurs="0" maxOccurs="1">
      <xsd:simpleType>
      <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>

      </xsd:schema>

      </wsdl:types>

      <wsdl:message name="INFORM_WEBSERVICE_1In">
      <wsdl:part name="parameters" element="n:INFORM_WEBSERVICE_1Request" />
      </wsdl:message>
      <wsdl:message name="INFORM_WEBSERVICE_1Out">
      <wsdl:part name="parameters" element="n:INFORM_WEBSERVICE_1Response" />
      </wsdl:message>

      <wsdl:portType name="INFORM_WEBSERVICE_1Port">
      <wsdl:operation name="INFORM_WEBSERVICE_1Operation">
      <wsdl:input message="infa:INFORM_WEBSERVICE_1In"/>
      <wsdl:output message="infa:INFORM_WEBSERVICE_1Out"/>
      </wsdl:operation>
      </wsdl:portType>

      <wsdl:binding name="INFORM_WEBSERVICE_1Binding" type="infa:INFORM_WEBSERVICE_1Port">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
      <wsdl:operation name="INFORM_WEBSERVICE_1Operation">
      <soap:operation soapAction="" style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>

      <wsdl:service name="INFORM_WEBSERVICE_1">
      <wsdl:port name="INFORM_WEBSERVICE_1Port" binding="infa:INFORM_WEBSERVICE_1Binding">
      <soap:address location="http://griddev.oneabbott.com:7335/wsh/services/RealTime/INFORM_WEBSERVICE_1" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
        • 1. Re: WSDL is not working in Jdeveloper
          vladodias
          938210 wrote:
          not wokring in Jdev 11.1.1.5.
          What is the problem? Do you see an error message?
          • 2. Re: WSDL is not working in Jdeveloper
            919373
            Looks like binding part has some syntax issues.

            Replace binding part with the below content and compile.

            <wsdl:binding name="INFORM_WEBSERVICE_1Binding"
            type="infa:INFORM_WEBSERVICE_1Port">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
            <wsdl:operation name="INFORM_WEBSERVICE_1Operation">
            <wsdl:input>
            <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
            <soap:body use="literal"/>
            </wsdl:output>
            </wsdl:operation>
            </wsdl:binding>


            Regards,
            Padmanabham
            • 3. Re: WSDL is not working in Jdeveloper
              veejai24
              In your wsdl file the following are missing.

              soap:operation soapAction="" style=""/ and
              soap:binding transport="http://schemas.xmlsoap.org/soap/http"
              style=""
              In any wsdl file, style should be like style=document or style=rpc.

              Hope this helps.

              Valid WSDL is pasted below.

              <?xml version="1.0" encoding="utf-8"?>
              <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
              xmlns:n="http://www.informatica.com/wsdl/"
              xmlns:infa="http://www.informatica.com/"
              targetNamespace="http://www.informatica.com/"
              xmlns="http://schemas.xmlsoap.org/wsdl/">
              <wsdl:types>
              <xsd:schema targetNamespace="http://www.informatica.com/wsdl/"
              xmlns="http://www.informatica.com/wsdl/"
              xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:infatype="http://www.informatica.com/types/"
              elementFormDefault="qualified"
              attributeFormDefault="unqualified">
              <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/http/"/>
              <xsd:element name="INFORM_WEBSERVICE_1Request"
              type="INFORM_WEBSERVICE_1RequestType"/>
              <xsd:element name="INFORM_WEBSERVICE_1Response"
              type="INFORM_WEBSERVICE_1ResponseType"/>
              <xsd:complexType name="INFORM_WEBSERVICE_1RequestType">
              <xsd:sequence>
              <xsd:element name="INFORM_WEBSERVICE_1RequestElement">
              <xsd:complexType>
              <xsd:sequence>
              <xsd:element name="ProjectNumber" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              <xsd:element name="ProjectName" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              <xsd:element name="ProjectGUID" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              </xsd:sequence>
              </xsd:complexType>
              </xsd:element>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="INFORM_WEBSERVICE_1ResponseType">
              <xsd:sequence>
              <xsd:element name="INFORM_WEBSERVICE_1ResponseElement">
              <xsd:complexType>
              <xsd:sequence>
              <xsd:element name="ProjectNumber" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              <xsd:element name="ProjectName" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              <xsd:element name="ProjectGUID" minOccurs="0" maxOccurs="1">
              <xsd:simpleType>
              <xsd:restriction base="xsd:string">
              <xsd:maxLength value="40"/>
              </xsd:restriction>
              </xsd:simpleType>
              </xsd:element>
              </xsd:sequence>
              </xsd:complexType>
              </xsd:element>
              </xsd:sequence>
              </xsd:complexType>
              </xsd:schema>
              </wsdl:types>
              <wsdl:message name="INFORM_WEBSERVICE_1In">
              <wsdl:part name="parameters" element="n:INFORM_WEBSERVICE_1Request"/>
              </wsdl:message>
              <wsdl:message name="INFORM_WEBSERVICE_1Out">
              <wsdl:part name="parameters" element="n:INFORM_WEBSERVICE_1Response"/>
              </wsdl:message>
              <wsdl:portType name="INFORM_WEBSERVICE_1Port">
              <wsdl:operation name="INFORM_WEBSERVICE_1Operation">
              <wsdl:input message="infa:INFORM_WEBSERVICE_1In"/>
              <wsdl:output message="infa:INFORM_WEBSERVICE_1Out"/>
              </wsdl:operation>
              </wsdl:portType>
              <wsdl:binding name="INFORM_WEBSERVICE_1Binding"
              type="infa:INFORM_WEBSERVICE_1Port">
              <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
              style="document"/>
              <wsdl:operation name="INFORM_WEBSERVICE_1Operation">
              <soap:operation soapAction="http://griddev.oneabbott.com:7335/wsh/services/RealTime/INFORM_WEBSERVICE_1" style="document"/>
              <wsdl:input>
              <soap:body use="literal"/>
              </wsdl:input>
              <wsdl:output>
              <soap:body use="literal"/>
              </wsdl:output>
              </wsdl:operation>
              </wsdl:binding>
              <wsdl:service name="INFORM_WEBSERVICE_1">
              <wsdl:port name="INFORM_WEBSERVICE_1Port"
              binding="infa:INFORM_WEBSERVICE_1Binding">
              <soap:address location="http://griddev.oneabbott.com:7335/wsh/services/RealTime/INFORM_WEBSERVICE_1"/>
              </wsdl:port>
              </wsdl:service>
              </wsdl:definitions>






              Thanks,
              Vijay

              Edited by: veejai24 on 14-Jun-2012 04:14
              • 4. Re: WSDL is not working in Jdeveloper
                AbhishekJ
                Actually the formatting in this forum removed "document" and replaces it with "". The VALID WSDL you posted also has style="" ;)
                I do not see any problem with the WSDL (apart from missing style attribute which is because of formatting rules in this forum)