function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
balakrishna mandula 6balakrishna mandula 6 

remote server error Error code 400 bad server

I am new to webservices, I am working on Integration with SQL Server using BULK API. There is already a .Net tool which is used to load data from/to SFDC to/from SQL Server using SOAP API. When we run this tool it loads data from SQL Server to SFDC vice versa.
There is App.config file in the tool which is used for SOAP API ( I hope so because I don't know .net). My job is to do small changes in the tool for BULK API.

App.config

<applicationSettings>
        <Synchronization_Tool.Properties.Settings>
            <setting name="Synchronization_Tool_PROD_SalesForce_SforceService" serializeAs="String">
                    <value>https://test.salesforce.com/services/Soap/u/12.0</value> // this working fine
                    <!--<value>https://ap1.salesforce.com/services/async/30.0/job</value>--> //This bulk api is giving    error like Remote server error.
                  </setting>
      </Synchronization_Tool.Properties.Settings>
</applicationSettings>

There is also Reference.cs file in the Visual Studio tool which is generated automatically by the tool. The generated code contains few lines which are having soap word as below.

Reference.cs

[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:partner.soap.sforce.com")]

public partial class UpsertResult {


Please help me to work for BULK API. where should I change the code, how to solve.

Thanks in advance

Regards
Balakrishna