IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#38599 - 02/24/12 11:58 AM Soap Plugin Improvement
GFurtado Offline
OL Toddler

Registered: 12/13/10
Posts: 40
Loc: Rio de Janeiro - Brazil
Hi,

Is it possible to make the "WSDL Address" field on the Soap Plugin a dynamic field?
I have some processes that use it, and I need to change all of them every time I deploy to test or production environment.
If it was dynamic, I could use a global variable and solve the problem.

Top
#38600 - 02/24/12 12:43 PM Re: Soap Plugin Improvement [Re: GFurtado]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Unfortunately, no. The WSDL has to be resolved at design-time in order for the plugin to pre-generate the proper function calls.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#38602 - 02/24/12 01:21 PM Re: Soap Plugin Improvement [Re: Philippe F.]
GFurtado Offline
OL Toddler

Registered: 12/13/10
Posts: 40
Loc: Rio de Janeiro - Brazil
But aren't the calls generated only when I click the "Get" button?
I wouldn't mind using the full address to do the "get" and then switch to a global variable.
When I change the environment I only change de wsdl address without doing the "get" and all works.

Top
#38604 - 02/24/12 01:53 PM Re: Soap Plugin Improvement [Re: GFurtado]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Aaaahhh... I think I understand where you're going with this...

Yes, the calls are generated when you press the Get button.
So the only way your method can work is if the SOAP server being referenced by the global variable is absolutely identical to the one you used when you pressed the Get Button.

I am assuming that you want to be able to access information on different servers that implement the exact same SOAP services, right?

Unfortunately, this can't be achieved with the current version of the SOAP plugin. I will move this Topic to the Improvement Request forum to make sure we keep it on file.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#38605 - 02/24/12 02:04 PM Re: Soap Plugin Improvement [Re: Philippe F.]
GFurtado Offline
OL Toddler

Registered: 12/13/10
Posts: 40
Loc: Rio de Janeiro - Brazil
Yes!
My production and test servers have the same services, with the same contract but pointing to different data.

Would be great if I could point the address to a variable after generating the calls.

Thank you.

Top
#40537 - 09/04/12 05:20 PM Re: Soap Plugin Improvement [Re: GFurtado]
GFurtado Offline
OL Toddler

Registered: 12/13/10
Posts: 40
Loc: Rio de Janeiro - Brazil
Is there any plan to implement this feature?
It would be really helpful.

Thanks.

Top