Contributions
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: 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?829Views0likes0CommentssetWadlUrl returns null
Hi, Im trying to generate REST requests from a WADL. I am using this code: project = new WsdlProject(); config = RestServiceConfig.Factory.newInstance(); config.setDefinitionUrl(url); service = new RestService(project, config); service.setWadlUrl(url); System.out.println("URL: " + service.generateWadlUrl()); in this case, the url is the location of the wadl. when I run this function, the output is: URL: null.wadl any idea why its not retrieving the wadl?701Views0likes0Comments