Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you pass an array of strings with SOAP?
Message
De
19/05/2006 08:57:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01123163
Message ID:
01123535
Vues:
21
>Sorry. I can't give out the real credentials. But it appears that once the credentials clear, their server responds back with invalid parameter from their end. I finally just bypassed the soap toolkit and used xmlhttp and manually built the XML, and it works that way.
>
>When I do the code I send you with the correct credentials I get back an arry with one element which is an object which appears to be empty in Debugger. If I look at the Faxservice object detail property, it has
>
>Client:Incorrect number of parameters supplied for SOAP request HRESULT=0x80070057: The parameter is incorrect.
>
>
>It appears Foxpro thinks it is sending correct format but is not.
>
>Any way to see the soap request as it goes out? I tried the MSSOAPT but can't figure out from the instructions how to make it work. I am not using a proxy server for internet and I think it needs one.
>
>Thanks for your help.

Walt,
I don't want the credentials:)
It has a 4th parameter which is nillable. I think now you hit that one. It's a complex type not string as in was your sample:
      <requestSettings>
        <DIMEDocuments>
          <SecretKeys>
            <SecretKey xsi:nil="true" />
            <SecretKey xsi:nil="true" />
          </SecretKeys>
        </DIMEDocuments>
        <SecurityMode>
          <UseDIME>boolean</UseDIME>
          <DigitallySigned>boolean</DigitallySigned>
        </SecurityMode>
      </requestSettings>
You can write that part out as xml and pass that xml string as 4th parameter.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform