Hi,
I have a webservice made in Java which i want to consume in .NET i have made the WSDL and when i try to complile it with the CS compiler i am getting this error:
Error: Unable to import binding 'HierarchySynchronizerSoap
Binding' from namespace '
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Work
flow.woa/1
/ws/Hierar
chySynchro
nizer'.
- Unable to import operation 'requestBatch'.
- Specified cast is not valid.
------------------WSDL----
----------
----------
----
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="
http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="
http://xml.apache.org/xml-soap" xmlns:impl="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer"
xmlns:intf="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer"
xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="
http://synchronization.compliance.lincolnfinancialadvisors.com" 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://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer">
<wsdl:types>
<schema targetNamespace="
http://synchronization.compliance.lincolnfinancialadvisors.com" xmlns="
http://www.w3.org/2001/XMLSchema">
<import namespace="
http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="HierarchyBatch">
<sequence>
<element name="locations" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="positions" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="offices" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="timestamp" nillable="true" type="xsd:dateTime"/>
<element name="entities" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="employees" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="dsus" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="registeredInvestment
Advisors" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="mailCodes" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="units" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="lifeCompanies" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="brokerDealers" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
<element name="states" nillable="true" type="impl:ArrayOf_tns2_an
yType"/>
</sequence>
</complexType>
<element name="HierarchyBatch" nillable="true" type="tns1:HierarchyBatch"
/>
</schema>
<schema targetNamespace="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer" xmlns="
http://www.w3.org/2001/XMLSchema">
<import namespace="
http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ArrayOf_tns2_anyType
">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyTyp
e[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="requestBatchRequest"
>
<wsdl:part name="timestamp" type="xsd:dateTime"/>
</wsdl:message>
<wsdl:message name="requestBatchResponse
">
<wsdl:part name="requestBatchReturn" element="tns1:HierarchyBat
ch"/>
</wsdl:message>
<wsdl:portType name="HierarchySynchronize
r">
<wsdl:operation name="requestBatch" parameterOrder="timestamp"
>
<wsdl:input name="requestBatchRequest"
message="impl:requestBatch
Request"/>
<wsdl:output name="requestBatchResponse
" message="impl:requestBatch
Response"/
>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HierarchySynchronize
rSoapBindi
ng" type="impl:HierarchySynchr
onizer">
<wsdlsoap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="requestBatch">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="literal" namespace="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer"/
>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal" namespace="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer"/
>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HierarchySynchronize
r">
<wsdl:port name="HierarchySynchronize
r" binding="impl:HierarchySyn
chronizerS
oapBinding
">
<wsdlsoap:address location="
http://workflow.lincolnfinancialadvisors.com/cgi-bin/WebObjects/Workflow.woa/1/ws/HierarchySynchronizer"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--------------------------
----------
----------
-------
Any ideas what i'm missing out!
Thanks
Zulu