Question: crossdomain.xml without web server

Hi, Flex Gurus,
In case where I want to use Flex to communicate with a
non-web server machine, e.g. mysql, where should the
crossdomain.xml reside on the non-web server machine?
thanks,
sw

Well at that point you would put it where ever Flex can load
the file locally and do Security.loadPolicyFile("url"). However if
you are going to be using a socket for the connection I'm pretty
sure crossdomain.xml isn't what you're looking for, with the recent
security changes to the Flash Player I think you are looking more
for a Socket Policy File. You can read up on what I'm talking about
here at the following link.
Policy
File

Similar Messages

  • Install OC4J without web server

    Can you install OC4J with out the web server, so that you only have the application server portion running on a machine? Thanks in advance.

    Can you install OC4J with out the web server, so that you only have the application server portion running on a machine? Thanks in advance. Hi
    I dont think u can install OC4J without web server. But u can for sure disable the web server by commenting the following line in server.xml
         <web-site path="./default-web-site.xml" />
    now, only the application server portion will b running
    regards
    Raees

  • Question about writing a web server

    I was asked to write a simple Web server that responds to HTTP requests received on port 808
    It has the following features:
    1.a request for an HTML document or image file should generate a response with the appropriate MIME type
    2.a request for a directory name with a trailing / should return the contents of the index.html file in that directory (if it exists) or else a suitably formatted HTML listing of the directory contents, including information about each file
    3.a request for a directory name without a trailing / should generate an appropriate Redirect response
    4.a request for a non-existent file or directory should generate an appropriate error response
    5/the Web server should be multi-threaded so that it can cope with multiple
    how to do it?
    may anyone help me please?

    As a startert for ten, try this that I had lying around form a previous
    forum response.
    java -cp <whatever> Httpd 808
    and connect to http://localhost:808 to get an eye-full.
    If you should use this for anything approacing a commercial
    purpose, I will, of course, expect sizable sums of money to be
    deposited in my Swiss bank account on a regular basis.
    Darn it! I'm serious!
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Httpd
         implements Runnable
         private static String HTTP_400=
              "<HTML><BODY><H2>400 Bad Request</H2></BODY></HTML>";
         private static String HTTP_403=
              "<HTML><BODY><H2>403 Forbidden</H2></BODY></HEAD>";
         private static String HTTP_404=
              "HTML><BODY><H2>404 Not Found</H2></BODY></HTML>";
         public static void main(String[] argv)
              throws Exception
              new Thread(new Httpd(Integer.parseInt(argv[0]))).start();
         private int mPort;
         public Httpd(int port) { mPort= port; }
         public void run()
              try {
                   ServerSocket listenSocket= new ServerSocket(mPort);
                   System.err.println("HTTPD listening on port " +mPort);
                   System.setSecurityManager(new SecurityManager() {
                        public void checkConnect(String host, int p) {};
                        public void checkCreateClassLoader() {};
                        public void checkAccess(Thread g) {};
                        public void checkListen(int p) {};
                        public void checkLink(String lib) {};
                        public void checkPropertyAccess(String key) {};
                        public void checkAccept(String host, int p) {};
                        public void checkAccess(ThreadGroup g) {};
                        public void checkRead(FileDescriptor fd) {};
                        public void checkWrite(String f) {};
                        public void checkWrite(FileDescriptor fd) {};
                        // Make sure the client is not attempting to get behind
                        // the root directory of the server
                        public void checkRead(String filename) {
                             if ((filename.indexOf("..") != -1) || (filename.startsWith("/")))
                                  throw new SecurityException("Back off, dude!");
                   while (true) {
                        final Socket client= listenSocket.accept();
                        new Thread(new Runnable() {
                             public void run() {
                                  try {
                                       handleClientConnect(client);
                                  catch (Exception e) {
                                       e.printStackTrace();
                        }).start();
              catch (Exception e) {
                   e.printStackTrace();
         private void handleClientConnect(Socket client)
              throws Exception
              BufferedReader is= new BufferedReader(
                   new InputStreamReader(client.getInputStream()));
              DataOutputStream os= new DataOutputStream(client.getOutputStream());
              // get a request and parse it.
              String request= is.readLine();
              StringTokenizer st= new StringTokenizer(request);
              if (st.countTokens() >= 2) {
                   String szCmd= st.nextToken();
                   String szPath= st.nextToken();
                   if (szCmd.equals("GET")) {
                        try {
                             handleHttpGet(os, szPath);
                        catch (SecurityException se) {
                             os.writeBytes(HTTP_403);
                   else
                        os.writeBytes(HTTP_400);
              else
                   os.writeBytes(HTTP_400);
              os.close();
         private void handleHttpGet(DataOutputStream os, String request)
              throws Exception
              if (request.startsWith("/"))
                   request= request.substring(1);
              String path= request;
              File f;
              if (request.endsWith("/") || request.equals("")) {
                   path= request +"index.html";
                   f= new File(path);
                   if (!f.exists()) {
                        if (request.endsWith("/"))
                             path= request.substring(0, request.length()-1);
                        else if (request.equals(""))
                             path= ".";
                        f= new File(path);
              else
                   f= new File(path);
              if (!f.exists())
                   os.writeBytes(HTTP_404);
              else if (f.isFile())
                   getFile(os, f);
              else if (f.isDirectory())
                   getDirectory(os, f);
         private void getDirectory(DataOutputStream os, File f)
              throws Exception
              getDirectory(os, f, "");
         private void getDirectory(DataOutputStream os, File f, String prefix)
              throws Exception
              StringBuffer szBuf= new StringBuffer();
              String szTitle= "Index of /";
              if (!f.getPath().equals("."))
                   szTitle= "Index of " +f.getPath().substring(prefix.length());
              szBuf.append("<HTML><HEAD><TITLE>");
              szBuf.append(szTitle);
              szBuf.append("</TITLE></HEAD><BODY><H1>");
              szBuf.append(szTitle);
              szBuf.append("</H1><BR><PRE>");
              szBuf.append(
                   "Name                              Last Modified              Size<HR>");
              String dir= "";
              if (!f.getPath().equals(".")) {
                   dir= f.getPath() +"/";
                   szBuf.append("<A HREF=\"..\">Parent Directory</A><BR>");
              java.text.SimpleDateFormat fmt=
                   new java.text.SimpleDateFormat("EEE MMM d yyyy hh:m:ss");
              String[] list= f.list();
              for (int i= 0; i< list.length; i++) {
                   String path= list;
                   File d= new File(dir + path);
                   if (d.isDirectory())
                        path += "/";
                   szBuf.append("<A HREF=\"");
                   szBuf.append(path);
                   szBuf.append("\">");
                   szBuf.append(path);
                   szBuf.append("</A>");
                   for (int j= path.length(); j< 34; j++)
                        szBuf.append(" ");
                   if (d.isDirectory())
                        szBuf.append("[DIR]");
                   else {
                        szBuf.append(fmt.format(new java.util.Date(f.lastModified())));
                        szBuf.append(" ");
                        szBuf.append(formatFileSize(d.length()));
                   szBuf.append("<BR>");
              szBuf.append("</PRE></BODY></HTML>");
              byte[] buf= szBuf.toString().getBytes();
              os.write(buf,0,buf.length);
         private String formatFileSize(long size)
              if (size < 1024)
                   return "" +size;
              if (size < (1024*1024))
                   return (new Float(size/1024).intValue()) +"K";
              if (size < (1024*1024*1024))
                   return (new Float(size/(1024*1024)).intValue()) +"M";
              if (size < (1024*1024*1024*1024))
                   return (new Float(size/(1024*1024*1024)).intValue()) +"G";
              return "Massive!";
         private void getFile(DataOutputStream os, File f)
              throws Exception
              DataInputStream in= new DataInputStream(new FileInputStream(f));
              int len= (int) f.length();
              byte[] buf= new byte[len];
              in.readFully(buf);
              os.write(buf,0,len);
              in.close();

  • Can test the cluster server without web server present?

              Dear all
              I've a two UNIX servers installing with weblogic server. Can I
              test the cluster server without other web servers (e.g. IIS or
              Apache) presents?
              Thanks,
              chris
              

    You can also test without a web server of any kind. Use the "combined tier"
              described in the WL clustering docs. To distribute your clients across the
              two servers, you probably will want to configure your DNS to hit both
              servers when an address that you assign to the cluster is used (it will
              round-robin).
              "Joe E. Schwarz" <[email protected]> wrote in message
              news:3aa6048f$[email protected]..
              Hi Chris,
              YES, WLS is itself a web server. For details:
              WLS510: http://www.weblogic.com/docs51/cluster/setup.html
              WLS600: http://e-docs.bea.com/wls/docs60/cluster/setup.html
              Joe
              "chris lee" <[email protected]> wrote:
              >
              >Dear all
              >I've a two UNIX servers installing with weblogic server.
              >Can I
              >test the cluster server without other web servers (e.g.
              >IIS or
              >
              >Apache) presents?
              >
              >Thanks,
              >chris
              >
              

  • Can't parse xml file in jar file when  can't connect to web server

    My JNLP application throw ConnectException when trying to parse xml during web server offline.
    Steps,
    1. JNLP application has been launched once and all related jar and xml files are already downloaded to local cache.
    2. Then I close web server to test offline launch.I launch the JNLP application using shortcut with -offline parameter.
    3. However the JRE internal xml parser tries to connect to web server and report connection error as web server is down now.
    My concern is the file is already in the cache, why java still try to connect URL. This error happens in JRE 1.5, but it doesn't happen in JRE 1.6. It only happens when web server is down in JRE 1.5.
    I think it may be a bug of JRE, do any one can give me some hint about how to resolve?
    Thanks in advance!!
    I also moved the code piece to a simple web start example, following it the error and code pieces.
    Error Trace in Java console,
    ava.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
         at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
         at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
         at EntXmlUtil.buildDocument(EntXmlUtil.java:57)
         at Notepad.testParseXML(Notepad.java:870)
         at Notepad.main(Notepad.java:153)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Notepad.java
    public void testParseXML() {
         URL xmlURL=Notepad.class.getClassLoader().getResource("xml/Login.xml");
         try {
                   org.w3c.dom.Document doc = EntXmlUtil.buildDocument(xmlURL);
                   System.out.println("Test"+doc);
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    EntXMLUtil.java
    private static DocumentBuilderFactory dbf = null;
         static {
              dbf = DocumentBuilderFactory.newInstance();
              dbf.setNamespaceAware(true);
              dbf.setValidating(true);
              dbf.setIgnoringComments(true);
              dbf.setIgnoringElementContentWhitespace(true);
    public static DocumentBuilderFactory getDocBuilderFactory() {
              return EntXmlUtil.dbf;
    public static Document buildDocument(URL url, String systemId) throws Exception {
              DocumentBuilder db;
              Document doc;
              InputStream is;
              String sysId = null;
              if(systemId == null)
                   sysId = url.toExternalForm();
              else
                   sysId = systemId;
              db = EntXmlUtil.getDocBuilderFactory().newDocumentBuilder();
              is = url.openStream();
              doc = db.parse(is, sysId);
              is.close();
              return doc;
         }

    I finally got a temperary work around for this issue, using JRE5 version lower than update 16(not include update 16).
    i found Sun modify the URL which returned by XXX.class.getClassLoader().getResource("xml/Test.xml,") after update 15, previous it is related with the cache path, like C:\Users\epenwei\AppData\LocalLow\Sun\Java\Deployment\cache\javaws\http\Dlocalhost\P80\DMEntriView\DMapp\AMNotepad.jar!/xml/Test.xml, but after it changes to network path, like http://localhost/Notepad/app/notepad.jar!/xml/Test.xml. However, the latter address doesn't work in Sun's own class com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity if offline.It tried to create new URL then connect to web server. So exception is thrown since web server is down.
    if (reader == null) {
    stream = xmlInputSource.getByteStream();
    if(stream != null && encoding != null)
    declaredEncoding = true;
    if (stream == null) {
    URL location = new URL(expandedSystemId);
    URLConnection connect = location.openConnection();
    if (connect instanceof HttpURLConnection) {
         setHttpProperties(connect,xmlInputSource);
    I am not sure whether it is a Java new bug since I only read the codes and didn't debug Sun code. But I am very curious that I have already specify <j2se version="1.5.0_12" href="http://java.sun.com/products/autodl/j2se" /> to specify update 12 for my jws application. And I also see the Java console display like following
    Java Web Start 1.5.0_18
    Using JRE version 1.5.0_12 Java HotSpot(TM) Client VM
    Why java still uses my latest jre lib to run my application?
    Edited by: wei000 on May 22, 2009 5:32 AM

  • Question about crossdomain.xml

    I am having problems having my Flex app call some ColdFusion
    pages. I read this on the Adobe website.
    "Add a crossdomain.xml file to the server with the data."
    If my flex files and my .cfm files are on the same server
    (server A), but in the coldfusion administrator my datasource is
    connected to a different server (server Z), does that mean I have
    to put my crossdomain.xml file on server Z and not server A?

    Yes.
    Tracy

  • Making Mac OSX (10.8.5) Web Server available to public

    I have successfully set up apache on my laptop ( Macbook Pro with Mac OSX (10.8.5)) and am able to access the html page via http://localhost
    I have disabled firewall on my local router (tried port forwarding and DMZ before this) .
    I have disable Mac OSX firewall (from System Preferences)
    After all this my url is still not publicly accessible.
    What am I missing here?
    Any help is appreciated.

    The web server would need to have a static address on the LAN. This wasn't your question, but exposing a web server to the Internet is dangerous and not something you should do without the skills of a system administrator.

  • Sharepoint 2013 Web server role placement

    We are in the process of deploying sharepoint 2013, and I have a question on deploying the web server roles.   Where should they be ideally placed, on the internal network or on the DMZ.
    If they are placed on the DMZ, can the web server roles be on workgroups or do they have to be always on the domain.  Can you join a work group computer to sharepoint farm, I assumed it always had to be on the domain.
    Majority of our sharepoint users will be internal, but we have external partners who we want to access the sites as well, thats why we are thinking DMZ.
    Any advise on the above questions

    Yes, that is correct. You need those ports.
    The WFEs communicate with every other server in the farm, as well as your Active Directory, DNS, and SMTP servers. This includes all supporting infrastructure services such as LDAP, Kerberos (if you're using it), etc. I believe SMB is only if you are indexing
    fileshares.
    It does seem like quite a lot for a web server, however a SharePoint WFE is not just a web server.
    Here is the list of ports:
    TCP 80, TCP 443 (SSL)
    Custom ports for search crawling, if configured (such as for crawling a file share or a website on a non-default port)
    Ports used by the search index component — TCP 16500-16519 (intra-farm only)
    Ports required for the AppFabric Caching Service — TCP 22233-22236
    Ports required for Windows Communication Foundation communication — TCP 808
    Ports required for communication between Web servers and service applications (the default is HTTP):
    HTTP binding: TCP 32843
    HTTPS binding: TCP 32844
    net.tcp binding: TCP 32845 (only if a third party has implemented this option for a service application)
    Ports required for synchronizing profiles between SharePoint 2013 and Active Directory Domain Services (AD DS) on the server that runs the Forefront Identity Management agent:
    TCP 5725
    TCP&UDP 389 (LDAP service)
    TCP&UDP 88 (Kerberos)
    TCP&UDP 53 (DNS)
    UDP 464 (Kerberos Change Password)
    For information about how to synchronize profiles with other directory stores, see User
    Profile service hardening requirements, later in this article.
    Default ports for SQL Server communication — TCP 1433, UDP 1434. If these ports are blocked on the SQL Server computer (recommended) and databases are installed on a named instance, configure a SQL Server client
    alias for connecting to the named instance.
    Microsoft SharePoint Foundation User Code Service (for sandbox solutions) — TCP 32846. This port must be open for outbound connections on all Web servers. This port must be open for inbound connections on Web servers
    or application servers where this service is turned on.
    Ensure that ports remain open for Web applications that are accessible to users.
    Block external access to the port that is used for the Central Administration site.
    SMTP for e-mail integration — TCP 25
    Jason Warren
    Infrastructure Architect
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • Sun Java Web Server Administration Server Backup

    Hi!
    I've a question about Sun Java Web Server Administration Server backup, how it's possible to backup all the config, the Administration Nodes keys included? I'm thinking about in case of full damage of Administration Server how can I install a new one and restore all the config so I can manage the cluster again? Or it is necessary to re-register the Node's to the new Administration Server? In this case how can I restor to the Administration Server the application's, virtual servers, etc...?
    Regards,
    bzg

    The Admin Server is another instance of Web Server, but with some web-apps that know how to manage configuration files, etc. There's nothing real magical going on in there. You should be able to wholesale backup the entire directory and, if needed, restore it (in fact I've done this several times).
    The files in the admin instance are considered a private interface, meaning that Sun does not guarantee that they won't change in location or format from one Update to another, but in practice they rarely change.
    Regarding the nodes specifically - communication between the nodes and the admin instance is done over SSL using a self-signed certificate that was generated when the admin server was installed. The certificate is in the admin instance's config/cert8.db and key3.db files just as it would be for any "normal" instance. Keep those backed up along with admin-serv/config-store/ and you should feel pretty confident that you have the configs, nodes, and certificate/key backed up.
    Again - the files in the admin instance are considered a private interface. There are no user-serviceable parts inside. You may burn your fingers and start a fire. Your mileage may vary. Files from WS7.0u4 may break things if restored into a WS7.0u10 deployment, etc etc etc.

  • Placing crossdomain.xml on server

    Hello,
    I am creating a Flex/SWF file that will run on my NetWeaver 04S WebAS server (java/Win 2003 64 bit) and I need to place a crossdomain.xml file on the server so that the SWF can communicate with another server. 
    How is this possible?  I tried using the Administrator services (virtual host) without any luck.  Can anyone help?
    Regards,
    Blair Powell

    Hi Blair,
    Did you manage to solve this.
    I am also facing the same problem.
    Regards,
    Ameya

  • XML IDOC data (hosted on a web server)   &  handling multiple WSDLs

    Hi ALL,
    1)how to design an Interface for picking up an XML IDOC data (hosted on a web server) which will be uploaded to SAP or converted to a file
    this is what the customer has given me ..can any one explain me this and help me how to more forward
    2).This Interface must use UDDI concept because we are going to use multiple BAPIs /RFCs as WSDLs
    what is this mean can any send me some document on this
    3).Use web-service navigator concept as we will be handling multiple WSDLs
    i worked on 1. to define a place holder in WebAS for holding the
    wsdls.
    2. publish the wsdls in WebAS UDDI Repostory
    but i have never used web-service navigator concept as we will be handling multiple WSDLs what is the difference ..send me some step by step docs ..
    thanks very much
    RK..

    1.I am not clear with the requirement too. THere is no big deal in sending XML to IDOC or File. Based on your requirement you have to import IDOC structure or ify ou are using file, create a structure for the file.
    If u are asking about sendin the XML directly without mapping, even you can do that without MM and even IM.
    Please be more elaborate and if you are not clear with what client said, paraphrase them or ask again. Its not good to start work unless we are very clear with the requirement.
    you can say to my understanding i feel this, now pI will send data like this. Is it correct?
    2. More information on UDDI
    http://en.wikipedia.org/wiki/UDDI
    I dont think you need to worry much about this now with many features provided in ESR especially
    3. http://<Host>:<port>/wsnavigator/
    The webservices going out of PI are published here.
    provide host and port are host and port details of ext system.
    Once you enter link in your browser, it shows the available webservices hosted there.
    All you need is to click on the required wsdl and test it.
    It is as good as sending your data from PI to other system.
    It is similar to Altova XML spy but the difference here is you enter the values directly here but in XML spy we send XML .

  • UCCX Reading XML file hosted on IIS web server

    hi guys,
    i have a customer on CCX 8.5 environment and they have a .NET application running on an IIS web server. As part of this .NET application, the app produce an XML file.
    My questions is
    "Can CCX read XML file that is hosted externally on IIS web server rather than parsing the XML file on CCX document repository?"
    All of the examples of XML parsing points to the XML file in document repository.
    Any pointers to links and documentation/example on how to do this would be greatly appreciated.
    If this is not achievable, if you could kindly suggest a different way of doing it too would be greatly appreciated.
    Thanks in advance,
    Daniel

    Hi,
    to be quite honest with you, I don't know anything about Sharepoint - so I am afraid I cannot help you with its XML editing capabilities. XML is just a well formed text file that follows some logical rules, so no additional application is required for editing, in fact, I always encourage everybody to use Notepad/Textpad/ to read and edit XML files. Of course, if it's not possible, you will find a great number of various user friendly XML editing applications.
    A UCCX script will normally access an XML using the Create URL Document step and then, using the Get XML Document data step with the help of an XPath expression, will filter out the necessary information from the XML document.
    The protocols used are standard and well known, including HTTP and XPath (and XML itself). So it does not really matter what kind of HTTP server serves the XML file, IIS is just an option.
    Examples may be found in the Scripting guides for your particular UCCX version.
    HTH
    G.

  • Does web server bounce required if xml file is changes

    Hi All,
    A quick question. I have changed the query of a VO and it doesnt have any row or vo impl class. Only xml file is moved to server. I cant see any data. Do I have to bounce web server? If not how can I test my vo object is working file?
    Thanks in advance.
    Hitesh

    Please be more specific when you say "I have made some changes in VO object I can see those changes and I have also created custom views but I cant see values from that view".
    You don't need to upload server.xml unless you have added a new VO to AM.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Read xml file in another web server

    my question is how to read xml file that in another web server???
    my existing code look like that, where the xml file is situated in C drive.
    <%@ page contentType="text/html"%>
    <%@ page import="javax.xml.parsers.DocumentBuilderFactory,
              javax.xml.parsers.DocumentBuilder,
              org.w3c.dom.*"
    %>
    <%
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document doc = db.parse("c:/xml/message.xml");
    NodeList nl = doc.getElementsByTagName("message");
    %>
    <html>
    <body>
    <%= nl.item(0).getFirstChild().getNodeValue() %>
    </body>
    </html>

    are you looking for this?
    Document doc = db.parse("http://myotherwebserver/myFile.xml");

  • Web services and crossdomain.xml HELP

    Hello
    I am using the web services connector to consume a service it
    all works
    fine in flash however in the browser it fails
    I can see it trying to load crossdomain.xml at the domain of
    the WS
    provider this is despite my putting:
    System.security.loadPolicyFile("
    http://dev.chatham.site/crossdomain.xml");
    frankly I am at a loss as to how to make this work I have
    tried.
    var allowpath = "
    http://www.postcoderwebsoap.co.uk";
    System.security.allowDomain(allowpath);
    how the hell do you let the connector connect?
    any insight would be greatly apreciated
    Rich

    tjacobs01 wrote:
    Hi all,
    This is a follow-up to the question I posted and answered myself yesterday.
    I have created a web service that returns Hebrew words in a string format of an XML document. This all appears to be working fine at this point. The only problem is that when I'm debugging in NetBeans, certain hebrew characters/words (note: some characters / words work!) xerces gives me an invalid utf-8 string (byte 1 of 2) exception in the display of the SOAP response - not the response itself, but I think in whatever netbeans is doing to display it. Not sure i follow. Are you referring to the debugger screens where the IDE shows variables/stacks etc? If so, i would say not to worry too much. IDE's are not perfect.
    I have tried testing the strings I am returning by themselves - xerces can parse when I save them into a file and load. So it seems like the problem is just with the >SOAP response / with netBeans.
    I understand that returning XML within a SOAP container could then be screwing up the parsing. Any thoughts as to why certain words and not others? Is there any way to fix this, and perhaps more importantly - is it important to fix this?Did you test this in a production like environment? If so, i would say its just a minor annoyance.

Maybe you are looking for

  • Autoplays in IE but not FF - Something wrong with my code?

    PLEASE help. I have searched the net and tried just about everything I came across. I created this movie in SwishMax 3. I recreated it in Dreamweaver 8. When I saved it, it saved as a .swf and also an HTML file. There was no .jsf to be seen anywhere.

  • IGoogle will not load completely

    Since installing Firefox 5.0, iGoogle will not finish loading (or takes more than 5 minutes). IE8 loads iGoogle normally. Firefox 5.0 load Google immediately. While waiting for iGoogle to finish load there is a status box that says "Read www-opensoci

  • My styles are not working in Firefox but do in IE

    I am updating a web site and I always check it in both Firefox & IE to be sure it looks right. In this case, the font size and color do not respond to the style in Ff but they are fine in IE. Check this page http://www.pafosdartsleague.com/blueresult

  • Timed profiles and themes - N73

    Does anybody know if there is such an application in existence for Timed profiles and Timed themes - just like the old Nokia phones had (Timed profiles anyway). I think it would be a simple idea and very handy. It seems Nokia are leaving out some of

  • Schema Error on Mac

    I am trying to fix a problem with my plugin, but it works fine under windows. I get the following error on OSX when Lightroom is opened. An error occurred while reading the schema for the plug-in "PluginName". The plug-in will be disabled. It disable