473,322 Members | 1,523 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,322 software developers and data experts.

BUG in Microsoft.Web.Services2.WebServicesClientProtocol WSE 2.0 S

If you specify a Destination with both an Address and a Via, the Address is
used as both the Url property (transport) AND the "To" SOAP header. The Via
portion is effectively ignored, making it impossible to connect to web
services with SoapActor attributes or behind NAT / PAT.

I can provide a complete test case upon request, although the issue is quie
easy to replicate.

Thanks,

Thomas S. Trias
Senior Developer
Afni Insurance Services
http://www.afniinc.com/

Nov 23 '05 #1
4 3968
FYI WSE 2.0 SP2

Nov 23 '05 #2
Hello Thomas,
You would need to set the Via in the request soap context theres tons
of examples [0] of people having it working

[0] - http://www.softwaremaker.net/blog/Pe...f0dcf9215.aspx

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
If you specify a Destination with both an Address and a Via, the
Address is used as both the Url property (transport) AND the "To" SOAP
header. The Via portion is effectively ignored, making it impossible
to connect to web services with SoapActor attributes or behind NAT /
PAT.

I can provide a complete test case upon request, although the issue is
quie easy to replicate.

Thanks,

Thomas S. Trias
Senior Developer
Afni Insurance Services
http://www.afniinc.com/


Nov 23 '05 #3
Is this behavior by design? What is the purpose of the Destination property
on the WebServicesClientProtocol class, if not to set the WS-Addressing
information and transport?

Also, most of the addressing samples I've seen use soap.tcp based services,
and don't have concrete examples of proxies based upon
Microsoft.Web.Services2.WebServicesClientProtocol.

Thomas S. Trias
Senior Developer
Afni Insurance Services
http://www.afniinc.com/
"Dilip Krishnan" wrote:
Hello Thomas,
You would need to set the Via in the request soap context theres tons
of examples [0] of people having it working

[0] - http://www.softwaremaker.net/blog/Pe...f0dcf9215.aspx

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
If you specify a Destination with both an Address and a Via, the
Address is used as both the Url property (transport) AND the "To" SOAP
header. The Via portion is effectively ignored, making it impossible
to connect to web services with SoapActor attributes or behind NAT /
PAT.

I can provide a complete test case upon request, although the issue is
quie easy to replicate.

Thanks,

Thomas S. Trias
Senior Developer
Afni Insurance Services
http://www.afniinc.com/


Nov 23 '05 #4
Actually, the Destination property does work. I am an idiot, and I am not
ashamed to admit it.

I had setup the service to use an SCT:

Dim oClient As SecurityContextTokenServiceClient = _
New SecurityContextTokenServiceClient(New EndpointReference(New
Uri(MyBase.URL)))

I changed this to:

Dim oClient As SecurityContextTokenServiceClient = _
New SecurityContextTokenServiceClient(MyBase.Destinati on)

And now everything works fine.

Sorry for letting my frustration get the better of me.

Thomas S. Trias
Senior Developer
Afni Insurance Services
http://www.afniinc.com/
Nov 23 '05 #5

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

Similar topics

0
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' ...
0
by: Naresh | last post by:
When I call a Web Service function and send a dime attachment then if the client machines time is set to be greater that that of the Wbe Service Server, I get the exception -...
1
by: Naresh | last post by:
When I call a Web Service function and send a dime attachment then if the client machines time is set to be greater that that of the Wbe Service Server, I get the exception -...
0
by: Prince | last post by:
Hai all, I added "Microsoft.Wen.Services2" in my application. It is showing error : The type or namespace name 'Web' does not exist in the class or namespace 'Microsoft' (are you missing...
2
by: Prince | last post by:
Hai all, I added "Microsoft.Web.Services2" in my application. It is showing error : The type or namespace name 'Web' does not exist in the class or namespace 'Microsoft' (are you missing an...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: r | last post by:
Hello All, I am working on a desktop application using C#. The application connects to a remote webservice to update and retrieve data from a database. I also have a settings Tab in the...
0
by: =?Utf-8?B?U2VyZ2lvIE1hcnRpbnM=?= | last post by:
Hi. I have a Web Service that implements custom UsernameToken authentication using the WSE 2.0 library. If I call that Web Service from a VB.Net Windows Forms application everything works fine....
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.