×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    28

    Wsdl2cpp - No Callbackclasses generates

    Hi,

    i use the wsdl2cpp command line interface for generate the c++ files.

    I got the Service.h and cpp and the types file, but no consumer class.
    (the Servicename is Service. not my idea)

    Does the command wasdl2cpp filename.wsdl normally generate the Consumer class?

    Or don't i need it for using "my" webservice like that:

    CMyWebServiceConsumer* pObserver = CMyWebServiceConsumer::NewLC();
    CMyWebService* pService = CMyWebService::NewLC(*pObserver,
    *pServiceDesc);

    Hope anybody can help me!
    Thanks

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Wsdl2cpp - No Callbackclasses generates

    You mean that the .cpp file was not created or that the file did not contain the class code? The callbacks are created in a file called xxxxServiceConsumer.cpp/h (you get no choice for name for that one). In the wizard you can also select whether or not the callback class is generated (default is that it is generated), no chance of having unseleted that if the file does not appear?

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    28

    Re: Wsdl2cpp - No Callbackclasses generates

    Thanks.

    No the Consumer files wasn't created.

    I use the commandline interface with the command wsdl2cpp Service.wsdl.
    The output is Creating the both type files (cpp/h) and the both service file (cpp/h) and that was all. There are no other files in the directories.

    Must i change the command?

  4. #4
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Wsdl2cpp - No Callbackclasses generates

    Hi,

    Yes, the command then needs an extra parameter:

    Options:
    --callback-class ^<class^>
    Name of the callback class. Creates the callback skeleton files.


    You can get help by callling the commandline command with no parameters.

  5. #5
    Registered User
    Join Date
    Mar 2006
    Posts
    28

    Exclamation Re: Wsdl2cpp - No Callbackclasses generates

    Thank you for your help.

    I type it in the wrong way.

Similar Threads

  1. CustomItem - generates IllegalAccessError
    By fsukhu in forum Mobile Java General
    Replies: 2
    Last Post: 2007-03-30, 14:38
  2. N9200 (Perl) Application Wizard generates buggy code?
    By bitnir in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-04-14, 04:33
  3. Symbian 6.1 SDK generates Java asserion failure
    By svalexandroff in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-10-10, 14:57
  4. AIF Builder generates error or doesn't start at all :(
    By port513 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-22, 12:54
  5. Is there a tool that generates MM1 messages
    By mneti in forum General Messaging
    Replies: 1
    Last Post: 2003-02-06, 06:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×