cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to map imported wsdl file from external definition getting error java lang nullpointer exception

former_member441596
Participant
0 Kudos

Hi ,

Please help to me..

My WSDL file is below...

<?xml version="1.0" encoding="UTF-8"?>

<WL5G3N0:definitions name="CDHInboundQueryService" targetNamespace="http://xmlns.oracle.com/CDHInboundQueryService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:WL5G3N2="http://xmlns.oracle.com/CDHInboundQueryService" xmlns:WL5G3N3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:WL5G3N4="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:WL5G3N5="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">

  <WL5G3N0:import location="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..." namespace="http://schemas.oracle.com/bpel/extension"/>

  <WL5G3N0:import location="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..." namespace="http://xmlns.netapp.com/service/fault/businessfault"/>

  <WL5G3N1:partnerLinkType name="CDHInboundQueryService">

    <WL5G3N1:role name="CDHInboundQueryServiceProvider">

      <WL5G3N1:portType name="WL5G3N2:CDHInboundQueryService"/>

    </WL5G3N1:role>

  </WL5G3N1:partnerLinkType>

  <wsp:UsingPolicy WL5G3N0:Required="true"/>

  <wsp:Policy WL5G3N3:Id="wsaddr_policy">

    <wsaw:UsingAddressing xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>

  </wsp:Policy>

  <WL5G3N0:types>

    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:WL5G3N3="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:WL5G3N4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:WL5G3N5="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:WL5G3N6="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/CDHInboundQueryService" xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

      <import namespace="http://xmlns.oracle.com/CDHInboundQueryService" schemaLocation="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..."/>

    </schema>

    <xsd:schema xmlns:WL5G3N3="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:WL5G3N4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:WL5G3N5="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:WL5G3N6="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/CDHInboundQueryService" xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

      <xsd:import namespace="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" schemaLocation="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..."/>

    </xsd:schema>

    <xsd:schema xmlns:WL5G3N3="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:WL5G3N4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:WL5G3N5="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:WL5G3N6="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/CDHInboundQueryService" xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

      <xsd:import namespace="xmlns.netapp.com/FaultSchema.xsd" schemaLocation="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..."/>

    </xsd:schema>

  </WL5G3N0:types>

  <WL5G3N0:message name="CDHInboundQueryServiceRequestMessage">

    <WL5G3N0:part element="WL5G3N2:CDHInboundQueryServiceProcessRequest" name="payload"/>

  </WL5G3N0:message>

  <WL5G3N0:message name="CDHInboundQueryServiceResponseMessage">

    <WL5G3N0:part element="WL5G3N4:SyncCustomerPartyListResponseEBM" name="payload"/>

  </WL5G3N0:message>

  <WL5G3N0:portType name="CDHInboundQueryService">

    <WL5G3N0:operation name="process">

      <WL5G3N0:input message="WL5G3N2:CDHInboundQueryServiceRequestMessage"/>

      <WL5G3N0:output message="WL5G3N2:CDHInboundQueryServiceResponseMessage"/>

    </WL5G3N0:operation>

  </WL5G3N0:portType>

  <WL5G3N0:binding name="CDHInboundQueryServiceBinding" type="WL5G3N2:CDHInboundQueryService">

    <wsp:Policy>

      <wsp:PolicyReference URI="#wsaddr_policy"/>

    </wsp:Policy>

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

    <WL5G3N0:operation name="process">

      <WL5G3N5:operation soapAction="process" style="document"/>

      <WL5G3N0:input>

        <WL5G3N5:body use="literal"/>

      </WL5G3N0:input>

      <WL5G3N0:output>

        <WL5G3N5:body use="literal"/>

      </WL5G3N0:output>

    </WL5G3N0:operation>

  </WL5G3N0:binding>

  <WL5G3N0:service name="CDHInboundQueryServiceBindingQSService">

    <WL5G3N0:port binding="WL5G3N2:CDHInboundQueryServiceBinding" name="CDHInboundQueryServiceBindingQSPort">

      <WL5G3N5:address location="http://soadev1.corp.netapp.com:9009/CMAT_CDHInboundQueryService/ProxyService/CDHInboundQueryServiceP..."/>

    </WL5G3N0:port>

  </WL5G3N0:service>

</WL5G3N0:definitions>

Thanks,

Naidu

Accepted Solutions (0)

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi Naidu,

Your WSDL contains External Ref but missing the entries...pls open the wsdl file in ESR and ckh the External References tab...

You need  XSD Files for these entries and must be imported into PI.


Reference:


Regards,

Azhar