Well can't you just find the ip address you want to change and then just change it.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
I don't get what you mean. Sorrie. runtime? What difference does it make if you change it at runtime or later?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Erm is your wsdl file valid xml scheme?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Can you post the contents of your wsdl file and hightlight the ip address you need to change.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Er, have you heard of string.replace?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
well this error,
the supplied xmlinstance is a schema or contains an inline schema.this class cannot infer a schema for a schema
seems to be saying your file has a schema within a schema. If your file isn't legitimate xml then it won't get any further?
To be honest I'm just guessing. Maybe someone else can help you.
Also another spot:-
replace(ds.tables(0).rows(0).item(0),"http://172.13.15.65/test12/service.asmx")
Don't you need quotes around the web adress?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
i dt need the quotes......
Are you sure, all the examples using string replace have quotes.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Karan: I really don't know VB that well, but don't you have to put the ip address in quotes?
ds.tables(0).rows(0).item(0)=ds.tables(0).rows(0).item(0).tostring.replace(ds.tables(0).rows(0).item(0), "http://172.13.15.65/test12/service.asmx")
Ancient Dragon
Retired & Loving It
30,050 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343