Pradeep Bommisetty

Greenhorn
+ Follow
since Apr 18, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Pradeep Bommisetty

I am trying to replace a string on line 2 based on a string value in line 1, is there any way to do that easily ?
Below is the sample file. If TOKEN value is -1, change the value in SYNCLOST to Y if not, ignore.
<REQUEST1>
<PAYEESYNCRS>
<TOKEN>-1</TOKEN>
<SYNCLOST>N</SYNCLOST>
</PAYEESYNCRS>
<PMTSYNCRS>
<TOKEN>0</TOKEN>
<SYNCLOST>N</SYNCLOST>
<BANKACCTFROM>
<BANKID>243374218</BANKID>
<ACCTID>1006000382</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE></BANKACCTFROM></PMTSYNCRS>
<RECPMTSYNCRS>
<TOKEN>-1</TOKEN>
<SYNCLOST>N</SYNCLOST>
10 years ago
For Axis2 client programs, All you need to do is, use a different constructor

replace the standard
ServiceNameStub stub = new ServiceNameStub();
with
ServiceNameStub stub = new ServiceNameStub(null, "http://localhost:8080/axis2/services/ServiceName.endPoint");

13 years ago