473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

soap binding

RJ
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?
Dec 17 '05 #1
4 1778


RJ wrote:

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?


..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
http://JavaScript.FAQTs.com/
Dec 17 '05 #2
RJ
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

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:em**************@tk2msftngp13.phx.gbl...


RJ wrote:

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?


.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
http://JavaScript.FAQTs.com/

Dec 20 '05 #3


RJ wrote:
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 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.webservic es, maybe someone over
there can help.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Dec 20 '05 #4
RJ
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
"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...


RJ wrote:
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 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.webservic es, maybe someone over
there can help.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Dec 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: burdeen | last post by:
I've been trying to return an array with PHP5 soap. Is this not supported? or am i doing it wrong? Seems to return on the last element in the array. In my WSDL i've defined my return type as a...
0
by: David | last post by:
Hi everyone, I wonder how is it possible to make PHP SOAP extension convert the returned complex type to an instance of one of my classes. Here I give you a short example: complexTest.wsdl:...
0
by: chr | last post by:
Hi, I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
0
by: Grzegorz Smith | last post by:
Hi All. I 'm learning ZSI to use SOAP and I desperately need help. I'm working on example from tutorial -(examples/server/send_response/ simple/wsdl/). Here are my wsdl files...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
4
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
0
by: Default User | last post by:
I work on creating test cases for a SOAP-based set of servers, using soapUI. I received and updated set of WSDL and schema files, and when I made new tests and mock server operations, all of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.