logo       

SOAP/Web Services, Why Empty Parameters??: msg#00024

Subject: SOAP/Web Services, Why Empty Parameters??
I've written a web service in Visual Studio .Net 2003 and access it with IE
using webservice.htc without a problem.  I'm trying to make it work with
Mozilla 1.6 and it connects to the web service but all the parameters are
empty!  I set up the debugger in VS and it traps the call like it should...
however all the parameters evaluate to "Nothing".

I think I've tried every variation on how to create the parameter list, I've
event tried setting all the parameters to simple string constants but no
difference.  The web service code runs like it should... I can trap it in
debug and follow it from line to line except its trying to work with
parameters of "Nothing" which isn't quite what I was wanting to happen.

SO CLOSE... and yet so far.  Any help would be greatly appreciated.  This
has got the better of me for a VERY long time.

Thanks so much,

Steve

The web method on the server side looks like:
<WebMethod(Description:="Launchs a SCO based on the CADE LMW")> _
Public Function LMSLaunch(ByVal org_int As String, ByVal person_int As
String, ByVal course_int As String, ByVal sco_identifier As String, ByVal
strData As String) As String


On the client side I'm using an .asp, and the code... although it seems like
I've tried a thousand variations... looks like:

 var method = "LMSLaunch"
 var soapVersion = 0
 var headers = [ ]
 var params =   [
      new SOAPParameter(org_int,"org_int"),
      new SOAPParameter(person_int,"person_int"),
      new SOAPParameter(course_int,"course_int"),
      new SOAPParameter(SCO,"SCO"),
      new SOAPParameter("<%=url%>","strData")
      ]

 var CADEAPI = new SOAPCall();
 CADEAPI.transportURI = "http://www.velocedge.com/net/LMWAPI/service1.asmx";
 CADEAPI.actionURI = "SCORM12/" + method
 CADEAPI.encode(soapVersion, method, "SCORM12/", headers.length, headers,
params.length, params);
 var results = CADEAPI.invoke()

 if (results.fault) {
    alert(results.fault.faultString)
 }
 else {
      var returnValue = new Array()
      returnValue = results.getParameters(false,{})
      alert('Returned ' + returnValue[0].value)
 }


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe