Hi Everybody!
I developed a Web service with IBM RAD v 6.0.1.
After creating the WSDL file i have tried to develop a .Net client.
But by using wsdl.exe (1.1.4322) to create a .net c# proxy i get the
following error message:
Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
is not available to be referenced in this schema.
Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
is not available to be referenced in this schema.
Do someone know a remedy?
A attached also the wsdl file:
I appreciate any help!!
DotDidIt
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://session.ejbs.cac.commerce.com"
xmlns:impl="http://session.ejbs.cac.commerce.com"
xmlns:intf="http://session.ejbs.cac.commerce.com"
xmlns:tns2="http://mapping.utility.cac.commerce.com"
xmlns:tns3="http://xml.apache.org/xml-soap"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://session.ejbs.cac.commerce.com"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://session.ejbs.cac.commerce.com"
xmlns:intf="http://session.ejbs.cac.commerce.com"
xmlns:tns2="http://mapping.utility.cac.commerce.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://mapping.utility.cac.commerce.com" />
<element name="triggerTDCOutputByMsnResponse">
<complexType>
<sequence />
</complexType>
</element>
<element name="getTDCOutputByMsn">
<complexType>
<sequence>
<element name="msisdn" type="xsd:long" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputByMsnResponse">
<complexType>
<sequence>
<element name="getTDCOutputByMsnReturn" nillable="true"
type="tns2:TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="triggerTDCOutputByPlate">
<complexType>
<sequence>
<element name="licencePlate" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="triggerTDCOutputByPlateResponse">
<complexType>
<sequence />
</complexType>
</element>
<element name="getTDCOutputByVin">
<complexType>
<sequence>
<element name="vin" nillable="true" type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputByVinResponse">
<complexType>
<sequence>
<element name="getTDCOutputByVinReturn" nillable="true"
type="tns2:TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByVin">
<complexType>
<sequence>
<element name="vin" nillable="true" type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByVinResponse">
<complexType>
<sequence>
<element name="getTDCOutputHistoryByVinReturn"
nillable="true" type="impl:ArrayOf_tns2_nillable_TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="triggerTDCOutputByVin">
<complexType>
<sequence>
<element name="vin" nillable="true" type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="triggerTDCOutputByVinResponse">
<complexType>
<sequence />
</complexType>
</element>
<element name="getTDCOutputByPlate">
<complexType>
<sequence>
<element name="licencePlate" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputByPlateResponse">
<complexType>
<sequence>
<element name="getTDCOutputByPlateReturn" nillable="true"
type="tns2:TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByPlate">
<complexType>
<sequence>
<element name="licencePlate" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByPlateResponse">
<complexType>
<sequence>
<element name="getTDCOutputHistoryByPlateReturn"
nillable="true" type="impl:ArrayOf_tns2_nillable_TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByMsn">
<complexType>
<sequence>
<element name="msisdn" type="xsd:long" />
</sequence>
</complexType>
</element>
<element name="getTDCOutputHistoryByMsnResponse">
<complexType>
<sequence>
<element name="getTDCOutputHistoryByMsnReturn"
nillable="true" type="impl:ArrayOf_tns2_nillable_TDCOutputTO" />
</sequence>
</complexType>
</element>
<element name="triggerTDCOutputByMsn">
<complexType>
<sequence>
<element name="msisdn" type="xsd:long" />
</sequence>
</complexType>
</element>
<complexType name="ArrayOf_tns2_nillable_TriTO">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="TriTO"
nillable="true" type="tns2:TriTO" />
</sequence>
</complexType>
<complexType name="ArrayOf_tns2_nillable_MbcTO">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="MbcTO"
nillable="true" type="tns2:MbcTO" />
</sequence>
</complexType>
<complexType name="ArrayOf_tns2_nillable_TDCOutputTO">
<sequence>
<element maxOccurs="unbounded" minOccurs="0"
name="TDCOutputTO" nillable="true" type="tns2:TDCOutputTO" />
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://mapping.utility.cac.commerce.com"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://session.ejbs.cac.commerce.com"
xmlns:intf="http://session.ejbs.cac.commerce.com"
xmlns:tns3="http://xml.apache.org/xml-soap"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap" />
<complexType name="TDCOutputTO">
<sequence>
<element name="date" nillable="true" type="xsd:dateTime" />
<element name="mileage" type="xsd:long" />
<element name="batteryStatus" type="xsd:float" />
<element name="vecTO" nillable="true" type="tns2:VecTO" />
</sequence>
</complexType>
<complexType name="VecTO">
<sequence>
<element name="br" type="xsd:short" />
<element name="calendarYear" type="xsd:short" />
<element name="mbc" nillable="true"
type="impl:ArrayOf_tns2_nillable_MbcTO" />
<element name="engineID" type="xsd:short" />
<element name="licencePlate" nillable="true"
type="xsd:string" />
<element name="productionDate" nillable="true"
type="xsd:dateTime" />
<element name="btc" nillable="true" type="tns2:BtcTO" />
<element name="vin" nillable="true" type="xsd:string" />
</sequence>
</complexType>
<complexType name="MbcTO">
<sequence>
<element name="diagnosisVersion" nillable="true"
type="xsd:string" />
<element name="tri" nillable="true"
type="impl:ArrayOf_tns2_nillable_TriTO" />
<element name="mbcDescription" nillable="true"
type="xsd:string" />
<element name="mbcId" nillable="true" type="xsd:string" />
<element name="hwVersion" type="xsd:int" />
<element name="insertDate" nillable="true"
type="xsd:dateTime" />
<element name="manufacturer" nillable="true"
type="xsd:string" />
<element name="partNumber" nillable="true" type="xsd:string"
/>
<element name="pin" type="xsd:int" />
<element name="serialNumber" nillable="true"
type="xsd:string" />
<element name="swVersion" type="xsd:int" />
<element name="canType" type="tns3:char" />
</sequence>
</complexType>
<complexType name="TriTO">
<sequence>
<element name="triDesc" nillable="true" type="xsd:string" />
<element name="triID" nillable="true" type="xsd:string" />
<element name="frame" nillable="true" type="tns2:FrameTO" />
<element name="statusDesc" nillable="true" type="xsd:string"
/>
<element name="statusComplete" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="FrameTO">
<sequence>
<element name="airTemp" type="xsd:short" />
<element name="coolantTemp" type="xsd:short" />
<element name="frame" type="xsd:long" />
<element name="fuelPressure" type="xsd:byte" />
<element name="fuelSystem" type="xsd:byte" />
<element name="gear" type="tns3:char" />
<element name="oilLevel" type="xsd:byte" />
<element name="rpm" type="xsd:int" />
<element name="vecSpeed" type="xsd:short" />
<element name="voltage" type="xsd:float" />
</sequence>
</complexType>
<complexType name="BtcTO">
<sequence>
<element name="imei" type="xsd:long" />
<element name="insertDate" nillable="true"
type="xsd:dateTime" />
<element name="msisdn" type="xsd:long" />
<element name="plattform" nillable="true" type="xsd:string"
/>
<element name="sim" type="xsd:long" />
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://xml.apache.org/xml-soap"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://session.ejbs.cac.commerce.com"
xmlns:intf="http://session.ejbs.cac.commerce.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<simpleType name="char">
<restriction base="xsd:string">
<length value="1" />
</restriction>
</simpleType>
</schema>
</wsdl:types>
<wsdl:message name="getTDCOutputByVinResponse">
<wsdl:part element="impl:getTDCOutputByVinResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByMsnRequest">
<wsdl:part element="impl:getTDCOutputHistoryByMsn"
name="parameters" />
</wsdl:message>
<wsdl:message name="triggerTDCOutputByPlateRequest">
<wsdl:part element="impl:triggerTDCOutputByPlate" name="parameters"
/>
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByVinResponse">
<wsdl:part element="impl:getTDCOutputHistoryByVinResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByPlateResponse">
<wsdl:part element="impl:getTDCOutputHistoryByPlateResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="triggerTDCOutputByVinResponse">
<wsdl:part element="impl:triggerTDCOutputByVinResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="triggerTDCOutputByVinRequest">
<wsdl:part element="impl:triggerTDCOutputByVin" name="parameters"
/>
</wsdl:message>
<wsdl:message name="triggerTDCOutputByPlateResponse">
<wsdl:part element="impl:triggerTDCOutputByPlateResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputByVinRequest">
<wsdl:part element="impl:getTDCOutputByVin" name="parameters" />
</wsdl:message>
<wsdl:message name="triggerTDCOutputByMsnResponse">
<wsdl:part element="impl:triggerTDCOutputByMsnResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByMsnResponse">
<wsdl:part element="impl:getTDCOutputHistoryByMsnResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByPlateRequest">
<wsdl:part element="impl:getTDCOutputHistoryByPlate"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputByPlateRequest">
<wsdl:part element="impl:getTDCOutputByPlate" name="parameters" />
</wsdl:message>
<wsdl:message name="triggerTDCOutputByMsnRequest">
<wsdl:part element="impl:triggerTDCOutputByMsn" name="parameters"
/>
</wsdl:message>
<wsdl:message name="getTDCOutputByPlateResponse">
<wsdl:part element="impl:getTDCOutputByPlateResponse"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputHistoryByVinRequest">
<wsdl:part element="impl:getTDCOutputHistoryByVin"
name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputByMsnRequest">
<wsdl:part element="impl:getTDCOutputByMsn" name="parameters" />
</wsdl:message>
<wsdl:message name="getTDCOutputByMsnResponse">
<wsdl:part element="impl:getTDCOutputByMsnResponse"
name="parameters" />
</wsdl:message>
<wsdl:portType name="CacService">
<wsdl:operation name="triggerTDCOutputByMsn">
<wsdl:input message="impl:triggerTDCOutputByMsnRequest"
name="triggerTDCOutputByMsnRequest" />
<wsdl:output message="impl:triggerTDCOutputByMsnResponse"
name="triggerTDCOutputByMsnResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputByMsn">
<wsdl:input message="impl:getTDCOutputByMsnRequest"
name="getTDCOutputByMsnRequest" />
<wsdl:output message="impl:getTDCOutputByMsnResponse"
name="getTDCOutputByMsnResponse" />
</wsdl:operation>
<wsdl:operation name="triggerTDCOutputByPlate">
<wsdl:input message="impl:triggerTDCOutputByPlateRequest"
name="triggerTDCOutputByPlateRequest" />
<wsdl:output message="impl:triggerTDCOutputByPlateResponse"
name="triggerTDCOutputByPlateResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputByVin">
<wsdl:input message="impl:getTDCOutputByVinRequest"
name="getTDCOutputByVinRequest" />
<wsdl:output message="impl:getTDCOutputByVinResponse"
name="getTDCOutputByVinResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByVin">
<wsdl:input message="impl:getTDCOutputHistoryByVinRequest"
name="getTDCOutputHistoryByVinRequest" />
<wsdl:output message="impl:getTDCOutputHistoryByVinResponse"
name="getTDCOutputHistoryByVinResponse" />
</wsdl:operation>
<wsdl:operation name="triggerTDCOutputByVin">
<wsdl:input message="impl:triggerTDCOutputByVinRequest"
name="triggerTDCOutputByVinRequest" />
<wsdl:output message="impl:triggerTDCOutputByVinResponse"
name="triggerTDCOutputByVinResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputByPlate">
<wsdl:input message="impl:getTDCOutputByPlateRequest"
name="getTDCOutputByPlateRequest" />
<wsdl:output message="impl:getTDCOutputByPlateResponse"
name="getTDCOutputByPlateResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByPlate">
<wsdl:input message="impl:getTDCOutputHistoryByPlateRequest"
name="getTDCOutputHistoryByPlateRequest" />
<wsdl:output message="impl:getTDCOutputHistoryByPlateResponse"
name="getTDCOutputHistoryByPlateResponse" />
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByMsn">
<wsdl:input message="impl:getTDCOutputHistoryByMsnRequest"
name="getTDCOutputHistoryByMsnRequest" />
<wsdl:output message="impl:getTDCOutputHistoryByMsnResponse"
name="getTDCOutputHistoryByMsnResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CacServiceSoapBinding" type="impl:CacService">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="triggerTDCOutputByMsn">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="triggerTDCOutputByMsnRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="triggerTDCOutputByMsnResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputByMsn">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputByMsnRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputByMsnResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="triggerTDCOutputByPlate">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="triggerTDCOutputByPlateRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="triggerTDCOutputByPlateResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputByVin">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputByVinRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputByVinResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByVin">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputHistoryByVinRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputHistoryByVinResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="triggerTDCOutputByVin">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="triggerTDCOutputByVinRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="triggerTDCOutputByVinResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputByPlate">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputByPlateRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputByPlateResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByPlate">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputHistoryByPlateRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputHistoryByPlateResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getTDCOutputHistoryByMsn">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getTDCOutputHistoryByMsnRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTDCOutputHistoryByMsnResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CacServiceService">
<wsdl:port binding="impl:CacServiceSoapBinding" name="CacService">
<wsdlsoap:address
location="http://localhost:9081/routerProject/services/CacService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>