Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am trying to get XML validation working for a SOAP server but I've run into a couple of issues.

XSD:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://p2p.thalesgroup.com/wsdl/status/xsd"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"
  attributeFormDefault="qualified"
  targetNamespace="http://p2p.thalesgroup.com/wsdl/status/xsd">
 
  <xsd:element name="Alive">
    <xsd:complexType>
      <xsd:annotation>
        <xsd:documentation>
          - Alive is sent periodically to verify the connection status
        </xsd:documentation>
      </xsd:annotation>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>

Open in new window


XML:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soap-enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap:Body><Alive/></soap:Body>
</soap:Envelope>

Open in new window


First Issue:
SOAP elements are not being recognized.
Validator Output: Cannot Find The Declaration Of Element 'soap:Envelope'., Line '1', Column '225'.
I found a Stack Overflow thread describing the same issue but the described solutions do not work for me.

Second Issue:
Even if I remove the SOAP elements, I still have a namespace issue.
Validator Output: Cannot Find The Declaration Of Element 'Event'., Line '1', Column '8'.
0
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Hi,
I did check the current .php file but I cannot find out how highlighted message would be trigger, within the Web page.

20u.png
0
On this page, I'm trying to center the text for the order steps vertically so that it looks better in relation to the images, It just will not cooperate. https://www.stadriemblems.com/order_process/

I'm using this CSS:

.process-text {
		display: table;
		height: 100%;

	}
	.process-text-elements {
		display: table-cell;
    	vertical-align: middle;
		height: 100%;
	}	

Open in new window


And this HTML:

 <div class="row">
       <div class="col-md-4 col-xs-12">
       <div class="process-text">
      <div class="process-text-elements">
      <div class="process-number">1</div><div class="clear-div"></div>
      <h2>Request a Quote</h2>
       <p>The first step is to let us know the basic details of your order.
We need to know the quantity, size, backing, and the date you need your order by to give you an accurate price quote. </p></div></div></div>
       <div class="col-md-8 col-xs-12">
       <img src="{% static 'images/orderprocess-uploadartwork.jpg' %}" class="img-responsive">
       </div>
       </div>

Open in new window



I assume it's not working because it's not obeying the width:100% that I have defined, but I'm not entirely sure why. Perhaps when elements are displayed as a table you can't put % height values on them? I don't know.

Is there a better way to do this?
0
https://www.stadriemblems.com/products/custom-enamel-pins/

At the top of this page, I am working on some code that will allow me to use a different background image for different media queries. That part is working, but I can't figure out whether or not there's a way to make the height of the div match whatever the height of the background image is at any given time. Right now I'm using min-height, which really doesn't work, because the height will be constantly changing as the image resizes.

CSS is in enamelpins.css

Also, why is there space on the left and right on the image? How to I make it touch the sides?
0
We have a page that loads a bunch of 3rd party pixels in an iFrame. A member of the IT team complained that one of these pixels is taking a very long time to load, which it is. He said it is slowing down our website. The pixels all run in an iframe container, so this shouldn't impact the speed of the parent page at all, should it? I've been looking for documentation on the web to prove this but haven't found any yet. Am I correct and if so any URLs to supporting data would be appreciated.

Thanks!
0
In my navbar I have 4 buttons. "Home" "About" "Contact" "Products". How do I take these 4 buttons and have them spread out evenly across the line?navbar
0
Hello ~  Can anyone identify the web site format / editing application associated with:  http://begnbark.com/?

How is it possible to ID this?

Going offline, will check back within 24 hours.

Many Thanks! ~:~ Jacob
0
Have a well-written article.  Lots of good content.  

On top of the page is a detailed set of in-house text ads.  

First thing spiders see when arriving at the page is this word salad of ads.  Ranging from services to products, these words can be far removed from the actual content of the page.  

The page is appropriate for the advertiser.  But, the text in their ads can be far afield from the content of what we'd like the page to be indexed for.

Have heard in the past that there is a way to write HTML so one could have specific elements up at the top of the code of the page, even though those elements may themselves be physically lower on the page itself, when rendered.

So that the code of the page would look something like this

<header>
</header>
<body>
<h1s h2s and well-written content>
<batch of text ads>
</body>

While the page itself would RENDER as

Batch of Text Ads
H1s H2s and Well-Written Content

I'd seen the code for doing this in the past.  Need examples of how it could be done today.

Many thanks,

OT
0
Hi, we just moved from Godaddy to Bluehost(which was a nosebleed), and I thought everything was finally ok. But a user today got the attached error. I asked her what browser she was on, but she won't be back in until tomorrow morning.

I checked it here: https://www.ssllabs.com/ssltest/analyze.html?d=techgardens.com  and it shows that the second certificate, the one on Bluehost, has a mismatching name and is not trusted.

