473,387 Members | 3,781 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,387 software developers and data experts.

Transforming SOAP documents

I'm trying to write a XSL style sheet that will transform
a SOAP document into a different type of SOAP document.
However, if I try to create an element in my style sheet
of "<xsl:element name="SOAP-ENV:Envelope>", nothing gets
generated. The problem is with the ":Envelope". If I
remove that then it works fine.

I believe the ":Envelope" is referred to as an Element
Extension but I can't figure out exactly what I need to do
to get around this problem. Does anyone have any examples
of how to do this? Thanks.
Nov 12 '05 #1
3 1324
"Mike" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I'm trying to write a XSL style sheet that will transform
a SOAP document into a different type of SOAP document.
However, if I try to create an element in my style sheet
of "<xsl:element name="SOAP-ENV:Envelope>", nothing gets
generated. The problem is with the ":Envelope". If I
remove that then it works fine.

I believe the ":Envelope" is referred to as an Element
Extension but I can't figure out exactly what I need to do
to get around this problem. Does anyone have any examples
of how to do this?


Have you tried

<xsl:element name="SOAP-ENV:Envelope"
namespace="http://schemas.xmlsoap.org/soap/envelope/">

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 12 '05 #2
Dare Obasanjo [MSFT] wrote:
Have you tried

<xsl:element name="SOAP-ENV:Envelope"
namespace="http://schemas.xmlsoap.org/soap/envelope/">


Or even in literal form:
<SOAP-ENV:Envelope></SOAP-ENV:Envelope>
--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog

Nov 12 '05 #3
Thanks, that did the trick.
-----Original Message-----
"Mike" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
I'm trying to write a XSL style sheet that will transform a SOAP document into a different type of SOAP document.
However, if I try to create an element in my style sheet
of "<xsl:element name="SOAP-ENV:Envelope>", nothing gets
generated. The problem is with the ":Envelope". If I
remove that then it works fine.

I believe the ":Envelope" is referred to as an Element
Extension but I can't figure out exactly what I need to do to get around this problem. Does anyone have any examples of how to do this?
Have you tried

<xsl:element name="SOAP-ENV:Envelope"
namespace="http://schemas.xmlsoap.org/soap/envelope/">

--
This posting is provided "AS IS" with no warranties, and

confers no rights.

.

Nov 12 '05 #4

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

Similar topics

2
by: burdeen | last post by:
I've been trying to return an array with PHP5 soap. Is this not supported? or am i doing it wrong? Seems to return on the last element in the array. In my WSDL i've defined my return type as a...
5
by: Raghu | last post by:
I am using SignedXml class to sign and verify soap xml documents. We are not using WSE at this point. When I sign a soap document and send it to my trading partner, they can verify the document...
5
by: TC | last post by:
Hello, I have been asked to port a VB6 / SOAP SDK app to C# .Net using web services and do it quickly. I have a remote SOAP interface that I've referenced and can now call methods on. What I...
8
by: Dave A | last post by:
I have a class called 'PrimaryKey' that represents the primary key of a table. PrimaryKeys can only be created and the class only implements .ToString(). The PrimaryKey class internally stores...
3
by: Rodney Garland | last post by:
Hi All, I am a relative beginner to Python and am looking for help with sending and XML message and getting back a return file. The server is: https://node.deq.state.or.us/node/node.asmx I...
0
by: Gustaf | last post by:
I'd like to see if someone found a natural explanation to this. I have this method for transforming docs: /** * Transforms an XmlDocument object with an XSL file, and returns * another...
1
by: Ron Eggler | last post by:
> Hi, > > I'm supposed to send following request as a html-request(from a html-link) > is it possible? how do i do that? do i use the '<a href'-tag as well? > Thank you! > > > <xs:request...
5
by: Robbert van Geldrop | last post by:
Hello, I have a problem consuming a WebService which appears to be dependent of the type of network I am on: The following SOAP response is not processed when I am connected over the internet...
5
by: Gustaf | last post by:
I've been trying to update my code to the new XslCompiledTransform class without success. The following method takes an XML and XSL file, and returns an XmlDocument object. Can anyone figure out...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.