Quantcast
Channel: Web Service Help
Viewing all articles
Browse latest Browse all 248

(no title)

$
0
0

Hi. I'm trying to consume a third-party webservice. I was able to complete the consume web service wizard. When using the following code, I get an error message.
&MSG = CreateMessage(Operation.GETUSERPROFILE, %IntBroker_Request);
&Sdoc = CreateSOAPDoc();
&Sdoc.AddMethod("eps:GetUserProfile", 1);
&Sdoc.addparm("eps:strSecurityToken", "");
(more parms here)
&OK = &Sdoc.ValidateSOAPDoc();
&MSG.SetXmlDoc(&Sdoc.XmlDoc);
&ResponseMsg = %IntBroker.SyncRequest(&MSG);

Here is the error I'm getting:
This method can only be used by nonrowset-based messages. (2,852) W3EB_ENR_LBL.INFO_SELECT.FieldChange PCPC:939 Statement:11
Only messages that have no records and fields (i.e., nonrowset-based messages) can use this method.

This doesn't make sense to me since the WSDL is from a third party, and is a non-rowset based message. Can anyone please help with this issue? Thanks!


Viewing all articles
Browse latest Browse all 248

Trending Articles