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

ATL - Axis SOAP incompatibility?

Hi all!

I've encountered with what seems to be a compatibility problem between ATL
SOAP Web Service and Axis client.
The minimal scenario is like that. I create a service having the following
function:

struct SITest{

int val;

};

[id(1)] HRESULT PassStructInt([in]SITest data);

When I create the proxy classes using WSDL2Java and try to call this
function, I get back the SOAP fault response and I can see in debugger
console the following lines:

ATL Server only allows href's on arrays and structs.

ATLSOAP: fatal parse error: Unspecified error

I've got the SOAPToolkit trace and I can see that in the request the val
inside the struct is passed using href.

So I've two questions:

1. Is that a known issue and how do I overcome it? I need to pass structures
back and force, it is basic mechanism.

2. What other incompatibilities are waiting for me between ATL and Java?

Thank you,

Moshe.
Nov 23 '05 #1
3 2181
WTH
Just out of curiousity, isn't the default HTTP method of Java a POST?
Doesn't SOAP expect a GET?

Had this problem a week ago helping some Italian Java integrators using a
'open api' SOAP service I'd written. They found a 'GET' http class for Java
by googling for it (really simple actually.)

Don't know if that will help you. We found the problem by looking at the
IIS logs.

WTH
Nov 23 '05 #2
No, it has nothing to do with GET/POST. It indeed uses POST, but the c#
client that uses POST as well work correctly.
The problem is that Axis passes values inside structs by href.

Moshe.
"WTH" <sp*******@Ih8it.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Just out of curiousity, isn't the default HTTP method of Java a POST?
Doesn't SOAP expect a GET?

Had this problem a week ago helping some Italian Java integrators using a
'open api' SOAP service I'd written. They found a 'GET' http class for Java by googling for it (really simple actually.)

Don't know if that will help you. We found the problem by looking at the
IIS logs.

WTH

Nov 23 '05 #3
Moshe,

I don't know exactly what you mean here, but I know ATL SOAP has problems
with other things-- XML attributes, for example (as hrefs typically are). I
worked around this by making the attribute into a separate, subsidiary
element in the WSDL provided to SPROXY, and then hacking the incoming HTTP
responses and outgoing HTTP requests to correspond to this.

This was for an ATL SOAP client with an Axis server; the other way round, of
course, would have incoming requests and outgoing responses. That is, I only
hacked SendRequest ad GetResponse in my SOAP Client Archetype, but
presumably similar hacks would need to be applied to the corresponding
functions in the server.

Of course this is far from ideal as you have to hack the WSDL every time it
changes (i.e. I hope you have a stable WSDL).

As you say, this has nothing to do with GET/POST.
S.

"Moshe Kravchik" <mkravchik_AT_NO_SPAM_hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
No, it has nothing to do with GET/POST. It indeed uses POST, but the c#
client that uses POST as well work correctly.
The problem is that Axis passes values inside structs by href.

Nov 23 '05 #4

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...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
7
by: Jamie Phillips | last post by:
I'm sure this topic has been "around the block" a few times, but I have not been able to find ANY solutin that fits this particular problem. I have written a Java Axis web service that has a method...
3
by: Moshe Kravchik | last post by:
Hi! We have a Web Service written in ATL Server and a client written in Java using Axis. When something goes wrong on the server side, it returns an HRESULT of the error which is translated into...
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...
3
by: GT | last post by:
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The...
3
by: Jeremy Chapman | last post by:
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object...
5
by: Daythryl | last post by:
I've got some VB code that's supposed to retrieve a Map from a Web Service written in Java, running under Tomcat via Axis-1.4. I'll list the WSDL, the response message and the source code below. ...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.