Skip to Content
2
Former Member
Jul 18, 2007 at 07:06 PM

WSDL file - Null Pointer Exception

396 Views

Hi,

My scenario is RFC to Webservice. The customer has given a wsdl file which contains the request and the response messages. I uploaded the wsdl file as an external definition in the Integration Repository. While creating the message mapping, I am unable to load neither the Request Message nor the Response Message of the wsdl.

I get a Null Pointer Exception error saying 'Problem when creating schema source'. Has anyone encountered this kind of error.

I paste the wsdl file code here:-

-


start of code------

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

http://service.anz.ind.com/ProcessVendor" xmlns:REQ=" http://service.anz.ind.com/ProcessVendor/Request" xmlns:RESP=" http://service.anz.ind.com/ProcessVendor/Response" xmlns:apachesoap=" http://xml.apache.org/xml-soap" xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" targetNamespace=" http://service.anz.ind.com/ProcessVendor" name="ProcessVendorService">

<wsdl:types>

<xsd:schema>

http://service.anz.ind.com/ProcessVendor/Request" schemaLocation="ProcessVendorRequest.xsd"/>

http://service.anz.ind.com/ProcessVendor/Response" schemaLocation="ProcessVendorResponse.xsd"/>

</xsd:schema>

</wsdl:types>

<wsdl:message name="ProcessVendorRequest">

<wsdl:part name="requestData" element="REQ:ProcessVendorRequest"/>

</wsdl:message>

<wsdl:message name="ProcessVendorResponse">

<wsdl:part name="responseData" element="RESP:ProcessVendorResponse"/>

</wsdl:message>

<wsdl:portType name="ProcessVendorService">

<wsdl:operation name="ReqResp">

<wsdl:input name="processRequest" message="indLink:ProcessVendorRequest"/>

<wsdl:output name="processResponse" message="indLink:ProcessVendorResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="ProcessVendorServiceSoapBinding" type="indLink:ProcessVendorService">

http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="ReqResp">

<wsdlsoap:operation soapAction="process"/>

<wsdl:input>

<wsdlsoap:body use="literal"/>

</wsdl:input>

<wsdl:output>

<wsdlsoap:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="ProcessVendorService">

<wsdl:port name="ProcessVendor" binding="indLink:ProcessVendorServiceSoapBinding">

http://ls4000.test.anz.com:8000/indLinkService/services/ProcessVendor"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

-


end of code-------

Appreciate a possible solution.

Thanks.

Krishnan