2011-07-19 14 views
0

からsharepointリストの新しい項目を挿入するには、sharepoint-as3-connector(http://code.google.com/p/sharepoint-as3-connector)を使用して、フレックスからsharepointリストに新しい項目を挿入しようとしています。しかし、私は次のエラーを取得しています。フレックス

Response XML:<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    <soap:Body> 
<UpdateListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"> 
    <UpdateListItemsResult> 
    <Results> 
     <Result ID="1,UpdateList.NEW"> 
     <ErrorCode>0x8102000a</ErrorCode> 
     <ErrorText>Invalid URL Parameter 

提供されたURLに無効なコマンドまたは値が含まれています。もう一度URLを確認してください。以下

石鹸URLで行わヘッダです。

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
    <soap:Body> 
<UpdateListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/"> 
    <listName> 
    TestList 
    </listName> 
    <updates> 
    <Batch OnError="Continue"> 
     <Method ID="1" Cmd="UpdateList.NEW"> 
     <Field Name="ows_LinkTitle"> 
      222222 
     </Field> 
     </Method> 
    </Batch> 
    </updates> 
</UpdateListItems> 

助けてください!

答えて

0

Method要素のCmd属性に無効なコマンドを指定しています。 MSDN article for the Method elementパー

Cmdの有効な値は次のとおりです。

  • を削除します更新

私は、 "SharePointの-AS3-コネクタ" での経験がない、とあなたの人生を楽にするのはそこにあると思います。しかし、Lists Webサービス(とくにUpdateListItems method)のMSDNのドキュメントを参照することで、SharePointが期待していることを知ることができます。 SharePointは繊細な花であり、厳しく扱うことはできません。あなたはそれを幸せにしたいと思うものを正確に知る必要があります。

MSDNでのウォークスルー:How to: Update List Items