CXML vs .NET

How can CXML be relevant and used in developing .NET Web Service using VS2005? Thanks.
ksfokAsked:
Who is Participating?
 
surajgupthaCommented:
You could also check the CXML security/ encrption guidelines.If there is nothing on these guidelines about this I am not sure about how to achieve it.

But logically speaking you can use another soap header that encrpts the CXML message. But for the target business to make any meaning out of the encrypted message it should know how this message was encrypted and how to decrpt it or the sender should comply with the target's encrption standards/ compliance.
0
 
surajgupthaCommented:
CXML is a standard that defines a schema for business transactions. A lot of B2B business use CXML for interoperability between their heterogeneous systems.

If you wanted to build a web service for the same you will have to design the WSDL of your web service requests and responses based on these schema definitions. There is a schema definition for each business entity like Order, Receipt, Add User, Buyer , Supplier Location, UnitPrice etc
0
 
ksfokAuthor Commented:
On the code level, we wil have the below?
<cxml>...</cxml>
How can that be done with VS2005 and SQLServer? How does a schema come out?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
surajgupthaCommented:
Bottomline is,  the webservice you are making generates a XML request or gets a XML response, these xml requests and response should conform to the XSD definition of the CXML entity.

You should be able to achieve <cxml></cxml> enclosures using SOAP headers to your webmethod, soap headers can be used to manipulate the generated XML to have a CXML envelope.

I havent personally done this but i am sure you should be able to achive what you want using SOAP headers.

0
 
ksfokAuthor Commented:
How can said CXML validation be enforced by .NET 2?
0
 
surajgupthaCommented:
yes in my theoritical opinion, one should be able to validate a request/ response against a CXML DTD/ Schema definition using .net 1.1 or .net 2.0 web services + SOAP headers
0
 
ksfokAuthor Commented:
Now this question:
Say soapheader is used to start a WS. It contains userid and password. How can the userid and password be stored securely and passed to the host, not as visible string parameters? Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.