cancel
Showing results for 
Search instead for 
Did you mean: 

Change XML Web Services Connection at Run Time

Former Member
0 Kudos

Hello, I am using an XML/Web Service Connection (HTTP(S) Data Source and HTTP(S) Schema URL) and need to change the location of the HTTP(S) Data Source at run time, for example from "/Integration.svc/GetDataView/463/en/3/50" to "/Integration.svc/GetDataView/463/en/3/62" (only the last number changes).

Could someone please let me know the method or property to set to change the URL string for the XML web service data source at runtime? Is it on the ReportDocument object?  I haven't been able to find a method or property to set anywhere.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

Hi Richard,

Please search before posting.

I used the top right corner search box on this page and entered "change, XML, Web Service, connection, runtime, crystal, .net" keywords.

here is the first result (a KBA) returned by the search.

1702231 - How to change the XML WebService datasource of a Crystal report at runtime using InProc RA...

Try the code provided in the KBA.

- Bhushan

Senior Engineer

SAP Active Global Support

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Getting started and moving ahead with Crystal Reports .NET applications.

Former Member
0 Kudos

Hi Bhushan,

Thanks a lot, I got it to work based on that article.

Regards,

Richard

former_member188030
Active Contributor
0 Kudos

Happy to help:).

-Bhushan

Answers (0)