×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    3

    Nokia WSDL-to-C++ Wizard

    Hello, I need some help with wsdl. I am trying to make an application using the wsdl wizard from nokia. But I cannot make it connect to the service, I mean no "Access Point Selection" is showed. By debugging I saw that the status variable of the callback doesn't change to KSenConnectionStatusReady. I don't know why. I have tried with different web services, and I got the same problem. I tried what it is posted here: http://discussion.forum.nokia.com/fo...812#post310812
    But still the same problem. Has anybody got a solution? or maybe point to a working example project? Thanks in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Nokia WSDL-to-C++ Wizard

    Maybe you could chekc the HTTP exmaple for required codes, and then see what is different with the generated C++ codes..

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    3

    Re: Nokia WSDL-to-C++ Wizard

    Thanks for the response. I already found the answer, I needed to use CActiveScheduler. This link helped me: http://discussion.forum.nokia.com/fo...ad.php?t=99026
    But I got another problem, the types that are generated by the wizard are to complex, I don't understand them, so I don't know how to use them. Here they are:
    NONSHARABLE_STRUCT(RCurrentOutsideTemperatureResponse_CurrentOutsideTemperatureResult) : public Xsd::MTypedXmlData
    {
    ~RCurrentOutsideTemperatureResponse_CurrentOutsideTemperatureResult() { Close(); }

    const Xsd::TMetaType& MetaInfo() const;
    void Close();

    };


    NONSHARABLE_STRUCT(RCurrentOutsideTemperatureResponse) : public Xsd::MTypedXmlData
    {
    ~RCurrentOutsideTemperatureResponse() { Close(); }

    const Xsd::TMetaType& MetaInfo() const;
    void Close();

    Xsd::RNullablePtr<RCurrentOutsideTemperatureResponse_CurrentOutsideTemperatureResult> iCurrentOutsideTemperatureResult;
    };
    That was part of the header file and here is part of the source:
    // ------------- CurrentInsideTemperature --------------------
    namespace CurrentInsideTemperature
    {

    const Xsd::TMetaElement iBIncludeMinMaxInfo = {
    Xsd::EMetaElement, 100, "http://weather.shellware.com", "bIncludeMinMax",
    { Xsd::EBoolean, NULL},
    (TUint) (&reinterpret_cast<RCurrentInsideTemperature*>(42)->iBIncludeMinMax) - 42, 1, 1
    };

    const Xsd::TMetaInfo* const TChildrenOfTContainer_bIncludeMinMax [] = {
    reinterpret_cast<const TMetaInfo*>(&iBIncludeMinMaxInfo),
    };

    const Xsd::TMetaContainer TContainer_bIncludeMinMax = {
    EMetaContainer, 100, EMetaSequence, TChildrenOfTContainer_bIncludeMinMax, 1
    };

    Xsd::MTypedXmlData* Allocator() {
    return new(ELeave) RCurrentInsideTemperature();
    }

    const Xsd::TMetaComplexType TCurrentInsideTemperatureMetaType = {
    Xsd::EMetaComplexType, 100, "http://weather.shellware.com", "CurrentInsideTemperature",
    &Allocator, &TContainer_bIncludeMinMax, NULL, 0 }; // type

    } // namespace

    void RCurrentInsideTemperature::Close()
    {
    }

    const Xsd::TMetaType& RCurrentInsideTemperature::MetaInfo() const {
    return CurrentInsideTemperature::TCurrentInsideTemperatureMetaType;
    }

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Nokia WSDL-to-C++ Wizard

    Have to say that they do look rather complex to me as well, anyway, just search the headers and check out how all of the Xsd:: things are defined..

Similar Threads

  1. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47

Posting Permissions

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