wsdl use

E

easoft

Hi

I have a problem, I have a wsdl file, I try this import(c#) ->
error.

but this file is good in wsdl to php, and wsdl to java




<?xml version='1.0' encoding='UTF-8'?>
<!--generated by GLUE-->
<definitions name='hdi.services.gfb2004.IGfb2004'
targetNamespace='http://www.themindelectric.com/wsdl/hdi.services.gfb2004.IGfb2004/'
xmlns:tns='http://www.themindelectric.com/wsdl/hdi.services.gfb2004.IGfb2004/'
xmlns:electric='http://www.themindelectric.com/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:http='http://schemas.xmlsoap.org/wsdl/http/'
xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
<types>
<schema xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://www.themindelectric.com/package/java.lang/'
targetNamespace='http://www.themindelectric.com/package/java.lang/'>

<complexType name='ArrayOfstring'>
<complexContent>
<restriction base='soapenc:Array'>
<attribute ref='soapenc:arrayType'
wsdl:arrayType='string[]'/>
</restriction>
</complexContent>
</complexType>
</schema>
<schema xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://xml.apache.org/xml-soap'
targetNamespace='http://xml.apache.org/xml-soap'>
<complexType name='Map'>
<sequence>
<element name='item' minOccurs='0'
maxOccurs='unbounded'>
<complexType>
<sequence>
<element name='key' type='anyType'/>
<element name='value' type='anyType'/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</schema>
</types>
<message name='calculate10SoapIn'>
<part name='arg0' type='xsd:string'/>
<part name='arg1' type='xsd:string'/>
<part name='arg2' type='xsd:boolean'/>
<part name='arg3' type='xsd:string'/>
<part name='arg4' type='xsd:boolean'/>
<part name='arg5' type='xsd:string'/>
<part name='arg6' type='xsd:string'/>
<part name='arg7' type='xsd:string'/>
<part name='arg8' type='xsd:int'/>
<part name='arg9' type='xsd:int'/>
</message>
<message name='calculate10SoapOut'>
<part name='Result'
xmlns:ns1='http://xml.apache.org/xml-soap'
type='ns1:Map'/>
</message>
<message name='calculate21SoapIn'>
<part name='arg0' type='xsd:string'/>
<part name='arg1' type='xsd:string'/>
<part name='arg2' type='xsd:boolean'/>
<part name='arg3' type='xsd:string'/>
<part name='arg4' type='xsd:boolean'/>
<part name='arg5' type='xsd:string'/>
<part name='arg6' type='xsd:string'/>
<part name='arg7' type='xsd:string'/>
<part name='arg8' type='xsd:int'/>
<part name='arg9' type='xsd:int'/>
</message>
<message name='calculate21SoapOut'>
<part name='Result'
xmlns:ns1='http://xml.apache.org/xml-soap'
type='ns1:Map'/>
</message>
<message name='getTowns2SoapIn'/>
<message name='getTowns2SoapOut'>
<part name='Result'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:ArrayOfstring'/>
</message>
<message name='getCarTypes3SoapIn'/>
<message name='getCarTypes3SoapOut'>
<part name='Result'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:ArrayOfstring'/>
</message>
<portType name='hdi.services.gfb2004.IGfb2004Soap'>
<operation name='calculate1' parameterOrder='arg0 arg1 arg2
arg3 arg4 arg5 arg6 arg7 arg8 arg9'>
<input name='calculate10SoapIn'
message='tns:calculate10SoapIn'/>
<output name='calculate10SoapOut'
message='tns:calculate10SoapOut'/>
</operation>
<operation name='calculate2' parameterOrder='arg0 arg1 arg2
arg3 arg4 arg5 arg6 arg7 arg8 arg9'>
<input name='calculate21SoapIn'
message='tns:calculate21SoapIn'/>
<output name='calculate21SoapOut'
message='tns:calculate21SoapOut'/>
</operation>
<operation name='getTowns' parameterOrder=''>
<input name='getTowns2SoapIn'
message='tns:getTowns2SoapIn'/>
<output name='getTowns2SoapOut'
message='tns:getTowns2SoapOut'/>
</operation>
<operation name='getCarTypes' parameterOrder=''>
<input name='getCarTypes3SoapIn'
message='tns:getCarTypes3SoapIn'/>
<output name='getCarTypes3SoapOut'
message='tns:getCarTypes3SoapOut'/>
</operation>
</portType>
<binding name='hdi.services.gfb2004.IGfb2004Soap'
type='tns:hdi.services.gfb2004.IGfb2004Soap'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='calculate1'>
<soap:blush:peration soapAction='calculate1' style='rpc'/>

<input name='calculate10SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='calculate10SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='calculate2'>
<soap:blush:peration soapAction='calculate2' style='rpc'/>

<input name='calculate21SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='calculate21SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='getTowns'>
<soap:blush:peration soapAction='getTowns' style='rpc'/>
<input name='getTowns2SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='getTowns2SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='getCarTypes'>
<soap:blush:peration soapAction='getCarTypes' style='rpc'/>

<input name='getCarTypes3SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='getCarTypes3SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='hdi.services.gfb2004.IGfb2004'>
<port name='hdi.services.gfb2004.IGfb2004Soap'
binding='tns:hdi.services.gfb2004.IGfb2004Soap'>
<soap:address
location='https://www.ahbrt.hu/hdiservices/urn:gfb2004'/>

</port>
</service>
</definitions>


please help me

Thanks
 
N

Nick Malik

Sorry... I don't have the time to attempt your import on my system at the
moment... could you share the actual error message you are getting so I can
help you target what might be the problem?

--- Nick

easoft said:
Hi

I have a problem, I have a wsdl file, I try this import(c#) ->
error.

but this file is good in wsdl to php, and wsdl to java




<?xml version='1.0' encoding='UTF-8'?>
<!--generated by GLUE-->
<definitions name='hdi.services.gfb2004.IGfb2004'
targetNamespace='http://www.themindelectric.com/wsdl/hdi.services.gfb2004.IG
fb2004/'xmlns:tns='http://www.themindelectric.com/wsdl/hdi.services.gfb2004.IGfb2004
/'
xmlns:electric='http://www.themindelectric.com/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:http='http://schemas.xmlsoap.org/wsdl/http/'
xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
<types>
<schema xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://www.themindelectric.com/package/java.lang/'
targetNamespace='http://www.themindelectric.com/package/java.lang/'>

<complexType name='ArrayOfstring'>
<complexContent>
<restriction base='soapenc:Array'>
<attribute ref='soapenc:arrayType'
wsdl:arrayType='string[]'/>
</restriction>
</complexContent>
</complexType>
</schema>
<schema xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://xml.apache.org/xml-soap'
targetNamespace='http://xml.apache.org/xml-soap'>
<complexType name='Map'>
<sequence>
<element name='item' minOccurs='0'
maxOccurs='unbounded'>
<complexType>
<sequence>
<element name='key' type='anyType'/>
<element name='value' type='anyType'/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</schema>
</types>
<message name='calculate10SoapIn'>
<part name='arg0' type='xsd:string'/>
<part name='arg1' type='xsd:string'/>
<part name='arg2' type='xsd:boolean'/>
<part name='arg3' type='xsd:string'/>
<part name='arg4' type='xsd:boolean'/>
<part name='arg5' type='xsd:string'/>
<part name='arg6' type='xsd:string'/>
<part name='arg7' type='xsd:string'/>
<part name='arg8' type='xsd:int'/>
<part name='arg9' type='xsd:int'/>
</message>
<message name='calculate10SoapOut'>
<part name='Result'
xmlns:ns1='http://xml.apache.org/xml-soap'
type='ns1:Map'/>
</message>
<message name='calculate21SoapIn'>
<part name='arg0' type='xsd:string'/>
<part name='arg1' type='xsd:string'/>
<part name='arg2' type='xsd:boolean'/>
<part name='arg3' type='xsd:string'/>
<part name='arg4' type='xsd:boolean'/>
<part name='arg5' type='xsd:string'/>
<part name='arg6' type='xsd:string'/>
<part name='arg7' type='xsd:string'/>
<part name='arg8' type='xsd:int'/>
<part name='arg9' type='xsd:int'/>
</message>
<message name='calculate21SoapOut'>
<part name='Result'
xmlns:ns1='http://xml.apache.org/xml-soap'
type='ns1:Map'/>
</message>
<message name='getTowns2SoapIn'/>
<message name='getTowns2SoapOut'>
<part name='Result'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:ArrayOfstring'/>
</message>
<message name='getCarTypes3SoapIn'/>
<message name='getCarTypes3SoapOut'>
<part name='Result'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:ArrayOfstring'/>
</message>
<portType name='hdi.services.gfb2004.IGfb2004Soap'>
<operation name='calculate1' parameterOrder='arg0 arg1 arg2
arg3 arg4 arg5 arg6 arg7 arg8 arg9'>
<input name='calculate10SoapIn'
message='tns:calculate10SoapIn'/>
<output name='calculate10SoapOut'
message='tns:calculate10SoapOut'/>
</operation>
<operation name='calculate2' parameterOrder='arg0 arg1 arg2
arg3 arg4 arg5 arg6 arg7 arg8 arg9'>
<input name='calculate21SoapIn'
message='tns:calculate21SoapIn'/>
<output name='calculate21SoapOut'
message='tns:calculate21SoapOut'/>
</operation>
<operation name='getTowns' parameterOrder=''>
<input name='getTowns2SoapIn'
message='tns:getTowns2SoapIn'/>
<output name='getTowns2SoapOut'
message='tns:getTowns2SoapOut'/>
</operation>
<operation name='getCarTypes' parameterOrder=''>
<input name='getCarTypes3SoapIn'
message='tns:getCarTypes3SoapIn'/>
<output name='getCarTypes3SoapOut'
message='tns:getCarTypes3SoapOut'/>
</operation>
</portType>
<binding name='hdi.services.gfb2004.IGfb2004Soap'
type='tns:hdi.services.gfb2004.IGfb2004Soap'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='calculate1'>
<soap:blush:peration soapAction='calculate1' style='rpc'/>

<input name='calculate10SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='calculate10SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='calculate2'>
<soap:blush:peration soapAction='calculate2' style='rpc'/>

<input name='calculate21SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='calculate21SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='getTowns'>
<soap:blush:peration soapAction='getTowns' style='rpc'/>
<input name='getTowns2SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='getTowns2SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='getCarTypes'>
<soap:blush:peration soapAction='getCarTypes' style='rpc'/>

<input name='getCarTypes3SoapIn'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output name='getCarTypes3SoapOut'>
<soap:body use='encoded'
namespace='http://tempuri.org/hdi.services.gfb2004.IGfb2004'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='hdi.services.gfb2004.IGfb2004'>
<port name='hdi.services.gfb2004.IGfb2004Soap'
binding='tns:hdi.services.gfb2004.IGfb2004Soap'>
<soap:address
location='https://www.ahbrt.hu/hdiservices/urn:gfb2004'/>

</port>
</service>
</definitions>


please help me

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top