Erreur : mappage fichier xsf - InfoPath Dev
in

InfoPath Dev

Erreur : mappage fichier xsf

Last post 02-21-2007 10:26 PM by Coita Thierry. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 02-19-2007 03:17 AM

    Erreur : mappage fichier xsf

    Salut,

    J'ai l'erreur suivante lorsque je veux envoyer mes données vers une Webméthod :

    Le fichier de définition de formulaire (.xsf) contient un mappage non valide du document vers le service Web d'envoi.

    Je ne comprends pas trop ce que cela veut dire... J'ai vider la méthode pour bien isoler le problème donc elle ne fait plus rien...
  • 02-19-2007 05:11 AM In reply to

    Re: Erreur : mappage fichier xsf

    Salut,

    Il faut que tu ouvre ton fichier Manifest.xsf et que tu regarde dedans si il n'y a pas quelque chose de bizarre dans les balise xsf:dataObjects qui contienne de xsf:dataObject et la doit y avoir une bulle...

    ou

    Que tu refasse (faire tourner le petit assistant) dans ton menu bdd secondaire pour la connexion en question.

    A toi de voir essaye la deuxième en premier et après si ca change rien essaye la première.

    ++

    Thierry
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 02-20-2007 05:52 AM In reply to

    Re: Erreur : mappage fichier xsf

    Salut,

    J'ai essayé de refaire la connexion à partir du wizard... Cela ne change rien.

    J'essaye donc d'analyser les contenus du fichier manifest.

    J'ai trouvé ces 2 passages sur le nom de ma connexion UPDATE =


    ...

    <xsf:rule caption="Règle 1" isEnabled="yes">
    <xsf:queryAction adapter="AffichageClients"></xsf:queryAction>
    <xsf:submitAction adapter="Update"></xsf:submitAction>
    <xsf:queryAction adapter="AfficheClient"></xsf:queryAction>
    <xsf:dialogBoxMessageAction>Mise à jour effectuée !</xsf:dialogBoxMessageAction>
    </xsf:rule>



    et à la fin de ceci :


    <xsf:dataAdapters>
    <xsf:webServiceAdapter wsdlUrl="http://10.20.20.103:90/WSTraitex/Service.asmx?WSDL" queryAllowed="no" submitAllowed="yes" name="DeleteClients">
    <xsf:operation name="DeleteClient" soapAction="http://tempuri.org/DeleteClient" serviceUrl="http://10.20.20.103:90/WSTraitex/Service.asmx">
    <xsf:input source="Submit4.xml">
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:DeleteClient/tns:Tab" replaceWith="/dfs:myFields/dfs:dataFields/tns:GetClientsMasseResponse/tns:GetClientsMasseResult" dataObject="AffichageClients"></xsf:partFragment>
    </xsf:input>
    </xsf:operation>
    </xsf:webServiceAdapter>
    <xsf:webServiceAdapter wsdlUrl="http://10.20.20.103:90/WSTraitex/Service.asmx?WSDL" queryAllowed="no" submitAllowed="yes" name="InsertClient">
    <xsf:operation name="InsertClient" soapAction="http://tempuri.org/InsertClient" serviceUrl="http://10.20.20.103:90/WSTraitex/Service.asmx">
    <xsf:input source="Submit5.xml">
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Nom0" replaceWith="/my:mesChamps/my:groupe2/my:tbCode"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Nom1" replaceWith="/my:mesChamps/my:groupe2/my:tbNom1"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Nom2" replaceWith="/my:mesChamps/my:groupe2/my:tbNom2"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Adresse1" replaceWith="/my:mesChamps/my:groupe2/my:Adresse0"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Adresse2" replaceWith="/my:mesChamps/my:groupe2/my:Adresse1"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Adresse3" replaceWith="/my:mesChamps/my:groupe2/my:Adresse2"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:CodeP" replaceWith="/my:mesChamps/my:groupe2/my:tbCodeP"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Localite" replaceWith="/my:mesChamps/my:groupe2/my:tbLocalite"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:IDPays" replaceWith="/my:mesChamps/my:groupe2/my:comboPays"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:IDPaysTVA" replaceWith="/my:mesChamps/my:groupe2/my:comboPaysTVA"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:TexteL" replaceWith="/my:mesChamps/my:groupe2/my:tbTexteLibre"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:NumTel" replaceWith="/my:mesChamps/my:groupe2/my:tbNumTel"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:NumFax" replaceWith="/my:mesChamps/my:groupe2/my:tbNumFax"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Site" replaceWith="/my:mesChamps/my:groupe2/my:tbSite"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:Email" replaceWith="/my:mesChamps/my:groupe2/my:tbEmail"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:StructClient1" replaceWith="/my:mesChamps/my:groupe2/my:tbStructClient1"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:StructClient2" replaceWith="/my:mesChamps/my:groupe2/my:tbStructClient2"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:CodeTarif" replaceWith="/my:mesChamps/my:groupe2/my:tbCodeTarif"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:IDDevise" replaceWith="/my:mesChamps/my:groupe2/my:comboDevise"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:IDLangue" replaceWith="/my:mesChamps/my:groupe2/my:comboLangue"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:InsertClient/tns:IDTVA" replaceWith="/my:mesChamps/my:groupe2/my:comboTVA"></xsf:partFragment>
    </xsf:input>
    </xsf:operation>
    </xsf:webServiceAdapter>
    <xsf:webServiceAdapter wsdlUrl="http://10.20.20.103:90/WSTraitex/Service.asmx?WSDL" queryAllowed="no" submitAllowed="yes" name="Update">
    <xsf:operation name="UpdateClient" soapAction="http://tempuri.org/UpdateClient" serviceUrl="http://10.20.20.103:90/WSTraitex/Service.asmx">
    <xsf:input source="Submit.xml">
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:UpdateClient/tns:Tab" replaceWith="/"></xsf:partFragment>
    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/tns:UpdateClient/tns:SUPPRESSION" replaceWith="/my:mesChamps/my:AfficheClient/my:checkSup"></xsf:partFragment>
    </xsf:input>
    </xsf:operation>
    </xsf:webServiceAdapter>
    </xsf:dataAdapters>


    Je ne vois vraiment rien de spécial... Les arguments sont bien ceux spécifiés. Je dois cherché après quoi selon toi ?

    Bien à toi.
  • 02-20-2007 05:59 AM In reply to

    Re: Erreur : mappage fichier xsf

    Mais c'est laquelle qui pose problème tu ne me le dit pas? DeleteClients, InsertClient ou Update?

    Et si tu l'efface et tu la remets ta bdd secondaire?
    En prenant bien soit de fermer et de réouvrir le formulaire entre les deux manip?
    oublie pas de faire un sauvegarde avant...
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 02-20-2007 06:07 AM In reply to

    Re: Erreur : mappage fichier xsf

    C'est l'Update...
    Je viens d'essayer de la supprimer, sauver, relancer, ajouter, sauver, relancer. Cela me fait le même problème... Pfff
  • 02-21-2007 06:34 AM In reply to

    Re: Erreur : mappage fichier xsf

    C'est au moins pas les tns: qui se sont transformé en ns2: ? tu peux le vérifier dans Infopath quand tu affiche le bdd secondaire?
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 02-21-2007 08:14 AM In reply to

    Re: Erreur : mappage fichier xsf

    J'ai recommencé le formulaire finalement... j'en avais trop marre de chercher.

    Merci de ton aide.
  • 02-21-2007 10:26 PM In reply to

    Re: Erreur : mappage fichier xsf

    J'aurais fait la même chose car des fois vaut mieux pas trop chercher
    car l'erreur provient des trous noir d'Infopath ;)
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.