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
magdamagda 

modify end point url

hi,
how can i modify my endpoint url....

in my wsdl:
 <!-- Soap Service Endpoint -->
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">
            <soap:address location="https://www.salesforce.com/services/Soap/u/11.1"/>
        </port>
    </service>

But when i try this:
  binding = (SoapBindingStub) new SforceServiceLocator().getSoap();
            System.out
                    .println("The login url is: "
                            + binding
                                    ._getProperty(SoapBindingStub.ENDPOINT_ADDRESS_PROPERTY));
      
out: The login url is: https://www.salesforce.com/services/Soap/c/8.0  

What i supose is that my wsdl not realy used. But I don't know how i can see that.
Do you have an idea?

Thx

Magda
Rick.BanisterRick.Banister
Yes, your wsdl is used, but there is a bit of forwarding going on.