• 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
Updating the endpoint URL for a SOAP request (WSMethodInvocationRef)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Updating the endpoint URL for a SOAP request (WSMethodInvocationRef)


  • Subject: Updating the endpoint URL for a SOAP request (WSMethodInvocationRef)
  • From: "John C. Fox" <email@hidden>
  • Date: Thu, 25 Mar 2004 15:35:36 -0800

Hello:

I've been working with Cocoa web services, namely the stub code that is
generated from WSMakeStubs.

Among the things it does is automatically generate a bunch of code for
each SOAP method found in a WSDL file, but it hard codes the URL based
on the value found in the WSDL. In other words, is looks something
like this:

- (WSMethodInvocationRef) genCreateInvocationRef
{
return [self createInvocationRef
/*endpoint*/: @"http://some.host.com/somesoapservice";
methodName: @"authenticateUser"
protocol: (NSString*) kWSSOAP2001Protocol
style: (NSString*) kWSSOAPStyleRPC
soapAction: @""
methodNamespace: @"urn:activemedia-soap-service"
];
}

I want to be able to set the value of the "endpoint" url of the
WSMethodInvocationRef that is created for me. I found this in Apple's
documentation:

void WSMethodInvocationSetProperty(
WSMethodInvocationRef invocation,
CFStringRef propertyName,
CFTypeRef propertyValue);

Is this what I should be using, and if so, what is the the propertyName
I should use.

Sorry if this is really obvious, but maybe most people using SOAP do so
against a fixed public server such as Amazon where having the code
stubs generated from a WSDL with a fixed URL is fine.

Many thanks in advance to anyone who can help,

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


  • Prev by Date: re: [OT]xcode troubles
  • Next by Date: Re: Access to ADC TV (142 free sessions ?)
  • Previous by thread: re: [OT]xcode troubles
  • Next by thread: [ANN]: AutoDoc Face
  • Index(es):
    • Date
    • Thread