Bluehost said this was a known issue that was fixed long ago. Then they said, "it is a known issue and will take some time to update and show the right details." So,, which is it, Bluehost?

I called in and talked to another tech, showed him that link. He said that my user had a caching issue, she should clear her cache and it will go away. That sounds incorrect to me, if SSL labs is showing a mismatch, then the error my user got is real.

It looks like our SSL is good, bit the Bluehost one has an issue? I am really not that up on SSL, can anyone explain this to me and advise what I can do?   Thanks!!
0
I program in C# but need to write a Java app that can be downloaded and run on many platforms. The application will "scrub" confidential information from a merchant's credit card report (PDF).

It will remove the merchant's name, address, merchant ID (xxxx-xxxx-xxxx-xxxx) account number, etc.

It will do this by scanning the entire PDF and exporting non-confidential data to a CSV file.

I need this to be easy for non-techies to download and run.

What basic considerations should I have about what I should and should not consider before I start planning the design?

What frameworks help? Hurt?

What kind of installation program/script is needed?

I would host this download from my website...

Thanks.
0
Upgrade your Question Security!
LVL 11
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

When I write a program in Perl 6, is it visible to the user, like JavaScript? Or is it compiled into an interim format that is not accessible to the user?

I am considering using Perl for a public facing web page but also for downloadable tool they would run locally.

I hear there is a bin folder, but what exactly goes into this? Is it the .pl file?

Thanks
1
I have version 5 currently...

My-MBP-2:~ newbieweb$ perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

and I run El Capitan

I need to instal Perl 6 but be sure in no way that it impacts the current installation of Perl 5, which is used by my system.

Thanks.
0
Years ago, I learned Sed and Awk to complete a project in telecom. Today, I do not recall any aspect of those languages. But am about to learn Perl and have been told that Perl is based on Sed and Awk.

Is that true?

And how are they similar?

Once I start hearing these details, I suspect I will recall a few things about how and why I used Sed and Awk.

Thanks.
0
I need to find and fix the following CSS errors on my site...

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.fortressharvard.com%2F

but am not sure where to begin.

I do have an Admin log-in and am curious how and where to make these fixes. I will do a push to BitBucket before I do any experimentation...

I was told it would take 6-8 hours to complete, and suspect that removing things flagged as unnecessary may not be as simple as it sounds.
0
I am considering making a site that can auto-analyze a certain type of uploaded report, and instantly display the results as a PDF. There are various steps involved in the creation of the PDF and I want a feeling for the effort and technology needed for each step.

There are three different steps I will discuss here to see where I can use WordPress plugins and where I need to customize the functionality.

The uploaded report would be a merchant's monthly credit card statement, like the following snippet..

Statement Example
1) So, for the first of three steps, I need a WordPress OCR plug-in. Are there many options for that? Is the angle of the text a problem? I can not guarantee neatness. (I added the underlining to make it easier for me to read)

I imagine allowing an authorized user to upload a report. And i need this plug-in to convert images to some form of digital data, like a PDF or a CSV file.

2) I need a way to analyze that data, and wonder if there is a configurable WordPress plugin for this? It will query the items by the Description, then use the numeric values in the Number, Amount and Total columns for mathematical computations. There will be some mathematical steps performed on some of the data as it generates the output for the report.

The results should go into some format, like a CSV file

3) I need a report tool which can import the data results from Step #2 and apply them to various pre-designed fields in the final pre-designed …
0
Hi,

I want to add page loading spinner in my Angular 2 application.. I have some side bar subscriptions which added in main component and calling the side bar subscriptions  like print, when it takes tile to print or search i want to show the loading spinner,,

Thanks!
0
Hello - I am trying to figure out how to pass data to a child component in Angular 2.

Here is what I have done so far...

The Parent Component is the default app component that comes with the Angular 2 shell when you create a new project.  The child component is main-test.

Based on material I find on-line...the first thing I did was import Input from Angular/core. Then I tried to invoke the Input in the export class as shown below. This is the child component main-test.component.ts

import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-main-test',
  templateUrl: './main-test.component.html',
  styleUrls: ['./main-test.component.css']
})
export class MainTestComponent implements OnInit {
 @Input()
 dataPass: number;

  constructor() { }

  ngOnInit() {
  }

}

Open in new window



Then...in an attempt to test things...I tried to pass just one field from the users array from the parent component to the child component. To do this...in my parent component HTML file...I added "<app-main-test [dataPass]="user.id"> </app-main-test>"

app.component.html:

<div style="text-align:center">
  <h1>
    Welcome to {{title}}!
  </h1>
</div>
<div>

<app-main-test [dataPass]="user.id"> </app-main-test>

