A
andy.malakov
Hello All,
I am trying to generate .NET proxies for web service that uses HTTP
POST binding (note: not SOAP!). Web Service exposes single operation
that accepts some XML as input and output (specified as base xsd type).
Problem is that wsdl.exe does not allow using mime:mimeXml encoding as
operation inputs.
http://www.w3.org/TR/wsdl.html#_mime:mimeXml
Here is WSDL fragment that causes this problem:
<binding name="GatewayBindingHttpPost" type="tns:GatewayPort">
<http:binding verb="POST"/>
<operation name="process">
<httpperation location="/process"/>
<input>
<mime:mimeXml part="request"/>
</input>
<output>
<mime:mimeXml part="response"/>
</output>
</operation>
</binding>
Exact warning that wsdl.exe generates:
// CODEGEN: The operation 'process' from namespace ... was ignored. No
input MIME formats were recognized.
I cannot find any confirmation to this limitation on MSDN. Can somebody
please confirm/advise on this problem?
P.S. Changing input type to 'application/x-www-form-urlencoded'
makes wsdl.exe happy.
I am trying to generate .NET proxies for web service that uses HTTP
POST binding (note: not SOAP!). Web Service exposes single operation
that accepts some XML as input and output (specified as base xsd type).
Problem is that wsdl.exe does not allow using mime:mimeXml encoding as
operation inputs.
http://www.w3.org/TR/wsdl.html#_mime:mimeXml
Here is WSDL fragment that causes this problem:
<binding name="GatewayBindingHttpPost" type="tns:GatewayPort">
<http:binding verb="POST"/>
<operation name="process">
<httpperation location="/process"/>
<input>
<mime:mimeXml part="request"/>
</input>
<output>
<mime:mimeXml part="response"/>
</output>
</operation>
</binding>
Exact warning that wsdl.exe generates:
// CODEGEN: The operation 'process' from namespace ... was ignored. No
input MIME formats were recognized.
I cannot find any confirmation to this limitation on MSDN. Can somebody
please confirm/advise on this problem?
P.S. Changing input type to 'application/x-www-form-urlencoded'
makes wsdl.exe happy.