Ask a Question related to ASP.NET Web Services, Design and Development.
-
andy.malakov@gmail.com #1
wsdl.exe does not support mime:mimeXml as input encoding?
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.
[url]http://www.w3.org/TR/wsdl.html#_mime:mimeXml[/url]
Here is WSDL fragment that causes this problem:
<binding name="GatewayBindingHttpPost" type="tns:GatewayPort">
<http:binding verb="POST"/>
<operation name="process">
<http:operation 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.
andy.malakov@gmail.com Guest
-
Font or charset/encoding problem in input fields (Linux)
Hi, I am trying to enter a text in russian language into input fields in Flash Player 9. I can type russian characters but they are displayed... -
#40355 [NEW]: the dcom interface doesn't support the utf8 encoding
From: info at paolotozzo dot it Operating system: WINDOWS PHP version: 5.2.0 PHP Bug Type: COM related Bug description: the... -
WSDL error on Flex app running on JBoss using WSDL to Weblogic
Hello, Not sure if my last post made it so sorry if this ends up being a duplicate post. I have a Flex 1.5 app running on JBoss 4.0.2 which uses... -
Calling a webservice in Dotnet using HTTP-POST and input mime type
When generating a HTTP-POST using an input MIME type of XML we get the following error when generating the class in C# using the wsdl.exe tool... -
Receiving zip files via Mime::Parser/Mime::Decoder
Could anyone point me to a piece of Perl code where an extract is done of an attached zip file. Currently I already split up my mails with... -
Dan Rogers #2
RE: wsdl.exe does not support mime:mimeXml as input encoding?
Hi,
No. WSDL.exe only supports a subset of types defined in XML schema. If
you've found a work-around for your binding settings that works for you,
that's good information.
Regards
Dan Rogers
Microsoft Corporation
--------------------00:47:16 GMT)>From: [email]andy.malakov@gmail.com[/email]
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 14 Dec 2004 16:47:12 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 37
>Message-ID: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103071636 5540 127.0.0.1 (15 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado .fastwebnet.it!tiscali!new>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Wed, 15 Dec 2004 00:47:16 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: z14g2000cwz.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
sfeed1.ip.tiscali.net!news.maxwell.syr.edu!postnew s.google.com!z14g2000cwz.g
ooglegroups.com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27198>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>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.
>
>[url]http://www.w3.org/TR/wsdl.html#_mime:mimeXml[/url]
>
>Here is WSDL fragment that causes this problem:
>
><binding name="GatewayBindingHttpPost" type="tns:GatewayPort">
><http:binding verb="POST"/>
><operation name="process">
><http:operation 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.
>
>Dan Rogers Guest
-
AndyMalakov #3
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Thank you Dan,
I am not sure if I made myself clear.>WSDL.exe only supports a subset of types defined in XML schema.
1. I do not see in WSDL specification anything that restricts use of
mime:mimeXml to specify schema of input element for HTTP POST based
operation.
2. Microsoft WSDL.EXE does allow me to use mime:mimeXml to describe
operation *output* and generates correct proxies for my service and all
XML messages declared in WSDL document.
3. Problem only arises when I try to use mimeXml to describe operation
input. In that case WSDL.EXE complains:
"Warning: one or more operations were skipped.
Warnings were encountered. Review generated source comments for more
details."
Generated source has the following comment:
"// CODEGEN: The operation 'process' from namespace '...' was ignored.
No input MIME formats were recognized."
I do have a workaround, which is wrapping XML messages in SOAP
envelopes, but I would prefer not to.
Thank you again very much for your help,
Andy
AndyMalakov Guest
-
Dan Rogers #4
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hi Andy,
Thanks for this very clear feedback. I'll relay it to the right group -
who is busy with the 2.0 version now...
Best regards
Dan Rogers
Microsoft Corporation
--------------------18:41:06 GMT)>From: "AndyMalakov" <andy.malakov@gmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Re: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 15 Dec 2004 10:41:01 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 31
>Message-ID: <1103136061.438202.79940@f14g2000cwb.googlegroups. com>
>References: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
> <oPDg8Ht4EHA.3440@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103136066 26836 127.0.0.1 (15 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado .fastwebnet.it!tiscali!new>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Wed, 15 Dec 2004 18:41:06 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: f14g2000cwb.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
sfeed1.ip.tiscali.net!news.glorb.com!postnews.goog le.com!f14g2000cwb.googleg
roups.com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27224>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Thank you Dan,
>>>>WSDL.exe only supports a subset of types defined in XML schema.
>I am not sure if I made myself clear.
>
>1. I do not see in WSDL specification anything that restricts use of
>mime:mimeXml to specify schema of input element for HTTP POST based
>operation.
>
>2. Microsoft WSDL.EXE does allow me to use mime:mimeXml to describe
>operation *output* and generates correct proxies for my service and all
>XML messages declared in WSDL document.
>
>3. Problem only arises when I try to use mimeXml to describe operation
>input. In that case WSDL.EXE complains:
>
>"Warning: one or more operations were skipped.
>Warnings were encountered. Review generated source comments for more
>details."
>
>Generated source has the following comment:
>
>"// CODEGEN: The operation 'process' from namespace '...' was ignored.
>No input MIME formats were recognized."
>
>I do have a workaround, which is wrapping XML messages in SOAP
>envelopes, but I would prefer not to.
>Thank you again very much for your help,
>Andy
>
>Dan Rogers Guest
-
Dan Rogers #5
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hi Andy,
One more question... just looking again at your last line. If you are
wrapping XML messages in SOAP envelopes, I'm not sure why you're specifying
MimeXML in the first place. When I build services, they end up as XML
wrapped in SOAP envelopes, and I never have to touch either XML or my WSDL
file to do so. Is this some special third party compatibility issue where
they are trying to use MimeXML versus just plain old W3C XML?
Dan
--------------------18:41:06 GMT)>From: "AndyMalakov" <andy.malakov@gmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Re: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 15 Dec 2004 10:41:01 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 31
>Message-ID: <1103136061.438202.79940@f14g2000cwb.googlegroups. com>
>References: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
> <oPDg8Ht4EHA.3440@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103136066 26836 127.0.0.1 (15 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado .fastwebnet.it!tiscali!new>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Wed, 15 Dec 2004 18:41:06 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: f14g2000cwb.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
sfeed1.ip.tiscali.net!news.glorb.com!postnews.goog le.com!f14g2000cwb.googleg
roups.com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27224>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Thank you Dan,
>>>>WSDL.exe only supports a subset of types defined in XML schema.
>I am not sure if I made myself clear.
>
>1. I do not see in WSDL specification anything that restricts use of
>mime:mimeXml to specify schema of input element for HTTP POST based
>operation.
>
>2. Microsoft WSDL.EXE does allow me to use mime:mimeXml to describe
>operation *output* and generates correct proxies for my service and all
>XML messages declared in WSDL document.
>
>3. Problem only arises when I try to use mimeXml to describe operation
>input. In that case WSDL.EXE complains:
>
>"Warning: one or more operations were skipped.
>Warnings were encountered. Review generated source comments for more
>details."
>
>Generated source has the following comment:
>
>"// CODEGEN: The operation 'process' from namespace '...' was ignored.
>No input MIME formats were recognized."
>
>I do have a workaround, which is wrapping XML messages in SOAP
>envelopes, but I would prefer not to.
>Thank you again very much for your help,
>Andy
>
>Dan Rogers Guest
-
AndyMalakov #6
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Dan,
For multiple reasons we would like to avoid using SOAP binding for our
service in favor of HTTP POST.
Thanks,
Andy
AndyMalakov Guest
-
Dan Rogers #7
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hi Andy,
The SOAP specificaiton clearly calls out the requirements for HTTP Post
binding, and the WSDL 1.1 specification also defines this protocol in
detail. Our tooling does provide support for HTTP post of XML documents.
It apears that the only issue you are facing is the text to put in your
hand-coded WSDL file.
I've sent a question on this to our serializer team - they are also
responsible for the ASP.net service runtime logic - so I'll be back when I
get an answer to this. However, I suggest you reference the WSDL and SOAP
specs for HTTP post binding - as I'm not sure where you've come across this
MIME makup as the only way to do it.
Regards
Dan Rogers
Microsoft Corporation
--------------------19:34:43 GMT)>From: "AndyMalakov" <andy.malakov@gmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Re: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 16 Dec 2004 11:34:38 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 8
>Message-ID: <1103225678.787386.105890@z14g2000cwz.googlegroups .com>
>References: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
> <1103136061.438202.79940@f14g2000cwb.googlegroups. com>
> <iFFh8O64EHA.1964@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103225683 17208 127.0.0.1 (16 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Thu, 16 Dec 2004 19:34:43 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: z14g2000cwz.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
x.com!newsfeed.cwix.com!newsswing.news.prodigy.com !prodigy.net!news.glorb.co
m!postnews.google.com!z14g2000cwz.googlegroups.com !not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27250>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Dan,
>
>For multiple reasons we would like to avoid using SOAP binding for our
>service in favor of HTTP POST.
>
>Thanks,
>Andy
>
>Dan Rogers Guest
-
AndyMalakov #8
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hello Dan,
Thank you very much for your help.
Dan, I am not interested in SOAP 1.1 HTTP binding. I am asking about
plain XML web-service that uses HTTP as described in Chapter 4 of WSDL
specification: [url]http://w3.org/TR/wsdl.html#_http[/url]
Here is how WSDL looks like:
<http:binding verb="POST"/>
<operation name="process">
<http:operation location="process"/>
<input>
<mimeXml part="address"/>
</input>
<output>
....
</output>
</operation>
contain implementation for something like XmlParameterWriter. Which>From what I can see namespace System.Web.Services.Protocols does not
could be something like this:
(Note: stripped methods like GetInitializer/Initialize/
UsesWriteRequest)
public class XmlRequestWriter : MimeParameterWriter {
__
__public override void InitializeRequest(
____WebRequest request,
____object[] values)
__{
____request.ContentType = "text/xml; charset=utf-8";
__}
__
__public override void WriteRequest(
____Stream requestStream,
____object[] values)
__{
____if (values.Length != 1)
______throw new ArgumentException ("this is only example");
____
____mSerializer.Serialize(requestStream, values [0]);
__}
__
}
All the Best,
Andy
AndyMalakov Guest
-
Dan Rogers #9
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hi Andy,
From what I can see, I'm not sure what value add you are getting by writing
your own serializer (I think you're calling this a parameter writer). Are
you trying to get either SOAP RPC encoding or Document Literal on the wire?
Or are you just trying to get the HTTP header to indicate that POST is
being used versus SOAP.
If the latter, you can write your own SOAP post handler - the XML DOM or
the WebRequest objects will let you specify and control your own HTTP
headers, and then you can use the standard XML serialization to populate
the body of your web request (you'll have to serialize into the HTTP stream
or build the entire request in a memory stream, rewind the stream, and then
POST it via your WebRequest object.
Is this WSDL for a service you are writing? Did you know that if you build
a servide with VS, even though the WSDL will say it is using a SOAP
binding, by default it builds the infrastructure to handle HTTP Post and
HTTP Get processing as well?
Dan
--------------------16:07:07 GMT)>From: "AndyMalakov" <andy.malakov@gmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Re: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 21 Dec 2004 08:07:01 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 54
>Message-ID: <1103645221.686376.215180@c13g2000cwb.googlegroups .com>
>References: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
> <1103225678.787386.105890@z14g2000cwz.googlegroups .com>
> <o6y34mu5EHA.1512@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103645227 27119 127.0.0.1 (21 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTNGXS01.phx.gbl!cpmsftn gxa06.phx.gbl!TK2MSFTNGP08>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Tue, 21 Dec 2004 16:07:07 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: c13g2000cwb.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
phx.gbl!news-out.cwix.com!newsfeed.cwix.com!border1.nntp.dca.gi ganews.com!n
ntp.giganews.com!news.glorb.com!postnews.google.co m!c13g2000cwb.googlegroups
com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27326>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Hello Dan,
>
>Thank you very much for your help.
>
>Dan, I am not interested in SOAP 1.1 HTTP binding. I am asking about
>plain XML web-service that uses HTTP as described in Chapter 4 of WSDL
>specification: [url]http://w3.org/TR/wsdl.html#_http[/url]
>
>Here is how WSDL looks like:
>
><http:binding verb="POST"/>
><operation name="process">
><http:operation location="process"/>
><input>
><mimeXml part="address"/>
></input>
><output>
>...
></output>
></operation>
>>contain implementation for something like XmlParameterWriter. Which>>From what I can see namespace System.Web.Services.Protocols does not
>could be something like this:
>
>(Note: stripped methods like GetInitializer/Initialize/
>UsesWriteRequest)
>
>
>public class XmlRequestWriter : MimeParameterWriter {
>__
>__public override void InitializeRequest(
>____WebRequest request,
>____object[] values)
>__{
>____request.ContentType = "text/xml; charset=utf-8";
>__}
>__
>__public override void WriteRequest(
>____Stream requestStream,
>____object[] values)
>__{
>____if (values.Length != 1)
>______throw new ArgumentException ("this is only example");
>____
>____mSerializer.Serialize(requestStream, values [0]);
>__}
>__
>}
>
>
>All the Best,
>Andy
>
>Dan Rogers Guest
-
AndyMalakov #10
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hello Dan,
"On the wire" I would like to see XML messages *without* SOAP
envelope. We have message-oriented service implemented on J2EE
platform. All messages are in XML format and documented using XSD. We
want to provide access for .NET clients with minimum overhead. (In this
particular case, SOAP is overhead).
I used above XmlRequestWriter to patch auto-generated proxy:
[HttpMethodAttribute(typeof(XmlReturnReader),typeof (XmlRequestWriter))]
public ResponseMessage process(RequestMessage request)
It seems to be enough for simple support of mimeXml input binding in
..NET. May be there is a better way (I am .NET newbie).
Looks like what we want is similar to REST approach. I found
confirmation to the problem described in this thread on Paul
Prescot's website (he is REST advocate):
[url]http://www.prescod.net/rest/wsdlhttp.html[/url]
Thanks,
Andy
AndyMalakov Guest
-
Dan Rogers #11
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Hi Andy,
If you want to avoid the SOAP processing, then I'm afraid I'm not going to
be able to help you. The entire ASP.net and .NET framework processing
stack, from now into the forseeable future is heavily invested in and
completely bound to SOAP compliant implementations.
For pure XML slinging, the DOM is the way I'd go. There really isn't any
tool support (e.g. wizards, proxy generators, etc) in visual studio to
support this approach - the # of issues associated with every endpoint
rolling their own protocol layer is just astounding (thus the tool market
convergence around SOAP) - but you can use raw XML, and drive serialization
manually. Of course, the proxy class generators aren't going to be of any
use to you at all.
Good luck
Dan Rogers
Microsoft Corporation
--------------------00:17:58 GMT)>From: "AndyMalakov" <andy.malakov@gmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Re: wsdl.exe does not support mime:mimeXml as input encoding?
>Date: 22 Dec 2004 16:17:21 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 24
>Message-ID: <1103761041.799747.294380@z14g2000cwz.googlegroups .com>
>References: <1103071632.131119.319480@z14g2000cwz.googlegroups .com>
> <1103645221.686376.215180@c13g2000cwb.googlegroups .com>
> <34v4Vp45EHA.2944@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 141.154.102.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-1"
>X-Trace: posting.google.com 1103761078 17175 127.0.0.1 (23 Dec 2004cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Thu, 23 Dec 2004 00:17:58 +0000 (UTC)
>User-Agent: G2/0.2
>Complaints-To: [email]groups-abuse@google.com[/email]
>Injection-Info: z14g2000cwz.googlegroups.com; posting-host=141.154.102.2;
> posting-account=Gl24Kg0AAACpAZ3QU2RCJlCf9jqNF8LK
>Path:
x.com!newsfeed.cwix.com!border1.nntp.dca.giganews. com!nntp.giganews.com!news
.glorb.com!postnews.google.com!z14g2000cwz.googleg roups.com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:27366>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Hello Dan,
>
>"On the wire" I would like to see XML messages *without* SOAP
>envelope. We have message-oriented service implemented on J2EE
>platform. All messages are in XML format and documented using XSD. We
>want to provide access for .NET clients with minimum overhead. (In this
>particular case, SOAP is overhead).
>
>I used above XmlRequestWriter to patch auto-generated proxy:
>
>[HttpMethodAttribute(typeof(XmlReturnReader),typeof (XmlRequestWriter))]
>public ResponseMessage process(RequestMessage request)
>
>It seems to be enough for simple support of mimeXml input binding in
>.NET. May be there is a better way (I am .NET newbie).
>
>Looks like what we want is similar to REST approach. I found
>confirmation to the problem described in this thread on Paul
>Prescot's website (he is REST advocate):
>[url]http://www.prescod.net/rest/wsdlhttp.html[/url]
>
>Thanks,
>Andy
>
>Dan Rogers Guest
-
AndyMalakov #12
Re: wsdl.exe does not support mime:mimeXml as input encoding?
Thank you Dan,
One may argue that message-oriented services that use literal encoding
do not really need SOAP. The only missing piece is few extra
implementations of MimeParameterWriter / MimeResultReader that support
common mime types.
All the Best,
Andy
AndyMalakov Guest



Reply With Quote

