473,322 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

XML / SOAP - NameSpace

Hi everybody,

I'm stuck in some SOAP webservices running on an IBM mainframe,
connecting to them from a .NET application (WinForm).

The SOAP server does understand differently the two following SOAP
messages extracts (calling the getQuote method) :

<ns:getQuote xmlns:ns="urn:iessoapd:pgm">
....
</ns:getQuote>

*and*

<getQuote xmlns="urn:iessoapd:pgm">
....
</getQuote>

My question is : are these two notations equivalent ?
As a matter of fact, the first code works, the second one calls an
amazing error on the server (HTTP 204 : no Content).

Thanx for your help.

Chris
Nov 12 '05 #1
2 1833
Yes, the two notations are identical - from an XML InfoSet point of
view.

What do the bodies of the getQuotes element look like?

Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

-----Original Message-----
From: Chris [mailto:c.*****@red.fr]
Posted At: Tuesday, January 18, 2005 4:59 AM
Posted To: microsoft.public.dotnet.xml
Conversation: XML / SOAP - NameSpace
Subject: XML / SOAP - NameSpace

Hi everybody,

I'm stuck in some SOAP webservices running on an IBM mainframe,
connecting to them from a .NET application (WinForm).

The SOAP server does understand differently the two following SOAP
messages extracts (calling the getQuote method) :

<ns:getQuote xmlns:ns="urn:iessoapd:pgm">
...
</ns:getQuote>

*and*

<getQuote xmlns="urn:iessoapd:pgm">
...
</getQuote>

My question is : are these two notations equivalent ?
As a matter of fact, the first code works, the second one calls an
amazing error on the server (HTTP 204 : no Content).

Thanx for your help.

Chris


Nov 12 '05 #2
Thanx for your response Christoph.

The bodies are quite simple and do not require any namespace.

(Working)
<ns:getQuote xmlns:ns="urn:iessoapd:pgm">
<Symbol xsi:type="xsd:string">Value</Symbol>
</ns:getQuote>

and

(Not Working)
<getQuote xmlns="urn:iessoapd:pgm">
<Symbol xsi:type="xsd:string">Value</Symbol>
</getQuote>

I tried in the second message (not working) to undeclare the parent
namespace (<Symbol xsi:type="xsd:string" xmlns="">Value</Symbol>) but it did
not change anything.

Thanx again !
"Christoph Schittko [MVP]" wrote:
Yes, the two notations are identical - from an XML InfoSet point of
view.

What do the bodies of the getQuotes element look like?

Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

-----Original Message-----
From: Chris [mailto:c.*****@red.fr]
Posted At: Tuesday, January 18, 2005 4:59 AM
Posted To: microsoft.public.dotnet.xml
Conversation: XML / SOAP - NameSpace
Subject: XML / SOAP - NameSpace

Hi everybody,

I'm stuck in some SOAP webservices running on an IBM mainframe,
connecting to them from a .NET application (WinForm).

The SOAP server does understand differently the two following SOAP
messages extracts (calling the getQuote method) :

<ns:getQuote xmlns:ns="urn:iessoapd:pgm">
...
</ns:getQuote>

*and*

<getQuote xmlns="urn:iessoapd:pgm">
...
</getQuote>

My question is : are these two notations equivalent ?
As a matter of fact, the first code works, the second one calls an
amazing error on the server (HTTP 204 : no Content).

Thanx for your help.

Chris


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Leonid | last post by:
Hello, Please help me to resolve next problem: I have Web service installed on the network and I can communicate with it via WSDL file from several applications including VC++6 application...
4
by: Jonathan [sbrodolo] | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of them but this one it really is giving me terrible...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
1
by: news.comcast.net | last post by:
after reading soap specification at w3c i have a few questions 1) you can't use soap-envelope namespace with application specific <element>? since soap schema have not define namespace (env)...
1
by: E11 | last post by:
Hi all, I am composing a SOAP request message from a WSDL definition, and it seems that my concept of namespaces is wrong. The "types" section of the WSDL definition is as follows: ...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
0
by: Default User | last post by:
I work on creating test cases for a SOAP-based set of servers, using soapUI. I received and updated set of WSDL and schema files, and when I made new tests and mock server operations, all of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.