Hi I've got a web service running through an Oracle SOAP server. I'm calling this web service from ASP (using microsoft SOAP) - see code. This works fine, but when I call a method that passes a string as input parameter - I get the following problem: Error Type: /DateTimeService-DateTimeJ2EE-context-root/datetimepkj2ee.DateTimeServiceJ2EE (0x80004005) No Deserializer found to deserialize a ' refix' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. [java.lang.IllegalArgumentException] /MSSoapSamples30/Calc/Client/Rpc/AspVbs/ProcessNatis.asp, line 25 Here is the ProcessNatis.asp file - client that calls the web service: <%@ LANGUAGE = VBScript %> <HTML> <HEAD> <TITLE>Result</TITLE> </HEAD> <BODY> <% Dim SoapClient Set SoapClient = Server.CreateObject("MSSOAP.SoapClient30") SoapClient.MSSoapInit2 _ Server.MapPath("DateTimeServiceJ2EE.wsdl"), _ "", _ "DateTimeServiceJ2EE", _ "DateTimeServiceJ2EEPort", _ "http://datetimepkj2ee/DateTimeServiceJ2EE.wsdl" Dim string, res string = "AAA" res = CStr(SoapClient.getDateString(CStr(string))) Set SoapClient = Nothing %> <B>Result:</B> <%=res%><P><P> </BODY> </HTML>
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Not sure whether this code will work,i never tested but u can try
Thanks - I've tried this and still gives me the same results.
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by Henkie Maritz: Thanks - I've tried this and still gives me the same results.
Hi Henkie, I tried to access the apache soap service from MS Soap.I mean Apache Axis is Soap service provider and my VB.NET is a client. I followed two different ways. 1.I used www.asp.net to generate .vb file using webservice proxy generator,then i wrote a small .aspx file to access the .vb file(which will inturn call the axis web service) 2.Using wsdl.exe from .NET SDK,not tried yet,but the steps are feasible. So why dont you try to make use of this automated tools instead of writing code urself.This will also avoid any type casting problem.I tried sending and receiving string as input/output,Of course you have to make some changes on the code generated automatically.
Jim Baiter
Ranch Hand
Joined: Jan 05, 2001
Posts: 532
posted
0
I don't know about that. I just attended a conference with IBM and Microsoft and they were saying web service interoperability was not there yet.
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by Jim Baiter: I just attended a conference with IBM and Microsoft and they were saying web service interoperability was not there yet.
Hi Jim, Can you be more specific,is there any website which shows the outcomes of that conference.?
Jim Baiter
Ranch Hand
Joined: Jan 05, 2001
Posts: 532
posted
0
Nah, it was a small conference but I'm sure you can contact these vendors and verify it with them. They are committed to interoperability they just said it's not there today.