How to change WSDL/SOAP url's when moving between environments?

Avatar

Avatar
Affirm 1
Level 2
Pinecone28
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 2
Pinecone28
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Affirm 1
View profile
Pinecone28
Level 2

29-01-2009

I've got a few forms that use web services, so I have wsdl and soap url's defined in my forms and in the web service processes. How can these be updated when moving the forms to a new enviroment? (sandbox, development, qa, prod) And is there a better method to use than coding the actual url? is there a way to code a reference to a parameter?

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

29-01-2009

You can add scripts to the forms that will programmatically change the URIs. I have comment on this topic in the Designer forum. Have a look there and see if you can find the previous post.

Avatar

Avatar
Level 3
rveldpau
Level 3

Likes

0 likes

Total Posts

42 posts

Correct reply

0 solutions
View profile

Avatar
Level 3
rveldpau
Level 3

Likes

0 likes

Total Posts

42 posts

Correct reply

0 solutions
View profile
rveldpau
Level 3

05-03-2009

I also think that the best way to handle this is through scripts. On the first form we developed we used the hard-coded urls and found this to be a pain. On our second form we've started to not use the Data Connections at all and strictly use JavaScript to accomplish all of our connections.



But if you have a form that is currently using hard-coded urls. I found an easy way to change them was to go into the XML Source View and do a Find/Replace on the url.

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

05-03-2009

I put mine in a database. The DataSource in every environment is the same name so that can be hard coded. All environment specific values can then be read from a table unique to the corresponding environment.