473,399 Members | 2,146 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,399 software developers and data experts.

Consuming Web Service + Authentication

Hi all. I need to consume a web service in .NET which were written in
Java. I am able to add them fine as web references in visual studio
as well as create the necessary objects. However, the specs of the
web service require me to authenticate using the Username Token
Profile spec from WS-Security. Any idea on how to do this??

Thanks.

Aug 1 '07 #1
2 2237
Hello rh******@gmail.com,
Hi all. I need to consume a web service in .NET which were written in
Java. I am able to add them fine as web references in visual studio
as well as create the necessary objects. However, the specs of the
web service require me to authenticate using the Username Token
Profile spec from WS-Security. Any idea on how to do this??

Thanks.
Either use WCF, which has built in support for WS-*, or install the Microsoft
Webservice Enhancements to add support fo this Profile spec.

Jesse
Aug 1 '07 #2
Cool I've been playing around with that and some of the examples. I
installed WSE 3.0.

Through my testing I've encountered this error. Any ideas?

Client found response content type of 'multipart/related;
type="application/xop+xml"; start="<so******@xfire.codehaus.org>";
start-info="text/xml"; boundary="----
=_Part_7_23431902.1186007122611"', but expected 'text/xml'.
The request failed with the error message:

Aug 1 '07 #3

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

Similar topics

4
by: Jose | last post by:
Hello all I've a problem, I need to develop a component to connect a web service for sending SMS. The web service it's not implemented in .NET.I need to use basic authentication (at least that...
1
by: Ezhil | last post by:
Hi All, we have an asp.net application which is consuming a third party java web service.In order to access the web service a login and password are required and they're passed as SOAP headers....
6
by: kbs | last post by:
Hi, I'm looking for some good examples that illustrate how to code a web service that exposes a custom collection so that the properties of the collection are accessible on the client without...
6
by: Carlos Lozano | last post by:
Hi, as a background I have an Windows application developed with VS 2003 (c#) that needs to transfer securely data to a MySQL database located on a Linux server. I have created a PHP...
2
by: quortex | last post by:
Hi all, I have written a web service using the .net framework 2 and Visual Studio 2005. I consume the managed service by native C++ using the "add web reference" feature. This obviously shells...
4
by: Haxan | last post by:
Hi, Im testing a web service from my windows app in C#. I create a soap body and pass to the HttpWebRequest and then get the response as below. private void TestService() { string quotes =...
1
by: kelvlam | last post by:
Hello, I'm a brand new web service developer, so forgive me if my question have been asked before. I tried to search online and the only thread I can found in Google Group doesn't have any...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
1
by: =?Utf-8?B?R29yZG9u?= | last post by:
Hi; I can consume a web service from an asp.net application with no problem. The web service connects to a remote server through ODBC and returns a data set to the consuming software. When...
1
by: =?Utf-8?B?VmVua2F0ZXNhbiBT?= | last post by:
Hi, I have a requirement of consuming a connection object returned from a COM component deployed in COM+ application. I have given the need for this requirement end of my query. My component...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.