• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 786
  • Last Modified:

CXML vs .NET

How can CXML be relevant and used in developing .NET Web Service using VS2005? Thanks.
0
ksfok
Asked:
ksfok
  • 4
  • 3
1 Solution
 
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
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

Featured Post

Technology Partners: 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!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now