Inserting Data into WsdlRequests
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2010
02:05 PM
09-22-2010
02:05 PM
Inserting Data into WsdlRequests
Hi there, I am doing programmatic automation of SOAP requests. I enumerate the requests and then replace certain values with longer strings which i generate.
The code looks like:
The problem that I am having is that only the first character of myData is being inserted. This doesn't really make much sense to me. Any ideas?
The code looks like:
convertedRequest = (WsdlRequest) targets.get(targ);
convertedRequest.setRequestContent(stripNonValidXMLCharacters(convertedRequest.getRequestContent().replace(">?<", ">"+myData+"<")));
The problem that I am having is that only the first character of myData is being inserted. This doesn't really make much sense to me. Any ideas?
0 REPLIES 0
