Using SUDS SOAP client how do I specify web service URL. I can see clearly that WSDL path is specified in Client constructor but what if I wan’t to change web service url?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Suds supports WSDL with multiple services or multiple ports (or both), and without having any detailed information on what you’re working with, I am only guessing that this is what you are looking for. This question would be easier to answer if you provided more detail, such as what your
Clientinstance looks like.After you have successfully constructed a
Client, you canprintit to see the available services, methods, ports, and types.The following example is straight from the suds documentation.
Example from suds site:
Outputs this:
Each service can be accessed in many ways, but here is a different port from each service qualified by method:
Is that the kind of thing you’re working with? If so, visit their documentation, which I think you’ll find more than adequate. If not, please consider adding as much detail as possible to your question to give us more to work with!