From: Richard L. <Ric...@pw...> - 2003-11-26 18:33:19
|
Hi all, Question...When I want to submit a file to the registry using soap, I = create a SubmitObjectRequest_MyObject.xml, and then create a target=20 Sample Target File <target name=3D"loadMyObject" > <java = classname=3D"com.sun.ebxml.registry.interfaces.soap.SOAPSender" = fork=3D"yes" failonerror=3D"true"> <sysproperty key=3D"http.proxyHost" value=3D"${proxyHost}"/> <sysproperty key=3D"http.proxyPort" value=3D"${proxyPort}"/> <sysproperty key=3D"org.apache.commons.logging.Log" = value=3D"${apacheLog}"/> <arg line=3D"req=3D${samples}/GoC/SubmitObjectRequest_MyObject.xml = alias=3DRegistryOperator localCall=3D${localCall} = url=3D${ebxmlrr.url.soap} res=3Dresponse.xml = attach=3Dmisc/samples/GoC/IJIDataElement.xml,text/xml,urn:uuid:d6856bf4-8= afb-4661-88cd-e5a2074951a4"/> <classpath refid=3D"server.run.classpath"/> </java> </target> Is there a way to submit an object (with an attached file) using soap = remotely, without having to create a target and use the user-build.xml = file? Also, in the case of submitting a number of xml documents from a single = file (parcing each document and submitting each as a registry object), = can we specify a variable in place of a file name? Thanks, Richard Lessard Programmer/Systems Analyst Public Works and Government Services Canada 11 Rue Laurier, PdP III, 4A1. Hull, Quebec K1A 0S5 Phone : (819) 956-0550 ric...@pw... |