RE: WebServices Question (plus some additional details)
RE: WebServices Question (plus some additional details)
- Subject: RE: WebServices Question (plus some additional details)
- From: "Mark" <email@hidden>
- Date: Tue, 20 Jan 2004 07:53:34 -0700
Well persistence pays off. After a circuitous route of googling and WDSL
comparisons I found the answer to my most basic of problems.
The bottom line was that I needed to change the binding style from document
to rpc on my .NET web service. I did this by adding the following class
attribute:
[SoapRpcService(RoutingStyle=SoapServiceRoutingStyle.SoapAction)]
Then I remade the stubs using WSMakeStubs. I had to fix a bug I discovered
earlier regarding the soapAction in the auto generated class, but it worked
like a charm.
The bug that I discovered is in the WSGeneratedObj.m file in the
createInvocationRef method. There is a variable "soapAction" that is passed
in as a parameter and then redeclared and set as @"SOAPAction"; Then a call
is made to copyHeaderDicationary where both the values and the keys are set
to the same "soapAction" variable. I just altered the parameter name and the
name associated with the "extraVals" parameter of the copyHeaderDicationary
call.
I've got what I think is a lead on returning a recordset and I'll post that
here when I get it to work. So far I think it has to do with setting the
kWSRecordType parameter. I found an article and sample at
http://www.stepwise.com/SpecialCoverage/ORA2002/ that might shed some light
- look for WebServicesIntro.tgz.
-mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.