locked
SoapDataSource RRS feed

  • Question

  • I've scoured the web and a bit cross eyed now.  I am using WSS30 and spd2007

    I have a DataFormWebPart part, in it i have a field that I need to be a dropdown list. That list from an external webservice. Setting up the data source library I have created the XML Webservice Datasource in the Data Source Library and it shows data, but if I add a SoapDataSource to the existing DataFormWeb and try to set the DVDropdown data field and value field there is nothing to select. I added the xpath but just received a page error. I don't know if I am thinking right but I am not the only perong who needs this. Does any one have any input that could help? I have read so many places but they were not relavent this.

    <WebPartPages:DataFormWebPart runat="server" ...

    <SharePoint:DVDropDownList runat="server" id="DVDropDownList1"
    datasourceid="SoapDataSource1" datatextfield="" datavaluefield="" />

    <SharePoint:SoapDataSource runat="server" id="SoapDataSource1" AuthType="None"
    WsdlPath="https://{server}/{servicepath}.asmx?wsdl"
    SelectUrl="https://{server}/{servicepath}/ENT/FIMSWebService/WebService.asmx"
    SelectAction="urn:{domain}:webservices:WS/ListDepartments"
    SelectPort="WebServiceSoap" SelectServiceName="WebService">
    <SelectCommand><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ListDepartments xmlns="urn:{domain}:webservices:WS">
    <deptType>All</deptType></ListDepartments></soap:Body>
    </soap:Envelope>
    </SelectCommand>
    </SharePoint:SoapDataSource>
    </WebPartPages:DataFormWebPart />



    • Edited by Jimmerman Friday, March 16, 2012 6:19 PM
    Friday, March 16, 2012 6:17 PM

Answers

  •  

    Hi jimmerman,

    From your description, I think you should debug it , you’d better ensure you can get the data by the web services. Please fill the “datatextfield” and “datavaluefield” with your fied. Please do not try to bind the SoapDataSource with DVDropdown, the format of the data is vastly different.

    Thanks,

    Jack

    Tuesday, March 20, 2012 4:42 AM
    Moderator