You need to sign in to do that
Don't have an account?

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
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

Yes, your wsdl is used, but there is a bit of forwarding going on.