• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebServices Question (plus some additional details)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebServices Question (plus some additional details)


  • Subject: Re: WebServices Question (plus some additional details)
  • From: Tom Ryan <email@hidden>
  • Date: Tue, 20 Jan 2004 18:09:47 -0500

Mark,

I found that bug as well in the WSDL-generated files -- one has to declare by hand the actual *value* of the SOAPAction.


On Jan 20, 2004, at 9:53 AM, Mark wrote:

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.
_______________________________________________
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.

References: 
 >RE: WebServices Question (plus some additional details) (From: "Mark" <email@hidden>)

  • Prev by Date: quit AE not called on a scriptable app
  • Next by Date: Preloading sounds
  • Previous by thread: RE: WebServices Question (plus some additional details)
  • Next by thread: RE: WebServices Question (plus some additional details)
  • Index(es):
    • Date
    • Thread