</div>

Open in new window





Here is the parent .ts file:

import { Component } from '@angular/core';


@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class 

Open in new window

0
Q1:
Care to share the reviews of veracode (esp compared to Fortify)?


Q2:
What are the key features to look for in a source code analyzer besides the languages that it support
& it ought to scan for OWASP top 10?
0
Hey guys,
I have a long term project I am going to work on. I don't know when I will get there but I need to build an Excel like interface as a web application.

So I'm guessing this will need a lot of JavaScript. So I know basic JavaScript, some jQuery. I have never focused on and learned JavaScript. My plan is to start there.

Udemy is trying to get me to take a React course, I'm tempted to take it just to have something hip on my resume.

What other JavaScript frameworks should I learn?

This is long term, was hoping some people could guide me with this confusing new world of hip JavaScript frameworks. Don't know how to sift through the madness
0
Concerto's Cloud Advisory Services
LVL 5
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Hi All:

How does areas in pages expand. The rest of the areas/div/class adjust accordingly.

Let me know any property or attribute that allows this.

Best Regards

Sunnybrad
0
I am developing an app with Electron and need to display a message box to the user. This is the code I have:

const   electron = require('electron')
const   dialog = electron.dialog

        dialog.showMessageBox(BrowserWindow, {
            type: "info",
            buttons: ["OK", "Cancel"],
            title: "Importer Finished",
            message: "All done",
            detail: "Open you imported project in the IDE"
        }, resp => {

        })

Open in new window


The message box displayed does not follow the options, see the attached snippet.

I hope someone can point me in the right direction to fix this, thanks,
Sid
a-1.PNG
0
I have an HTML signature file with a dot separator that I see gets a bit mangled.

It looks thusly:

 OH 43026 • USA

What character can I embed in the HTML template that will be a small round centered dot, that can make it through, the way a dash can?

Thanks
0
I have just "published" my book on IngramSpark. I am the publisher, but use IngramSpark as a print-on-demand service and to distribute the book.

They also offer ebook publishing, but I think I need to make that ebook.

Please give me an idea what options I have? What the effort is for each option? What feature my ebook would gain with various methods?

Thanks
0
Java JSON Encode using Map

Let's see a simple example to encode JSON object using map in java.

import java.util.HashMap;  
import java.util.Map;  
import org.json.simple.JSONValue;  
public class JsonExample2{    
public static void main(String args[]){    
  Map obj=new HashMap();    
  obj.put("name","sonoo");    
  obj.put("age",new Integer(27));    
  obj.put("salary",new Double(600000));   
  String jsonText = JSONValue.toJSONString(obj);  
  System.out.print(jsonText);  
}}    
Output:

{"name":"sonoo","salary":600000.0,"age":27}
Java JSON Array Encode

Let's see a simple example to encode JSON array in java.

import org.json.simple.JSONArray;  
public class JsonExample1{    
public static void main(String args[]){    
  JSONArray arr = new JSONArray();  
  arr.add("sonoo");    
  arr.add(new Integer(27));    
  arr.add(new Double(600000));   
  System.out.print(arr);  
}}    
Output:

["sonoo",27,600000.0]
Java JSON Array Encode using List

Let's see a simple example to encode JSON array using List in java.

import java.util.ArrayList;  
import java.util.List;  
import org.json.simple.JSONValue;  
public class JsonExample1{    
public static void main(String args[]){    
  List arr = new ArrayList();  
  arr.add("sonoo");    
  arr.add(new Integer(27));    
  arr.add(new Double(600000));   
  String jsonText = JSONValue.toJSONString(arr);  
  System.out.print(jsonText);  
}}    
Output:

["sonoo",27,600000.0]

Open in new window


what is meaning of encode?

what is difference of above 3 programs and outputs?

output1 from Java JSON Encode using Map is
{"name":"sonoo","salary":600000.0,"age":27}(why brackets are { } unlike [] etc??)

output2 from Java JSON Array Encode is
["sonoo",27,600000.0](why square brackets here??)

output3 from Java JSON Array Encode using List is
sonoo 600000.0 27 (why no brackets here??)
0
<!DOCTYPE html>
<html>
<body>

<h2>JSONStringFromJavaScriptObjectUsingStringfy_7</h2>

<p id="demo"></p>

<script>

var obj = { "name":"Gary", "age":30, "city":"New York"};
var myJSON = JSON.stringify(obj);
document.getElementById("demo").innerHTML = myJSON;

</script>

</body>
</html>

Open in new window


i am looking at above example

what is java script object there ?

is below is java script object?
var obj = { "name":"Gary", "age":30, "city":"New York"};
or above is json object? or we can call it as both?
please advise
0

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.