|
Hi guys!
I need to consume a WebService using the SOAP 1.1 standard via Telnet in Windows, but I´m getting a "Bad Request (Invalid Verb)" response.
The request is this:
POST /WS_PRU_PRODUCTO_76/ws_initialize.asmx HTTP/1.1
Host: opnt08
Content-Type: text/xml; charset=utf-8
Content-Length: 510
SOAPAction: "OpenSystems.WebServices.UI/INITIALIZE_WS"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthenticationHeader xmlns="OpenSystems.WebServices.UI">
<User>*******</User>
<Password>*******</Password>
<Instance>********</Instance>
</AuthenticationHeader>
</soap:Header>
<soap:Body>
<INITIALIZE_WS xmlns="OpenSystems.WebServices.UI" />
</soap:Body>
</soap:Envelope>
So, I telnet the host, paste the request, but even before finishing pasting, the response arrives.
Here's the output produced by the Telnet session:
POST /WS_PRU_PRODUCTO_76/ws_initialize.asmx HTTP/1.1
Host: opnt08
Content-Type: text/xml; charset=utf-8
Content-Length: 510
SOAPAction: "OpenSystems.WebServices.UI/INITIALIZE_WS"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/en
velope/">
<soap:Header>
<AuthenticationHeader xmlns="OpenSystems.WebServices.UI">
<User>*******</User>
<Password>*******</Password>
<Instance>********</Instance>
</AuthenticationHeader>
</soap:Header>
<soap:Body>
<INITIALIZE_WS xmlns="OpenSystems.WebServices.UI/INITIALI
quest
Date: Thu, 24 Mar 2011 01:05:48 GMT
Server: Microsoft-IIS/6.0Z
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0
_WS"
Content-Type: text/html
Date: Thu, 24 Mar 2011 01:05:48 GMT
Connection: close/
Content-Length: 35
<h1>Bad Request (Invalid Verb)</h1>>
C:\Documents and Settings\cpantoja>
C:\Documents and Settings\cpantoja> </soap:Body>
The syntax of the command is incorrect.
C:\Documents and Settings\cpantoja></soap:Envelope>
this guy here[^] says it might have something to do with the namespaces, but I can't quite understand what he's trying to say.
Any help would be appreciated!
|
|
|
|
|
On one of the webapplications I'm working on we have an option to open a popup for printing pages. This popup first gives you several options followed by a page with a frameset on it. Which is something similar to this:
<html>
<head>
<title>printing</title>
</head>
<frameset rows="100%,0">
<frame src="message.html">
<frame src="content-to-print.html" onload="self.foces(); window.print();">>
</frameset>
</html>
Where the message.html contains the a text and is refreshed to a button to close the popup. The other frame contains the actual content that will be printed using javascript in the onload frame. The page being printed has some rather large (specifically wide) tables on it, which causes the content not to fit on the A4 its printed on. It looks as if IE does not rescale the content of the frame to fit the A4 printer output when using a frameset or something.
The weird part I can't figure out is that if I remove the frameset in a test it works and the content of the content-to-print.html page fits on the A4 paper. I changed it to something like this:
<html>
<head>
<title>printing</title>
</head>
<body>
<div>Printing content</div>
<iframe src="content-to-print.html" style="width: 0px; height: 0px" onload="self.foces(); window.print();">
</body>
</html>
I've tried playing with the DOCTYPE from loose to strict as well as removing it all together. The loose and strict did have some positive effect but didn't remove the problem completely.
Now I know that using framesets is old school, but in this case its not that easy to remove them all. That would take to much time and affect to many parts of the web application. So how can I tell IE to print the exact same way when using a frameset as it does with the iframe solution. Is this at all possible.
|
|
|
|
|
Its been a while since I did anything with framesets, but are you using the doctypes FOR framesets?? cause I remember that display issues can occur without them.
Also do you have any style rules that can be at fault?
Chris J
www.redash.org
|
|
|
|
|
I've tried setting all the pages that are loaded in the frameset as well as the page containing the frameset to the doctype //W3C//DTD HTML 4.01 Frameset//EN . Something I've also tried is setting all pages to that doctype except for the one being printed and setting that to doctype loose. Non of this helped in the scaling issue unfortunately.
With regards to the CSS styles, I've checked all styles but can't find any that are applied to the frameset itself or any of the other pages that the frameset loads that would stretch the frameset other then the page being printed.
|
|
|
|
|
not too sure but have you tried adding a css style tage with media print and foc the table to a certain size? Also a css reset may help remove browser specific layout issues, but you will need to add css after that to make a consistant appearance.
When I must debug weird display issues I sometime use background colors on certain elements to get an idea on how the page is being affect.
I make an inline style rule like
style='background-color:red;'
and move it from one block level element at a time. Sometimes you will need to different colors on seperate elements to find the cause. In one case I had a margin rule that was tossing the width of a parent element out of wack....and I think the style for the child was dynamic too...
Anyways, hope that helps!
Chris J
www.redash.org
|
|
|
|
|
hi
something very Strange in Webservice and windows-ce connection....
i have Webservice in my computer that stay on `C:\inetpub\wwwroot\WS_TEST` called `WS_TEST`
my IP is `11.22.33.44`
the connection is: `http://11.22.33.44/WS_TEST/service1.asmx`
in my Windows-CE i have this connection: (see that the IP not equal)
http://99.88.77.66/WS_TEST/service1.asmx
and the windows-ce **connect successfully** to the Webservice - how ?
how to do that only same IP will connect successfully ?
thanks in advance
|
|
|
|
|
It is one of those things that never occurred to me to ask about before.
I would like to present a web page that has a DIV to the left that is a fixed width (100px say), and the Whole of the rest of the real estate as the other part of the screen, regardless of the width of the users screen.
I can do it by %'s but I want that fixed width left pane.
Please help
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Block elements like divs will try to take up the whole width (unless you float them). Here's something that might do what you're after:
<html>
<head>
<title>Two divs</title>
<style type="text/css">
#left { width: 100px; height: 100px; float: left; background-color: #ccf }
#right { margin-left: 101px; background-color: #fcc }
</style>
</head>
<body>
<div id="left">
*Something here*
</div>
<div id="right">
*Something else*
</div>
</body>
</html>
The "margin-left" on the second div is leaving space for the first floated div to fit in.
|
|
|
|
|
Hi Friends,
I have been working with few customers and have come cross some session loss while using cookies, and one solution we usually have seen which works is adding our domain name to the trusted sites of our clients, which leads to a successful session completion.
Anyone of you have any idea or experience with it?
I know adding the trusted sites allows the domain or the website to have a faithful communication with the client.
but, why is it must to use it in some specific cases?
|
|
|
|
|
Hi Friends,
I have following issue in asp page…can you pls give any idea for this..
In my asp page I am displaying records from db table to asp page in table format that’s all.. but that table will have more than 1,00,000 records..
So at the time while displaying, its displaying some records around 15,000 then showing the following error.
Response object error 'ASP 0100 : 8007000e'
Out of memory
/aiucreditdev/credit/ImportTCMonthReportStatus.asp, line 0
Unable to allocate required memory.
Please help.
Thanks in advance,
Priya.
|
|
|
|
|
Possible Solutions[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Why on earth would you want to display this many rows? There is no possible way for any user to reasonably make sense of that much data. What you should do is to return a sensible subset of the data and allow users to either filter or set up paging with some sort of load-on-demand. At most I would display 200 records (cos the user insisted) and page the rest. Even then put some form of filtering in place so that suers can select what they NEED to see.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Is it possible to access local machine form webpage without IE/ActiveX? For example, can I execute an exe file on a local machine? Or, If viewer's machine hosts a webservice, can i invoke it through webpage?
|
|
|
|
|
Don't cross post. Pick a forum and ask your question.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Not directly, no. Unless you use a hideously insecure web browser that is wide open to exploits.
|
|
|
|
|
I thought IE6 was gone...
|
|
|
|
|
pstsp911 wrote: Is it possible to access local machine form webpage without IE/ActiveX?
If it were, lots of harddisks would have been formatted from there.
I are Troll
|
|
|
|
|
Hi,
.container_12 .grid_4,
1) I notice there is no comma after _12 to ask what is the meaning of this since the comma is after -4,?
Normally, I would see .grid_4, .grid_6, .grid_12 to know they are individually assigned {float: left; margin: 4px;}. I try searching to get an understanding of two dot variable with no comma in 1) above to ask? Could not copy the code from viewer to thus type a not too exact facismile to wonder and to ask for some fine points help to be aware of. I have read some css book, etc but I cannot recall coming across something like 1) above.
Thanks in advance for taking the time to educate me and deeply appreciated.
css sheet1
#header { margin: 0.8em;}
css sheet2
.grid_4, .grid_6, .grid_12 {float: left; margin: 4px;}
.container_12 .grid_4, .container_16 .grid_6 {width: 700px;}
Html coding with usage of the style sheet
<div id="header" class="grid_12">
<!-- TITLE & BLOCKS -->
<div id=...
Edit: Hi Richard A, Tx for your reply with the 960 link. I downloaded some 960 info pror but your link looks more informative. Will read for I am trying to learn fast and it is nice to know about 960 develeopment methods for it is use in a product I am using, Very please developers use the 960 concept. Yui is another concept to learn about. And as type progress, will learn what is the difference. Richard, I am very happy to be a member of this site and to learn from your shared knowledge.
modified on Thursday, February 24, 2011 8:22 PM
|
|
|
|
|
the comma is separating different css classes, the space is used to determine a subset of the same css class...
.grid_4, .grid_6, .grid_12 (this is three different classes)
.container_12 .grid_4, .container_16 .grid_6 (this is two different classes)
.container_12 .grid_4 (this means that the css class will be applied to any elements that have a class = "grid_4" but only if they are a sub-element of an element with a class = "container_12")
example...
css sheet2
.grid_4 {float:left}
.container_12 .grid_4 {float:right}
<div class="grid_4" />
<div class="container_12">
<div class="grid_4" />
</div>
Don't vote my posts down just because you don't understand them - if you lack the superior intelligence that I possess then simply walk away
|
|
|
|
|
I am looking for a free service that has a music streaming API.
EchoNest is perfect and gives a simple XML result of URL's to audio files for a specific search. Except that lots of the links are dead. I think something like PlayMe.com is the answer but I am in South Africa and they limit IP's. I have also looked at 7Digital but it seems that you need to pay to stream.
So is there a free service that will return me URL's for songs?
There is no money involved in the application I am making and is non-commercial.
Thanks.
|
|
|
|
|
Using Excel I can pick up a table and copy it to a spreadsheet.
(Using Data from Web, post as an autorefresh)
ActiveWorkbook.XmlImport URL:="http://uk.msn.com/?ocid=iehp", ImportMap:= _
Nothing, Overwrite:=True, Destination:=Range("$A$1")
With ActiveWorkbook.Connections("Connection")
.Name = "Connection"
.Description = ""
End With
However, there are sites, such as CP for example, that do not have tables, but there are areas that I wish to copy to a spreadsheet.
How do I select the actual part of the web page to copy?
For example the 'Latest News' box on the Home Page of CP?
I could import the whole page, that is easy, and then pick up the data I need and place it in another sheet automatically, but it seems longwinded and would take longer,=.
Any ideas?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Greetings,
I have three spans wrapped in a div. Each of the spans can contain a link. I always want the middle span to be centered in the outer div. The problem comes because the left and right most links are not always there, though the span will be.
Basically it's to move forward and back in a date range if data is available. If the data is not available, the previous and next links should not be shown.
The setup is similar to this:
<pre><div>
<span>Prev link</span><span>detail link</span><span>next link</span>
</div></pre>
I've played around with float left and right and center alignments, but the center span either gets moved to the next line, or the link shows right after the first span.
If anyone has any ideas it would be much appreciated.
Thanks.
|
|
|
|
|
Hi
Just try the following:
<pre>
<div style="text-align:center" >
<span style="float:left" >Prev link</span>
<span>detail link</span>
<span style="float:right" >next link</span>
</div>
</pre>
Thanks,
Imdadhusen
sunaSaRa Imdadhusen
+91 99095 44184
|
|
|
|
|
you could try setting the visible of the Prev and Next links rather than not putting them there. This was they will always be there and take up the same amount of space (even if they cannot be seen)
<pre><div>
<span style="visibility:hidden;">Prev link</span><span>detail link</span><span>next link</span>
</div></pre>
Don't vote my posts down just because you don't understand them - if you lack the superior intelligence that I possess then simply walk away
|
|
|
|
|
I want to use Indian rupee sign in my web application replacing current Rs. Sign..I have googled for this and find many results but all this result external url are used for referencing css or front. I want a solution without using any external link.
Thanks in advance
|
|
|
|