all groups > dotnet xml > december 2005 >
You're in the

dotnet xml

group:

soap binding


Re: soap binding Martin Honnen
12/17/2005 7:40:10 PM
dotnet xml:

[quoted text, click to view]


[quoted text, click to view]

..NET web services by default are "document style" services, the
alternative is "rpc style" but as you don't want that I don't think you
have to change anything for your ASP.NET web service.
If you wanted rpc style (for the complete service) then you could use
the attribute SoapRpcService e.g. (C# syntax)

[SoapRpcService]
[WebService(Description="description", Namespace="url")]
public class YourClass

--

Martin Honnen --- MVP XML
soap binding RJ
12/17/2005 11:13:51 PM
Folks, I need some help. I have a webservice that needs to be consumed by a
Java app in Websphere(our customer's partner). Unfortunately, we don't
know much on the Java side. The question is that they are requiring
that the <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
to include the statement style="document". Any suggestion how I can do
this?

Re: soap binding RJ
12/20/2005 10:44:11 AM
Thanks Martin. I guess I wasn't clear on my post.

The WSDL that .NET generates is:
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

What the Java guys wants is that I format that line into
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />

I understand document and rpc style. The issue is on the soap message. They
want the style="document" to be part of the soap:binding tag like written
above. Any one knows how to do this?

Regards,

RJ

[quoted text, click to view]

Re: soap binding Martin Honnen
12/20/2005 5:06:23 PM


[quoted text, click to view]

I have looked at <http://www.w3.org/TR/wsdl> and in section "3.3
soap:binding" it states:
If the style attribute is omitted, it is assumed to be "document".
so .NET does the correct thing as far as the specification is concerned.
I don't know how to force .NET to explictly state style="document".
There is a .NET web services specific newsgroup
microsoft.public.dotnet.framework.aspnet.webservices, maybe someone over
there can help.

--

Martin Honnen --- MVP XML
Re: soap binding RJ
12/22/2005 12:10:00 PM
Thanks Martin. Yes, I also know about the section 3.3 about soap binding.
My problem is *simply* on the wsdl produced as the client requested that key
to be present. I'll check the other newsgroups. Thanks.

Rodney


[quoted text, click to view]

AddThis Social Bookmark Button