473,473 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

NET Client calling Axis web service

I have a Net 2.0 client (C# Winform) calling an Axis web service. I can
authenticate, and send a request that is accepted and responded to, but I
cannot see the response.

The return for the call to the webservice is an object. Looking at the SOAP
message that comes in, I can see the response. However when I assign the
response to instance of the object, the result is null. Example:

1. WorkRequestServiceImplService myRequest = new
WorkRequestServiceImplService();
2. WorkRequestTO workRequest = new WorkRequestTO();
3. WorkRequestStatusTO workRequestStatus = new WorkRequestStatusTO();
4. workRequest = createNewWorkRequest(); //create new work request
5. workRequestStatus = myRequest.createWorkRequest(workRequest);

workRequest is complete when sent in step 5, however workRequestStatus
contains all nulls after step 5. Again, the SOAP response contains the
object values it should contain. Net appears to be having trouble
deserializing response code. Any ideas?

Aug 14 '06 #1
1 1535
Should add that literal and not SOAP section-5 encoding is being used on the
Axis server.

"David R" wrote:
I have a Net 2.0 client (C# Winform) calling an Axis web service. I can
authenticate, and send a request that is accepted and responded to, but I
cannot see the response.

The return for the call to the webservice is an object. Looking at the SOAP
message that comes in, I can see the response. However when I assign the
response to instance of the object, the result is null. Example:

1. WorkRequestServiceImplService myRequest = new
WorkRequestServiceImplService();
2. WorkRequestTO workRequest = new WorkRequestTO();
3. WorkRequestStatusTO workRequestStatus = new WorkRequestStatusTO();
4. workRequest = createNewWorkRequest(); //create new work request
5. workRequestStatus = myRequest.createWorkRequest(workRequest);

workRequest is complete when sent in step 5, however workRequestStatus
contains all nulls after step 5. Again, the SOAP response contains the
object values it should contain. Net appears to be having trouble
deserializing response code. Any ideas?
Aug 14 '06 #2

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

Similar topics

0
by: Anand Natrajan | last post by:
Hi! I have a VB .NET client that is accessing an rpc/encoded service deployed in Axis 1.2. One of the operations, whoami, returns a string array. The server-side Java signature of this method is...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
0
by: Daniel Thune, MCSE | last post by:
I am having a problem with formatting a SOAP Header in a .Net client. The client calls a Java Axis 1.1 based web service. In order to authenticate the caller, the web service call is intercepted by...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
1
by: Scott Yen | last post by:
Hi, I'm using the following Axis java client to invoke a .Net web service hosted my localhost. Although the username and password is set on the "call", client gets (401) Access Denied"...
2
by: David R | last post by:
I am writing a .NET web services client that is calling an Axis web service. I have two questions. 1. The following code should set the authentication; when I call a method on the web service,...
11
by: David R | last post by:
This is a repost, with additional information. I have a Net 2.0 client (C# Winform) calling an Axis web service. The .NET client can authenticate, create requested objects, serialize the objects...
1
by: David R | last post by:
I am calling an Axis web service from a Net 2.0 client. To be helpful, the developers on the Axis side sent a test client that they created, with snippets below. What I am trying to do is add a...
0
by: bhu | last post by:
We need to access the web service hosted by axis( java, apache), we are able to do so as long as the data transmitted is small, we need to transfer 2MB, which timeout. We used application wget...
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
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,...
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...
1
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...
0
tracyyun
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...
0
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,...
1
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.