Hello,
I have a java web service, and created a wsdl file from the java class;
based on the resulting wsdl file i generated the proxy C# class using
wsdl.exe utility and the result i included in my window app.
i am calling the web method but, i get no answer back, and after 1,2 minutes
i get something like 'Operation time out'. if i check on the server where it
runs the java web service, the method was called and parameters corectly
passed, so i don't understand why it does not return from the
function-procedure.
with a java client everything works.
thank you very much! 3 18900
Have you got network traces of the incoming and outgoing messages?
Something like proxytrace will do, if you are going over HTTP ?
-D
"Valeriu Filip" <Valeriu Fi***@discussio ns.microsoft.co m> wrote in message
news:34******** *************** ***********@mic rosoft.com... Hello,
I have a java web service, and created a wsdl file from the java class; based on the resulting wsdl file i generated the proxy C# class using wsdl.exe utility and the result i included in my window app. i am calling the web method but, i get no answer back, and after 1,2 minutes i get something like 'Operation time out'. if i check on the server where it runs the java web service, the method was called and parameters corectly passed, so i don't understand why it does not return from the function-procedure. with a java client everything works.
thank you very much!
if the question, is if i am going over a proxy, then yes.
second i've made a test with a java service and my c# client in my local
network (no proxy between) and works fine.
the 'proxytrace' i never heard of; but i know tracert; still i don't see
what is the help.
i've also read other kind of problems, and i don't know if it is true and if
migth be my case: my proxy and the proxy that is in front of the java web
service use diff protocols (Http1.0 and Http1.1)
thanks.
"Dino Chiesa [Microsoft]" wrote: Have you got network traces of the incoming and outgoing messages? Something like proxytrace will do, if you are going over HTTP ? -D
"Valeriu Filip" <Valeriu Fi***@discussio ns.microsoft.co m> wrote in message news:34******** *************** ***********@mic rosoft.com... Hello,
I have a java web service, and created a wsdl file from the java class; based on the resulting wsdl file i generated the proxy C# class using wsdl.exe utility and the result i included in my window app. i am calling the web method but, i get no answer back, and after 1,2 minutes i get something like 'Operation time out'. if i check on the server where it runs the java web service, the method was called and parameters corectly passed, so i don't understand why it does not return from the function-procedure. with a java client everything works.
thank you very much!
Have you tried to force the .NET client that goes through the proxy to use
HTTP 1.0 , rather than HTTP 1.1 ? Or turn off Keep-Alive.
see here: http://weblogs.asp.net/jan/archive/2.../28/63771.aspx
proxytrace is a tool based on tcptrace that helps trace web services
requests. http://www.pocketsoap.com/tcptrace/pt.aspx It may be of no use
to you, since you need a proxy anyway. But there are other webservice
network trace tools. Eg, Fiddler, http://www.bayden.com/fiddler/ and HTTP Sniffer http://www.effetech.com/sniffer/
tracert is something different
You may be able to twiddle the HTTP requests with one or more of these
tools, to try out the effects of turning on/off HTTP1.1 and Keep-alive.
-D
"Valeriu Filip" <Va**********@d iscussions.micr osoft.com> wrote in message
news:5B******** *************** ***********@mic rosoft.com... if the question, is if i am going over a proxy, then yes. second i've made a test with a java service and my c# client in my local network (no proxy between) and works fine. the 'proxytrace' i never heard of; but i know tracert; still i don't see what is the help. i've also read other kind of problems, and i don't know if it is true and if migth be my case: my proxy and the proxy that is in front of the java web service use diff protocols (Http1.0 and Http1.1)
thanks. "Dino Chiesa [Microsoft]" wrote:
Have you got network traces of the incoming and outgoing messages? Something like proxytrace will do, if you are going over HTTP ? -D
"Valeriu Filip" <Valeriu Fi***@discussio ns.microsoft.co m> wrote in message news:34******** *************** ***********@mic rosoft.com... > Hello, > > I have a java web service, and created a wsdl file from the java class; > based on the resulting wsdl file i generated the proxy C# class using > wsdl.exe utility and the result i included in my window app. > i am calling the web method but, i get no answer back, and after 1,2 > minutes > i get something like 'Operation time out'. if i check on the server > where > it > runs the java web service, the method was called and parameters > corectly > passed, so i don't understand why it does not return from the > function-procedure. > with a java client everything works. > > thank you very much! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Hatmaker |
last post by:
I have begun experimenting with web services, and I created some
simple web services in C# and was able to install them with IIS and
create an equally simple C# client to consume them.
My next experiment was to use Python to consume these same web
services, and even though I am able to get Python to consume web
services from a variety of sources (Apache SOAP, Glue, AXIS), I cannot
get web services created with MS.NET to work. Actually,...
|
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 you have any idea.
Thanks in advance!
-----------------------
Posted by a user from .NET 247...
|
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, can I do the same thing in a c# client. All I want to do is
|
by: msnews.microsoft.com |
last post by:
|
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 pasted the wsdl
file for review. Any suggestions would be greatly appreciated. I used
the...
| |
by: David Lozzi |
last post by:
Howdy,
I wrote a web service in .Net for my customer. My customer has another
vendor who now has to consume it but they are not using Visual Studio. Most
of their pages are jsp, and they said they need to consume this web service
using HTTP. The developer's IDE is Notepad. Yeah, weird I know.
How is this done? I guess if I can get it to run ASP, IDE independant, that
should make them happy. Any references you can point me to?
|
by: frustratedcoder |
last post by:
I need to consume a web service written in Perl but there is no wsdl
file for this service.
The perl soap client that can call and consume this web service looks
like this (if it helps)
#!perl -w
use SOAP::Lite +trace => "debug";
print SOAP::Lite
|
by: Jerry Orenstein |
last post by:
Hi, I hope someone can help or point me in the right direction.
I'm using VB.NET 2003.
I have written a web client (exe) which sends XML/string data to
another company's web service, written in Java. This works; they get
my data and return comfirmation or app-level error info.
However, I can't get the same calls, with an identically created web
reference, to work from a web service. My web service can call other
|
by: adevikreates |
last post by:
Greetings All!
I have a Java Web service that I wrote. I need to use Classic ASP as the client for this web service.
I have the following code in an asp page but I keep getting an error that states "Invalid procedure call or argument: 'doScan'" - doScan is the method in my Java Web service. When browsing to the WSDL file I don't get any errors...
Set oSOAP = Server.CreateObject("MSSOAP.SoapClient")
...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |