Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8248433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:11:14+00:00 2026-06-07T23:11:14+00:00

I got the following generated code from sudzC and the generated code showing error.

  • 0

I got the following generated code from sudzC and the generated code showing error. I corrected some of errors and now getting in following line of code.

.h file

- (SoapRequest*) CreateAdvocacyData: (id) target action: (SEL) action oNode: (nil) oNode;

.m file

- (SoapRequest*) CreateAdvocacyData: (id) _target action: (SEL) _action oNode: (nil) oNode
        {
        NSMutableArray* _params = [NSMutableArray array];

        [_params addObject: [[[SoapParameter alloc] initWithValue: oNode forName: @"oNode"] autorelease]];
        NSString* _envelope = [Soap createEnvelope: @"CreateAdvocacyData" forNamespace: self.namespace withParameters: _params withHeaders: self.headers];
        SoapRequest* _request = [SoapRequest create: _target action: _action service: self soapAction: @"http://www.avectra.com/2005/CreateAdvocacyData" postData: _envelope deserializeTo: nil];
        [_request send];
        return _request;
    }

called from other file

[service CreateAdvocacyData:self action:@selector(CreateAdvocacyDataHandler:) oNode: [[ alloc] init]];

These all are generated code by sudzc.
I have doubt:

  • Please suggest me changes in this line of code.

  • Please explain meaning of
    action:@selector(CreateAdvocacyDataHandler:)

  • Can i pass in oNode:nil instead of [[ alloc] init] (error).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:11:17+00:00Added an answer on June 7, 2026 at 11:11 pm

    There were some some problems in generated code and I corrected it (form sudzc.com).

    - (SoapRequest*) CreateAdvocacyData: (id) target action: (SEL) action oNode: (nil) oNode;
    

    modified to

    - (SoapRequest*) CreateAdvocacyData: (id) target action: (SEL) action oNode: (id) oNode;
    

    I understood the meaning of SEL (thanks vittal)
    http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/objectivec/Chapters/ocSelectors.html

    and I solved the third issue by passing nil instead of [[ alloc]init]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got following code from net and it looks everything is proper but i'm
I've got three strings generated from a long process of combined queries and file
I have some C# code I got from http://bytes.com/topic/c-sharp/answers/572657-net-clipboard-metafiles that copies a cell range
I have got the following class generated from xsd.exe. Thats why i can't just
i got the following code : #!/usr/bin/python2.6 from lxml import etree n = etree.Element('test')
I got following code in an XHTML-document and every browser saysit is malformed :(
I got following error... System.NullReferenceException: Object reference not set to an instance of an
I've got following code in my AsyncTask. The only thing I want the AsyncTask
I've got following problem: (c#) There is some class (IRC bot), which has method,
I got the following assignment - I have a certain java code for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.