Hi,
i want to configure a wsdl with an operation which can return an object among a list of two.
How can i configure it's schema and it's message?
This is my wsdl :
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:hl7="urn:hl7-org:v3" xmlns:ihe="urn:ihe:iti:pam:2007...
When creating my application's or library's configuration, I generally prefer using a custom configuration section over the <appSettings> section for the following reasons.
Framework serialization to a user-defined configuration object; each config value has an appropriate type
Configuration values may be validated against type and val...
My system has two PHP interpreters. One came bundled with the OS and the other I installed via the XAMPP package. All of my PHP extensions are applied to the XAMPP installation but PHPUnit seems to only run the version of PHP that came with my machine.
Does anybody know of a way I can configure or rebuild PHPUnit so that it uses my XAMP...
Hello all
Based on feedback from http://stackoverflow.com/questions/861500/url-to-load-resources-from-the-classpath-in-java i have changed my project, to include my image resources into Images.jar
My project setup is now
/program.jar
/Images.jar
In my code i load my images using
InputStream connectedImage = ClassLoader.getSystemRes...
When adding a new item (class, control, etc) in C# it will automatically add a namespace to the file depending on the location in the project.
Is this also available for VB.NET?
The code 'Namespace DataClasses.AX' and 'End Namespace' would be generated.
Namespace DataClasses.AX
<Serializable()> _
Public Class AxInventItem
#Re...
I'm building a project with ant and during the build I'd like to bundle a number of property/config files directly into the .jar to make distribution simpler. I've been successful in adding these files to the .jar, but I'm unable to load them in my program.
What is the procedure to open/read a file that's been bundled into a .jar file?
...
I'm building a project with ant and during the build I'd like to bundle a log4j.xml file directly into the .jar to make distribution simpler. I've been successful in adding the file to the .jar, but it doesn't seem to be recognised.
What do I need to do to ensure the file is recognised and used by log4j? I'm new to Java, so a clear desc...
Hi,
I'm looking at a tutorial to display placemarks using a KML file on a flex application. I'm using IGN API (openscales) in flex project.
The example works perfectly (http://openscales.org/userguide/examples/srcview/source/KMLExample.mxml.
<os:KML url="http://www.parisavelo.net/velib.kml"
proxy="http://openscales.org...
<validation validateIntegratedModeConfiguration="true"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>...
What happens to the width and height params declared in LayoutParams on configuration change?
For eg: if I have an ImageView declared with,
new LinearLayout.LayoutParams(30, 40);
On Configuration Change, does the width become 40 and height 30?
Thanks
Chris
...
Due to my next project (much SOA stuff) I need a component based configuration and stored in a database to enable a central administration. app.config/web.config does not support any of those requirements (I know some hacks with app-domains, though). So does anybody of you know a configuration framework? It does not necessary have to be ...
Hello,
My /etc/environment looks like this:
cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
I wish to use a command (sed, awk, python, whatever....) that will make it look like this:
cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"...
We develop a product for internal customers. We don't have a QA team, and don't use assertions. Performance is important, application size isn't.
Is it a good idea to have a single configuration (instead of separating Debug and Release), which will have the debug information (pdbs), and will also do the performance optimization?
Are th...
Short version:
If running a program from VS2008 in Release mode, I want it to use
pathA\externaldll.dll.
If running a program from VS2008 in Debug mode, I want it to use
pathB\externaldll.dll
Long version:
I have a programm that is linked against external dll-files (VTK). I have built the external application myself in both Debug and ...
We have a server which needs to server multiple domains though varnish e.g. example1.com, example2.com and example3.com
Our current .vcl file looks like this:
sub vcl_recv {
set req.http.Host = "example1.com";
lookup;
}
How do I set the correct req.http.Host for the correct incoming request?
...
I need to call a webservice which takes as parameters things like the database name, schema name, login credentials etc.
I'd ideally like to call the webservice directly from jQuery, but I feel that these parameters belong in the web config so perhaps I should be calling the webservice indirectly through an ajaxed MVC controller method....
Hi,
I'm printing an invoice from the browser and the invoice size may vary.
I've set a page size of 6 inches width and 5 inches height..
Even if my invoice is just 2 lines it would take up the whole 5 inches height of paper and roll out..
Can i configure it to just stop rolling paper once the print content is finished, so that i can ...
I am looking for a step-by-step how to on securing passwords put in configuration files, in grails. This means securing passwords in Config.groovy and DataSource.groovy. There are a lot of google results that contains bits and pieces of the answer, but no concise guides on how to do this. Can someone please point me in the right direc...
Odd one this.
I am using NHibernate with one website. I have configured log4net to show me all SQL and and errors in the trace. It all works swimmingly.
I start using NHibernate in the other website - same solution, built on top of same class libraries. I copy the configuration data in web.config from one website to the other:
<sectio...
I'm having problems with changing my configuration file config.php. At the moment, I'm trying to configure the databse details $config['db] through a form residing in the same directory, however, when I include the configuration file the channges do not materialise. Here's what config.php looks like:
<?php
//main path to resources
$res...