Paul, which module are you using? sml:ExportToXMLFile? That being the case, bind your XML to the variable ?xml in the SPARQLMotion pipeline. The mime time will be application/xml. You can also use sml:ReturnText and set the mime type to application/xml.
-- Scott On Jun 6, 7:11 am, PaulZH <[email protected]> wrote: > I want to achieve from within TBCME the similar as using curl: > > curl $URL --data-binary @$f -H 'Content-type:application/xml' > where $f refers to XML files. > > I have following situation in my SPARQLMotion script as seen in the > debugger > > Argument sml:content (xsd:string) : (S) <add>..<!-- more XML--> ..</ > add> > Argument sml:contentType (xsd:string): (S) application/xml > Argument sml:outputVariable (xsd:string): (S) response > Argument sml:url (xsd:string) (S)http://www.etc... > > Using these arguments the external Tomcat server running Solr throws > following error: > HTTP Status 400 - missing content stream. > > What am I overlooking? -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
