Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Microsoft SOAP vs Oracle/Apache SOAP

 
Henkie Maritz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure whether this code will work,i never tested but u can try

Regards
Balaji
 
Henkie Maritz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks - I've tried this and still gives me the same results.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Piyush Daiya
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can visit
http://soap.systinet.net/interop/
for inter-op between different types of soap implementations.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic