sproxy.exe errors if WSDL has soap:fault

K

k saab

When using sproxy.exe to generate a proxy for a wdsl file (web service),
it generates an error if the wsdl file contains soap:fault tag. Any
idea on how to resolve this or the implication of simply removing the
fault line from the wsdl would be appreciated.

Thank you.
K.

Here are the command line and the wsdl file:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin>sproxy /wsdl
c:\logon.wsdl

Microsoft (R) Native Web Service Proxy Generator 7.10.3077
Copyright (C) Microsoft Corporation 1999-2001. All rights reserved.

sproxy : error SDL1000 : Not enough storage is available to complete
this
operation.
sproxy : error SDL1001 : failure in processing WSDL file: "c:
\logon.wsdl".

<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://temp.com"
targetNamespace="http://temp.com"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types />
<message name="LogonRequest">
<part name="LoginId" type="s:string" />
<part name="Password" type="s:string" />
</message>
<message name="LogonResponse">
<part name="LogonReturn" type="s:string" />
</message>
<message name="LogonException">
<part name="fault" type="s:string" />
</message>
<portType name="LogonPortType">
<operation name="Logon" parameterOrder="LoginId Password">
<input name="LogonRequest" message="s0:LogonRequest" />
<output name="LogonResponse" message="s0:LogonResponse" />
<fault name="LogonException" message="s0:LogonException" />
</operation>
</portType>
<binding name="LogonBinding" type="s0:LogonPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc" />
<operation name="Logon">
<soap:blush:peration soapAction="" />
<input name="LogonRequest">
<soap:body use="encoded" namespace="http://temp.com"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output name="LogonResponse">
<soap:body use="encoded" namespace="http://temp.com"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
<fault name="LogonException">
<soap:fault use="encoded" namespace="http://temp.com"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</fault>
</operation>
</binding>
<service name="LogonService">
<port name="LogonPort" binding="s0:LogonBinding">
<soap:address location="http://temp.com/Logon.wsdl" />
</port>
</service>
</definitions>
 

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