SOAPCall API

View: New views
2 Messages — Rating Filter:   Alert me  

SOAPCall API

by geewers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Everyone

I think this topic has been discussed, so I don't want to waste
anyone's time. If someone can send me in a direction where I can find
white papers or an online resource I will greatly appreciate it.

Scenario:
I'm consuming a web service from IE & firefox. I have no problem with
IE but for some reason my parameters (SOAPParameters) are null when I
hit the web service.
I have followed a few documents online that which indicated that I
need to set the parameter schemaType. I have done this and also
tracked my request using a packet monitoring tool and all seems fine.

The moment I step through my code my parameters are null. I'm using a
basic approach for firefox as I am new to catering for firefox users

Here is my code extract, this is just to check that it works
------------------------------------------------------------------------------------
var enc = null;
var senc = new SOAPEncoding();
enc = senc.getAssociatedEncoding("http://schemas.xmlsoap.org/soap/
encoding/",false);
var coll = enc.schemaCollection;
var type = coll.getType("string","http://www.w3.org/2001/XMLSchema");

var param = new SOAPParameter();
param.name = "groupId";
param.value = groupId;
param.namespaceURI = "http://tempuri.org";
param.schemaType = type;


portalProviderService = InitNetscapeService();
portalProviderService.encode(0,"SVGroupGeneralSummary","http://
tempuri.org/SVGroupGeneralSummary",0,null,1,new Array(param));
portalProviderService.actionURI = "http://tempuri.org/
SVGroupGeneralSummary";
portalProviderService.asyncInvoke(testResult);
-------------------------------------------------------------------------------------------------------

Thanks in advance
_______________________________________________
dev-tech-xml mailing list
dev-tech-xml@...
https://lists.mozilla.org/listinfo/dev-tech-xml

Re: SOAPCall API

by geewers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I have managed to get around this problem by using the script manager
of the ajax extensions.
This component is supported by most browsers.

Thanks
_______________________________________________
dev-tech-xml mailing list
dev-tech-xml@...
https://lists.mozilla.org/listinfo/dev-tech-xml