Infopath & vb .net

nerozen Messages postés 1 Date d'inscription jeudi 20 juin 2002 Statut Membre Dernière intervention 17 octobre 2006 - 17 oct. 2006 à 20:19
cs_JACKY007 Messages postés 23 Date d'inscription vendredi 16 septembre 2005 Statut Membre Dernière intervention 1 décembre 2010 - 22 juil. 2009 à 16:49
Bonjour,

J'ai un petit soucis avec Infopath et ASP .net ( vb ):

j'arrive bien à envoyer mon XML à mon web service, mais lorsque que je veux piocher des informations dans le contenu du XML, pas moyen d'y arriver.

Est ce là strucuture de mon fichier XML qui pourrais poser un soucis ? cf le fichier

Quelqu'un a t il déjà eu ce genre de soucis ?

Ou sinon quelqu'un a t il un exemple concret où il aurait fait ce genre de manipulation...

Enfin je suis complètement bloqué par ce petit problème alors si quelqu'un pouvais me filer un petit coup de main, ce serait sympa.

Merci par avance,

++

<?xml version="1.0"?><?mso-infoPathSolution solutionVersion="1.0.0.342" productVersion="11.0.6357" PIVersion="1.0.0.0" href="file:///C:\Documents%20and%20Settings\delruec\Bureau\Demande_De_Travaux.xsn" name="urn:schemas-microsoft-com:office:infopath:Demande-De-Travaux:-myXSD-2006-08-24T10-05-01" ?><?mso-application progid="InfoPath.Document"?><my:demande xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:tns="http://tempuri.org/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-08-24T10-05-01" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xml:lang="fr">

<my:Informations>

<my:Nom_Demandeur>toto</my:Nom_Demandeur>

<my:Prenom_Demandeur>toto</my:Prenom_Demandeur>

<my:nom>titi</my:nom>

<my:prenom>titi</my:prenom>

<my:telephone>5300</my:telephone>

<my:service>1000</my:service>

<my:fonction>72</my:fonction>

<my:responsable>tutu tutu</my:responsable>

<my:societe>1</my:societe>

<my:Nom_Societe></my:Nom_Societe>

<my:regie_service></my:regie_service>

<my:responsable_service></my:responsable_service>

<my:DateDebutMission xsi:nil="true"></my:DateDebutMission>

<my:DateFinMission xsi:nil="true"></my:DateFinMission>

<my:ville></my:ville>

<my:adresse></my:adresse>

<my:tel></my:tel>

<my:site>1</my:site>

<my:Detail_Fonction>MANAGER JURIDIQUE</my:Detail_Fonction>

<my:Tel_Demandeur>5682</my:Tel_Demandeur>

<my:service_libelle>DIRECTOIRE</my:service_libelle>

<my:Valide>true</my:Valide>

</my:Informations>

<my:Demande>

<my:date_realisation>2006-10-23</my:date_realisation>

<my:detail>TEST DE DEMANDE DE TRAVAUX</my:detail>

</my:Demande>

<my:Aff_Materiel>true</my:Aff_Materiel>

<my:Materiel>

<my:Type_Materiel>1</my:Type_Materiel>

<my:Precision_materiel></my:Precision_materiel>

<my:Affectation></my:Affectation>

<my:Statut>1</my:Statut>

<my:Date_Sortie></my:Date_Sortie>

<my:Pret>false</my:Pret>

<my:Date_Fin_Pret xsi:nil="true"></my:Date_Fin_Pret>

<my:Commentaire>TEST DE MATOS CDI</my:Commentaire>

</my:Materiel>

<my:Materiel>

<my:Type_Materiel>2</my:Type_Materiel>

<my:Precision_materiel></my:Precision_materiel>

<my:Affectation></my:Affectation>

<my:Statut>2</my:Statut>

<my:Date_Sortie>2006-10-18</my:Date_Sortie>

<my:Pret>true</my:Pret>

<my:Date_Fin_Pret xsi:nil="true"></my:Date_Fin_Pret>

<my:Commentaire>TEST DE MATOS CDD</my:Commentaire>

</my:Materiel><my:Aff_Logiciels>true</my:Aff_Logiciels>

<my:Logiciels>

<my:Id_Logiciel>29</my:Id_Logiciel>

</my:Logiciels>

<my:Logiciels>

<my:Id_Logiciel>5</my:Id_Logiciel>

</my:Logiciels><my:Logiciels>

<my:Id_Logiciel>25</my:Id_Logiciel>

</my:Logiciels><my:Aff_3270>true</my:Aff_3270>

<my:TN3270>

<my:TPEXPL1>oui</my:TPEXPL1>

<my:TPSEAT1>oui</my:TPSEAT1>

<my:TPSKOD1>oui</my:TPSKOD1>

<my:TPEXPL3>oui</my:TPEXPL3>

<my:TPSEAT3>oui</my:TPSEAT3>

<my:Autres>AUTRE FONCTION TEST</my:Autres>

<my:Marque>1</my:Marque>

<my:Lecture>true</my:Lecture>

<my:MAJ>true</my:MAJ>

<my:V>true</my:V>

<my:S>true</my:S>

<my:Z>true</my:Z>

<my:K>true</my:K>

<my:Commentaire_3270>TEST DE DEMANDE 3270</my:Commentaire_3270>

<my:Part_3270>

<my:MVS></my:MVS>

<my:Tables>TB TEST 1</my:Tables>

<my:TypeAcces>1</my:TypeAcces>

</my:Part_3270>

<my:Part_3270>

<my:MVS></my:MVS>

<my:Tables>TB TEST 2</my:Tables>

<my:TypeAcces>2</my:TypeAcces>

</my:Part_3270></my:TN3270>

<my:SAP>

<my:Detail_SAP>TEST DE DEMANDE SAP</my:Detail_SAP>

<my:new_access>true</my:new_access>

<my:modif_param>true</my:modif_param>

<my:MM>true</my:MM>

<my:FI>true</my:FI>

<my:CO>true</my:CO>

<my:SD>true</my:SD>

<my:Create_User>true</my:Create_User>

<my:Delete_User>true</my:Delete_User>

</my:SAP>

<my:Log></my:Log>

<my:Aff_SAP>true</my:Aff_SAP>

<my:TNMVS></my:TNMVS>

</my:demande>

1 réponse

cs_JACKY007 Messages postés 23 Date d'inscription vendredi 16 septembre 2005 Statut Membre Dernière intervention 1 décembre 2010
22 juil. 2009 à 16:49
Salut,

Je pense que tu devrais y arriver avec la bibliothèque XML de vb.Net ou avec des requêtes XPath sur une bdd SQL Server (le champ étant du type "bride XML")

Jac la menace
0
Rejoignez-nous