Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

.NULL. returned by proxy. Need Header

$
0
0
.NULL. returned by proxy. Need Header
Web Service Proxy Generator
.NULL. returned by proxy. Need Header
Jan. 23, 2013
08:29 pm
3P617X092Show this entire thread in new window
Gratar Image based on email address
From:Steven Black
To:All
Hi Everyone.

I have a web service proxy that's working great. Except for one thing.

The web service I am using has a login service that accepts userName and password and returns an SOAP package that has the subsequent access key in the SOAP header but with empty SOAP body.

Fiddler is telling me everything is working and a SOAP package is coming back as expected: A valid key is in the header.

EXCEPT that the return value from the proxy call to the Login() method is NULL. Of course, the return value in the oService object is NULL too so the Proxy is working.

So the burning question is, how the heck do you capture a just a SOAP header in the absence of a SOAP body?

More info: I need to Extract that key to use with other allied webservices. None of the GetProperty or GetPropertyEx methods seem to work.

There must be a way to hack into the SOAP header when the body's empty. amirite?

The narrative, in code:

loProxy = CREATEOBJECT( "LoginServiceProxy", "V2" ) loBridge= loProxy.oBridge loService = loProxy.oService loBridge.Createinstanceontype( loService, "accessKey","LoginService.LoginHeader" ) && A place for the accessKey to live Result= loproxy.signin("user","password") && Result is NULL ! Fiddler shows the SOAP package's perfect. *--- ...and subsequently this works great Foo=loservice.GetLicenseInfo() && Works! Internally it's used the accessKey I can't seem to extract. ? Foo.Licensee && Returns perfect

How can I get loService to gimme the key?

**--** Steve



Viewing all articles
Browse latest Browse all 10393

Trending Articles