Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Microsoft SOAP vs Oracle/Apache SOAP

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks - I've tried this and still gives me the same results.
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You can visit
http://soap.systinet.net/interop/
for inter-op between different types of soap implementations.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic