IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Transformation using remote stylesheets is not allowed

    Posted Thu April 17, 2003 03:42 PM

    i get the error message “Transformation using remote stylesheets is not allowed” and don’t know what that means.
    I use this Query:
    http://localhost/examples/servlet/com.softwareag.tamino.passthru.TaminoFilter/tamino/mydb/Telephone?_xql=/Telephone&_xslsrc=http://localhost/tamino/mydb/ino:etc/xsl:stylesheet/@1



    http://localhost/examples/servlet/com.softwareag.tamino.passthru.TaminoFilter/tamino/mydb/Telephone?_xql=/Telephone
    when i use this Query it works, but without xsl transformation which is normal.

    thank you for your help


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Transformation using remote stylesheets is not allowed

    Posted Thu April 17, 2003 05:50 PM

    From a bit of experimentation today, the passthru servlet seems to check if the hostname portion of the servlet request matches the hostname portion of the _xslsrc parameter. If they differ, and the servlet parameter in web.xml is set to no (default):

    allowremote
    no

    then you get this error. I can’t see why you are getting this error because both hostnames appear to be “localhost”. But you could try setting allowremote to yes in web.xml and see if it bypasses the problem for now.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Transformation using remote stylesheets is not allowed

    Posted Fri April 18, 2003 07:23 PM

    Hi Eric

    pls check the documentation of the “allowremote” parameter in the section “Configuring the Tamino Passthru Servlet” - that should answer your question.

    Best regards
    Uli


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: Transformation using remote stylesheets is not allowed

    Posted Tue April 22, 2003 03:07 PM

    Thank you for your reply.

    I was setting allowremote to yes but i still get the same error. is there anybody out there who experienced the same problem? I’m using Tamino 4.1.1.1, Apache 1.3.27 Tomcat 3.3a, jdk 1.4 and TaminoPassthruServlet 4_1_1_1.


    #Tamino
    #webMethods
    #API-Management


  • 5.  RE: Transformation using remote stylesheets is not allowed

    Posted Sat April 26, 2003 01:37 AM

    This message definitely means that the servlet thinks the allowremote parameter is set to “no”. I think there must be something wrong in your configuration.

    (You also need to be aware that allowing a remote stylesheet to be loaded from an untrusted site on the web is a security risk. It might contain calls to Java extension functions which execute on your server and can cause arbitrary damage.)

    Michael Kay


    #webMethods
    #API-Management
    #Tamino