473,569 Members | 2,845 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help with .NET cliet to consume java webservice

Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected response back. However, when try to download the pageby creating a simple http-get client, I get server not founderror (404). Please let me know if you have any idea.

Thanks in advance!

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>mv/WIxtOO0md/VKBMWWNoA==</Id>
Jul 21 '05 #1
2 2249
Hi Abeslom,

Did you already tried the (small) newsgroup

microsoft.publi c.dotnet.framew ork.webservices

I know that Jan Tielens is active there a very smart guy, however I assume
there are more there.

I hope this helps?

Cor

Hi, I am trying to create a simple .NET http-Get client that will consume a
java webservice on a mainframe. If I type the URL for the webservice in the
Browser, the service works and I get the expected response back. However,
when try to download the page by creating a simple http-get client, I get
server not found error (404). Please let me know if you have any idea.

Jul 21 '05 #2
Have you looked at the obvious things, like making sure a network proxy
isn't getting in the way, or passing neccesary credentials to authenticate
you to the remote web service. If your using IE to check access then it may
be doing authentication passthrough - so turn this off in your browser and
see what you get back. Also, if the service expects to pass cookies then
your browser would take them but you will need to create a cookie cache in
your client to consume the service. Also, the web service may not actually
permit a get request.
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Abeslom via .NET 247" <an*******@dotn et247.com> wrote in message
news:#Q******** ******@TK2MSFTN GP11.phx.gbl...
Hi, I am trying to create a simple .NET http-Get client that will consume a
java webservice on a mainframe. If I type the URL for the webservice in the
Browser, the service works and I get the expected response back. However,
when try to download the page by creating a simple http-get client, I get
server not found error (404). Please let me know if you have any idea.

Thanks in advance!

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>mv/WIxtOO0md/VKBMWWNoA==</Id>
Jul 21 '05 #3

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

Similar topics

4
422
by: John Bailo | last post by:
I wrote a .NET/c# webservice which I then needed to consume from java server pages. The simplest ( and best ) solution I found, was some code to open a socket, and send a SOAP message directly to it...constructing the SOAP message with a class that builds the string. Then I parse the return soap message for the result. Now I wonder,...
2
360
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected response back. However, when try to download the pageby creating a simple http-get client, I get server not founderror (404). Please let me know if...
2
2808
by: Mauricio Correa | last post by:
Hello, i try to consume a java web service from a asp .net page, i make without problems the web reference tu wsdl file http://machine/WebService/nameWebService?WSDL in the asp .net page put the code Dim WSConection As New WebService.nameWebService Dim XML_= WSConection .getCcompleteSis(TextBox1.Text) 'this return a string with a XML
2
9325
by: joelcochran | last post by:
I am trying to consume my first WebService in a C# Windows Form in VS.NET 2003. I have created a Web Reference using the WSDL URL (http://www.capescience.com/webservices/airportweather/AirportWeather.wsdl), which created the Proxy class. I can see the WebService and its methods in the Object Browser. It was my impression that I should be...
0
1671
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to consume them in VB .NET I get objects with nothing in them. Interestingly, if I call a webservice that returns a string, then it all works fine. I have...
1
4023
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore provided with a set of Dll that implement the proxy needed to consume this web service. I'm now wrapping these dlls in a .Net webservice that can be...
0
972
by: Gustavo | last post by:
Hi all! I´m trying to consume a webservice made in java. I´m using vs2005 and vb.net The problem is that the owner of webservice tell me I must send the parameters (that is a xml doc) like an utf-8 string. After import the wsdl I got this on vb: makecall(sCabec as string; sboby as string) How can I convert the string I´m passing to...
0
1362
by: =?Utf-8?B?dGVzaHRyYWRlQGdtYWlsLmNvbQ==?= | last post by:
Hi All, I am still new to Webservices in .NET Basically, This is what I am trying to accomplish. My Client has given me the soft copy of the WSDL file and XSD Files and has asked me to create an executable that will consume the webservice and write the output to a log file. I do not have access to the webservice. However, they told me...
1
1952
by: Fool | last post by:
Ok I was doing this project but now Im halfway stuck. This project contains 3 class at the moment. Im mainly trying to make this applet like the game pong. I have the paddle and a ball and background and stuff. Now my main problem is that I need to make the ball bounce back after it touches the paddle...Right now the ball goes through the...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.