gSOAP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kran
    New Member
    • Jun 2008
    • 1

    gSOAP

    Hi there,

    I got a problem, I have used wsdl2h to generate the C files of my client, but when I call a function I get this message :

    SOAP 1.1 fault: SOAP-ENV:Client [no subcode]
    "Validation constraint violation: data type mismatch soapenc:Array in element <multiRef>"
    Detail: [no detail]

    It means that the request is not good, but I don't understand why ... here is my code :

    [code=c]
    struct soap soap;
    char* login;
    char* password;
    login="blabla";
    password="blabl a";

    soap_init(&soap );

    struct ns4__getUserRes ponse reponse;

    soap_call_ns4__ getUser(&soap,
    NULL,
    NULL,
    login,
    password,
    &reponse
    );
    [/code]

    Has somebody ever had this ?
    (please excuse my english)

    Nico
    Last edited by sicarie; Jun 27 '08, 02:58 PM. Reason: So people can't read your post to learn? That's rude. So's not using code tags.
  • dav01it
    New Member
    • Jul 2008
    • 2

    #2
    Look at the "soapStub.h " if the call is correct (or post the function declaration that's in it)

    Comment

    Working...